com.ibm.wsspi.cache.web

Class ESIStats

  1. java.lang.Object
  2. extended bycom.ibm.wsspi.cache.web.ESIStats

  1. public class ESIStats
  2. extends java.lang.Object
This is the mechanism to provide Edge cache statistics to the CacheMonitor.

Nested Class Summary

Modifier and Type Class and Description
  1. static class
ESIStats.ESIServerStats
An ESIServerStats is a logical grouping of ESIProcessorStats objects, grouped by hostname.

Constructor Summary

Constructor and Description
ESIStats()

Method Summary

Modifier and Type Method and Description
  1. void
clear()
Release the references to the ESIServerStats objects.
  1. void
clearCaches()
Clear the caches in all of the ESI processors.
  1. void
gather()
Gather a snap shot of the statistics from all of the ESI processors.
  1. boolean
getGatherEntries()
Return the current setting for gathering entries as part of the statistics.
  1. ESIStats.ESIServerStats[]
getServerStats()
Return all ESIServerStats objects gathered.
  1. void
resetCounters()
Resets the counters in all of the ESI processors.
  1. void
setGatherEntries(boolean gatherEntries)
Set the current setting for gathering entries as part of the statistics.
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

ESIStats

  1. public ESIStats()

Method Detail

getGatherEntries

  1. public boolean getGatherEntries( )
Return the current setting for gathering entries as part of the statistics.
Returns:
gather entry setting

setGatherEntries

  1. public void setGatherEntries(boolean gatherEntries)
Set the current setting for gathering entries as part of the statistics.
Parameters:
gatherEntries - gather entry setting

gather

  1. public void gather()
  2. throws java.io.IOException
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:
java.io.IOException

getServerStats

  1. public ESIStats.ESIServerStats[] getServerStats( )
Return all ESIServerStats objects gathered.
Returns:
The ESIServerStats objects resulting from calling gather().

clear

  1. public void clear()
Release the references to the ESIServerStats objects. NOTE: No message is sent to the remote ESI processors.

resetCounters

  1. public void resetCounters()
  2. throws java.io.IOException
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:
java.io.IOException

clearCaches

  1. public void clearCaches()
  2. throws java.io.IOException
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:
java.io.IOException