|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CacheStatistics
This interface is used to monitor the cache. It is utilized by the
WebSphere Cache Monitor application shipped as a part of the WAS install image
to administer and monitor the contents of the CoreCache
Method Summary | |
---|---|
long |
getCacheHitsCount()
Statistics name: CacheHits Description: The total number of cache hits. |
long |
getCacheLruRemovesCount()
Statistics name: CacheLruRemoves Description: The number of memory-based least recently used (LRU) evictions. |
long |
getCacheMissesCount()
Statistics name: CacheMisses Description: The total number of cache misses. |
long |
getCacheRemovesCount()
Statistics name: CacheRemoves Description: The total number of cache removes. |
long |
getExplicitInvalidationsFromMemoryCount()
Statistics name: ExplicitInvalidationsFromMemory Description: Metric that captures the number of explicit invalidations that result in an entry being removed from memory. |
java.util.Map<java.lang.String,java.lang.Number> |
getExtendedStats()
Extended cache statistics specific to the cache provider |
long |
getMemoryCacheEntriesCount()
Statistics name: MemoryCacheEntries Description: The number of cache entries in memory. |
float |
getMemoryCacheSizeInMBCount()
Statistics name: MemoryCacheSizeInMB Description: The size of the cache in terms of memory occupied on the JVM heap. |
long |
getTimeoutInvalidationsFromMemoryCount()
Statistics name: TimeoutInvalidationsFromMemory Description: Metric that captures the number of timeout invalidations that result in an entry being removed from memory. |
void |
reset()
This is used to reset all statistics counters in the cache proivder excluding: MemoryCacheEntries MemoryCacheSizeInMB |
Method Detail |
---|
long getCacheHitsCount()
Description: The total number of cache hits.
long getCacheLruRemovesCount()
Description: The number of memory-based least recently used (LRU) evictions. These correspond to the number of objects that are evicted from the memory cache, based on the LRU policy.
long getCacheMissesCount()
Description: The total number of cache misses.
long getCacheRemovesCount()
Description: The total number of cache removes.
long getExplicitInvalidationsFromMemoryCount()
Description: Metric that captures the number of explicit invalidations that result in an entry being removed from memory.
java.util.Map<java.lang.String,java.lang.Number> getExtendedStats()
Map
of {cache statistic name --> Cache statistic value}long getMemoryCacheEntriesCount()
Description: The number of cache entries in memory.
float getMemoryCacheSizeInMBCount()
Description: The size of the cache in terms of memory occupied on the JVM heap.
long getTimeoutInvalidationsFromMemoryCount()
Description: Metric that captures the number of timeout invalidations that result in an entry being removed from memory.
void reset()
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |