|
|||||||||
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, which is shipped as a part of the WebSphere
Application Server to administer and monitor the contents of the CoreCache
Method Summary | |
---|---|
long |
getCacheHitsCount()
Statistics name: CacheHits |
long |
getCacheLruRemovesCount()
Statistics name: CacheLruRemoves |
long |
getCacheMissesCount()
Statistics name: CacheMisses |
long |
getCacheRemovesCount()
Statistics name: CacheRemoves |
long |
getExplicitInvalidationsFromMemoryCount()
Statistics name: ExplicitInvalidationsFromMemory |
java.util.Map<java.lang.String,java.lang.Number> |
getExtendedStats()
Extended cache statistics specific to the cache provider |
long |
getMemoryCacheEntriesCount()
Statistics name: MemoryCacheEntries |
float |
getMemoryCacheSizeInMBCount()
Statistics name: MemoryCacheSizeInMB |
long |
getTimeoutInvalidationsFromMemoryCount()
Statistics name: TimeoutInvalidationsFromMemory |
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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |