Package com.ibm.wsspi.cache.web
Class ESIStats
java.lang.Object
com.ibm.wsspi.cache.web.ESIStats
This is the mechanism to provide Edge cache
statistics to the CacheMonitor.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
An ESIServerStats is a logical grouping of ESIProcessorStats objects, grouped by hostname. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
Release the references to the ESIServerStats objects.void
Clear the caches in all of the ESI processors.void
gather()
Gather a snap shot of the statistics from all of the ESI processors.boolean
Return the current setting for gathering entries as part of the statistics.Return all ESIServerStats objects gathered.void
Resets the counters in all of the ESI processors.void
setGatherEntries
(boolean gatherEntries) Set the current setting for gathering entries as part of the statistics.
-
Constructor Details
-
ESIStats
public ESIStats()
-
-
Method Details
-
getGatherEntries
public boolean getGatherEntries()Return the current setting for gathering entries as part of the statistics.- Returns:
- gather entry setting
-
setGatherEntries
public void setGatherEntries(boolean gatherEntries) Set the current setting for gathering entries as part of the statistics.- Parameters:
gatherEntries
- gather entry setting
-
gather
Gather 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:
IOException
-
getServerStats
Return all ESIServerStats objects gathered.- Returns:
- The ESIServerStats objects resulting from calling gather().
-
clear
public void clear()Release the references to the ESIServerStats objects. NOTE: No message is sent to the remote ESI processors. -
resetCounters
Resets the counters in all of the ESI processors. NOTE: This sends a "reset counters" message to all of the ESI processors currently running.- Throws:
IOException
-
clearCaches
Clear the caches in all of the ESI processors. NOTE: This sends a "clear cache" message to all of the ESI processors currently running.- Throws:
IOException
-