|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.wsspi.cache.CacheStatisticsListener
public class CacheStatisticsListener
This is the mechanism to provide cache statistics to the CacheMonitor.
Constructor Summary | |
---|---|
CacheStatisticsListener(com.ibm.ws.cache.intf.CacheStatisticsListener csli)
|
Method Summary | |
---|---|
long |
getNumExplicitInvalidationsFromDisk()
This method returns the total number of explicit invalidations resulting in the removal of entries from disk. |
long |
getNumGarbageCollectorInvalidationsFromDisk()
This method returns the total number of garbage collector invalidations resulting in the removal of entries from disk cache due to high threshold has been reached. |
long |
getNumGetValueHits()
This method returns the total number of cache hits. |
long |
getNumGetValueMisses()
This method returns the total number of cache misses. |
long |
getNumLruRemoves()
This method returns the total number of cache removes a Least Recently Used (LRU) algorithm. |
long |
getNumOverflowInvalidationsFromDisk()
This method returns the total number of invalidations resulting in the removal of entries from disk due to exceeding the disk cache size or disk cache size in GB limit. |
long |
getNumRemoves()
This method returns the total number of cache removes. |
long |
getNumTimeoutInvalidationsFromDisk()
This method returns the total number of disk entries timeouts. |
void |
resetDisk()
This method resets all the statistics for disk cache. |
void |
resetMemory()
This method resets all the statistics for memory cache. |
void |
setNumGetValueHits(long numGetValueHits)
|
void |
setNumGetValueMisses(long numGetValueMisses)
|
void |
setNumLruRemoves(long numLruRemoves)
|
void |
setNumRemoves(long numRemoves)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CacheStatisticsListener(com.ibm.ws.cache.intf.CacheStatisticsListener csli)
Method Detail |
---|
public final void resetMemory()
public final void resetDisk()
public long getNumGetValueHits()
public long getNumGetValueMisses()
public long getNumLruRemoves()
public long getNumRemoves()
public long getNumGarbageCollectorInvalidationsFromDisk()
public long getNumExplicitInvalidationsFromDisk()
public long getNumTimeoutInvalidationsFromDisk()
public long getNumOverflowInvalidationsFromDisk()
public void setNumGetValueHits(long numGetValueHits)
public void setNumGetValueMisses(long numGetValueMisses)
public void setNumLruRemoves(long numLruRemoves)
public void setNumRemoves(long numRemoves)
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |