Package com.ibm.wsspi.cache.web
Class ESIStats
- java.lang.Object
- 
- com.ibm.wsspi.cache.web.ESIStats
 
- 
 public class ESIStats extends java.lang.ObjectThis is the mechanism to provide Edge cache statistics to the CacheMonitor.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classESIStats.ESIServerStatsAn ESIServerStats is a logical grouping of ESIProcessorStats objects, grouped by hostname.
 - 
Constructor SummaryConstructors Constructor Description ESIStats()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()Release the references to the ESIServerStats objects.voidclearCaches()Clear the caches in all of the ESI processors.voidgather()Gather a snap shot of the statistics from all of the ESI processors.booleangetGatherEntries()Return the current setting for gathering entries as part of the statistics.ESIStats.ESIServerStats[]getServerStats()Return all ESIServerStats objects gathered.voidresetCounters()Resets the counters in all of the ESI processors.voidsetGatherEntries(boolean gatherEntries)Set the current setting for gathering entries as part of the statistics.
 
- 
- 
- 
Method Detail- 
getGatherEntriespublic boolean getGatherEntries() Return the current setting for gathering entries as part of the statistics.- Returns:
- gather entry setting
 
 - 
setGatherEntriespublic void setGatherEntries(boolean gatherEntries) Set the current setting for gathering entries as part of the statistics.- Parameters:
- gatherEntries- gather entry setting
 
 - 
gatherpublic void gather() throws java.io.IOExceptionGather a snap shot of the statistics from all of the ESI processors. NOTE: This sends a message to all of the ESI processors currently running and gathers the statistics.- Throws:
- java.io.IOException
 
 - 
getServerStatspublic ESIStats.ESIServerStats[] getServerStats() Return all ESIServerStats objects gathered.- Returns:
- The ESIServerStats objects resulting from calling gather().
 
 - 
clearpublic void clear() Release the references to the ESIServerStats objects. NOTE: No message is sent to the remote ESI processors.
 - 
resetCounterspublic void resetCounters() throws java.io.IOExceptionResets the counters in all of the ESI processors. NOTE: This sends a "reset counters" message to all of the ESI processors currently running.- Throws:
- java.io.IOException
 
 - 
clearCachespublic void clearCaches() throws java.io.IOExceptionClear the caches in all of the ESI processors. NOTE: This sends a "clear cache" message to all of the ESI processors currently running.- Throws:
- java.io.IOException
 
 
- 
 
-