%@ page import="java.io.*" %> <%@ page import="java.util.*" %> <%@ page import="java.text.SimpleDateFormat" %> <%@ page import="com.hof.util.*" %> <%@ page import="com.hof.mi.gis.util.*" %> <%@ page import="com.hof.mi.olap.*" %> <%@ page import="com.hof.mi.util.*" %>
<% if (request.getParameter("action")!=null) { String action = request.getParameter("action"); if ("DATACACHE".equals(action)) { ReportDataCache.instance().clear(); out.write("Data Cache Cleared"); } if ("REPORTCACHE".equals(action)) { ReportDefinitionCache.getInstance().clear(); out.write("Report Cache Cleared"); } if ("DASHBOARDCACHE".equals(action)) { DashboardDefinitionCache.getInstance().clear(); out.write("Dashboard Cache Cleared"); } if ("VIEWCACHE".equals(action)) { ViewCache.getInstance().clear(); out.write("View Cache Cleared"); } if ("CACHEDCACHE".equals(action)) { CachedFilterCache.getInstance().emptyCache(); out.write("CachedFilter Cache Cleared"); } if ("GEOCACHE".equals(action)) { GeometryCache.getInstance().clearCache(); out.write("Geometry Cache Cleared"); } if ("TRANSLATECACHE".equals(action)) { TranslationCache.clear(); out.write("Translation Cache Cleared"); } if ("LDAPCACHE".equals(action)) { LDAPUtil.getDNCache().clear(); out.write("LDAP Cache Cleared"); } } %>Cache Max Size: | <%=rdc.getCacheSize()%> |
<%=UtilString.xmlEscape(kvp.getKey(), false)%> | <%=UtilString.xmlEscape(kvp.getValue().toString(), false)%> |
Cache Current Size: | <%=rddc.getCurrentSize()%> |
Cache Max Size: | <%=rddc.getSize()%> |
Cache Max Age: | <%=rddc.getMaxAge()%> |
<%=UtilString.xmlEscape(kvp.getKey(), false)%> | <%=UtilString.xmlEscape(kvp.getValue().toString(), false)%> |
Cache Current Size: | <%=dddc.getCurrentSize()%> |
Cache Max Size: | <%=dddc.getSize()%> |
Cache Max Age: | <%=dddc.getMaxAge()%> |
<%=UtilString.xmlEscape(kvp.getKey(), false)%> | <%=UtilString.xmlEscape(kvp.getValue().toString(), false)%> |
Cache Current Size: | <%=dc.getCurrentSize()%> |
Cache Max Size: | <%=dc.getSize()%> |
Cache Max Age: | <%=dc.getMaxAge()%> |
<%=UtilString.xmlEscape(kvp.getKey(), false)%> | <%=UtilString.xmlEscape(kvp.getValue().toString(), false)%> |
Cache Current Size: | <%=pc.getCurrentSize()%> |
Cache Max Size: | <%=pc.getSize()%> |
Cache Max Age: | <%=pc.getMaxAge()%> |
<%=UtilString.xmlEscape(kvp.getKey(), false)%> | <%=UtilString.xmlEscape(kvp.getValue().toString(), false)%> |
Cache Settings | |
Cache Method | <%=cfc.getCacheMethod().toString()%> |
Join Method | <%=cfc.getJoinMethod().toString()%> |
Cached Filter Cache | |
Cached Filters maximum size: | <%=cfc.getCachedFilterMapMaxSize()%> |
Cached Filters caching period: | <%=cfc.getCachedFilterMapTimeout()%> |
<%=UtilString.xmlEscape(kvp.getKey(), false)%> | <%=UtilString.xmlEscape(kvp.getValue().toString(), false)%> |
View Level Filter Items: | <%=cfc.getViewLevelCachedFilterMapSize()%> |
Cached Filter Query Cache | |
Cached Query Filters maximum size: | <%=cfc.getCachedFilterQueryMapMaxSize()%> |
Cached Query Filters caching period: | <%=cfc.getCachedFilterQueryMapTimeout()%> |
<%=UtilString.xmlEscape(kvp.getKey(), false)%> | <%=UtilString.xmlEscape(kvp.getValue().toString(), false)%> |
Filter Meta Data Cache | |
Filter Meta Data Cache maximum size: | <%=cfc.getMetaFilterMapMaxSize()%> |
Filter Meta Data caching period: | <%=cfc.getMetaFilterMapTimeout()%> |
<%=UtilString.xmlEscape(kvp.getKey(), false)%> | <%=UtilString.xmlEscape(kvp.getValue().toString(), false)%> |
ReportView records currently cached: | <%=vc.getReportViewMapSize()%> |
Max cache size: | <%=gc.getMaxCacheSize()%> |
Geometry elements currently cached: | <%=gc.getCurrentCacheSize()%> |
Max cache size: | <%=rtc.getMaxCacheSize()%> |
Thumbnails currently cached: | <%=rtc.getCurrentCacheSize()%> |
Images cached: | <%=ic.getNumberOfImagesCached()%> |
Bytes cached: | <%=ic.getTotalBytesCached()%> / <%=ic.getMaxBytesCached()%> |
Max Cache Size: | <%=TranslationCache.getCacheSize()%> |
Max age: | <%=timeString(TranslationCache.getMaxAge())%> |
<%=UtilString.xmlEscape(kvp.getKey(), false)%>: | <%=UtilString.xmlEscape(kvp.getValue(), false)%> |
Max Cache Size: | <%=lc.getCacheSize()%> |
Max age: | <%=timeString(lc.getMaxAge())%> |
<%=UtilString.xmlEscape(kvp.getKey(), false)%>: | <%=UtilString.xmlEscape(kvp.getValue().toString(), false)%> |
Cache Strategy: | <% if ("MDX".equals(strategy)) { %> MDX <% } else { %> Metadata <% } %> |
Cache Max Size: | <%=omc.getCacheSize()%> |
Cache Max Age: | <%=timeString(omc.getMaxAge())%> |
<%=UtilString.xmlEscape(kvp.getKey(), false)%> | <%=UtilString.xmlEscape(kvp.getValue(), false)%> |
Max Cache Size: | <%=maxCount%> |
Events cached: | <%=numEvents%> <% if (maxCount > 0) { %> (<%=(numEvents * 100 / maxCount)%>%) <% } %> |
Cache hits: | <%=hits%> <% if (hits > 0 || misses > 0) { %> (<%=(hits * 100 / (hits + misses))%>%) <% } %> |
Cache misses: | <%=misses%> <% if (hits > 0 || misses > 0) { %> (<%=(misses * 100 / (hits + misses))%>%) <% } %> |
Date ranges cached (GMT): |
<% SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
sdf.setTimeZone(TimeZone.getTimeZone("GMT"));
for (EventCache.DateRange range: list) { %>
<%=sdf.format(i4DateTime.getAsCalendar(range.getStart(), "GMT").getTime())%> -
<% if (range.getEnd() == null) { %>
now
<% } else { %>
<%=sdf.format(i4DateTime.getAsCalendar(range.getEnd(), "GMT").getTime())%>
<% } %>
<% } %> |
Bytes used: | <%=EventCache.getInstance().getRoughSizeOfCache()%> |
Cache Current Size: | <%=tc.getCurrentSize()%> |
Cache Max Size: | <%=tc.getSize()%> |
Cache Max Age: | <%=tc.getMaxAge()%> |
<%=UtilString.xmlEscape(kvp.getKey(), false)%> | <%=UtilString.xmlEscape(kvp.getValue().toString(), false)%> |