public interface CacheInfoMXBean
Modifier and Type | Method and Description |
---|---|
int |
getAlert()
Single health value from 0 meaning good, 1 meaning warning, and 2 meaning failure.
|
Date |
getClearedTime()
Time when cache object was cleared.
|
Date |
getCreatedTime()
Time when cache object was created.
|
long |
getEvictedCnt()
An entry was evicted from the cache because of size limits.
|
long |
getExpiredCnt()
Counter for the event that data in the cache has expired.
|
String |
getExtraStatistics()
String with additional statistics from the cache implementation.
|
long |
getFetchCnt()
How many times the data was fetched from the cache source.
|
long |
getFetchExceptionCnt()
Number of exceptions thrown by the
CacheSource . |
long |
getFetchMillis()
Total number of time spent fetching entries from the cache source.
|
int |
getHashCollisionCnt()
Number of hashcode collisions within the cache.
|
int |
getHashCollisionsSlotCnt()
Number of collision slots within the cache.
|
int |
getHashLongestCollisionSize()
The number of entries of the collision slot with the most collisions.
|
int |
getHashQuality()
Value between 100 and 0 to help evaluate the quality of the hashing function.
|
double |
getHitRate()
The percentage of cache accesses the cache delivered data directly instead of fetching it.
|
String |
getImplementation()
Implementation class of the cache which controls the eviction strategy.
|
int |
getInfoCreatedDetlaMillis()
Milliseconds needed to provide the data.
|
Date |
getInfoCreatedTime()
Time when the cache information was created for JMX.
|
String |
getIntegrityDescriptor()
The cache checks some internal values for correctness.
|
long |
getKeyMutationCnt()
Number of key mutations occurred.
|
Date |
getLastOperationTime()
Time of last meaningful cache operation.
|
int |
getMaximumSize()
The configured maximum number of entries in the cache.
|
int |
getMemoryUsage()
Amount of memory the cache
|
double |
getMillisPerFetch()
Milliseconds per fetch.
|
long |
getMissCnt()
Counter of the event that: a client requested a data which was not
present in the cache or had expired.
|
long |
getNewEntryCnt()
How many new cache entries are created.
|
long |
getPutCnt()
Number of calls to put().
|
long |
getRefreshCnt()
Counter for the event that the data of a cache entry was refreshed.
|
long |
getRefreshHitCnt()
How many times we had a hit on a refreshed entry.
|
long |
getRefreshSubmitFailedCnt()
Counter how many times a refresh submit failed, meaning that there were
not enough thread resources available.
|
int |
getSize()
The current number of entries within the cache, starting with 0.
|
long |
getSuppressedExceptionCnt()
Number of exceptions thrown by the CacheSource that were ignored and
the previous data value got returned.
|
long |
getUsageCnt()
How often data was requested from the cache.
|
int getSize()
int getMaximumSize()
long getUsageCnt()
long getMissCnt()
long getNewEntryCnt()
long getFetchCnt()
long getRefreshCnt()
long getRefreshSubmitFailedCnt()
long getRefreshHitCnt()
long getExpiredCnt()
This can mean that the cache entry is removed or just marked as expired in case that the keep data option is enabled.
long getEvictedCnt()
long getPutCnt()
long getKeyMutationCnt()
long getFetchExceptionCnt()
CacheSource
.long getSuppressedExceptionCnt()
double getHitRate()
int getHashQuality()
int getHashCollisionCnt()
int getHashCollisionsSlotCnt()
int getHashLongestCollisionSize()
double getMillisPerFetch()
long getFetchMillis()
int getMemoryUsage()
String getImplementation()
String getIntegrityDescriptor()
Date getLastOperationTime()
Date getCreatedTime()
Date getClearedTime()
Date getInfoCreatedTime()
int getInfoCreatedDetlaMillis()
int getAlert()
String getExtraStatistics()
cache2k API documentation. Copyright © 2000–2014 headissue GmbH, Munich.