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.
|
long |
getClearCount()
Number of
Cache.clear() invocations. |
long |
getClearedEntriesCount()
Number entries removed from the cache by the
Cache.clear() operation. |
Date |
getClearedTime()
Time of the most recent
Cache.clear() operation. |
Date |
getCreatedTime()
Time when the cache was created.
|
long |
getEntryCapacity()
The configured maximum number of entries in the cache.
|
long |
getEvictedCount()
An entry was evicted from the cache because of size limits.
|
String |
getEvictionStatistics()
Additional statistics from the eviction algorithm.
|
long |
getExpiredCount()
Counter for the event that data in the cache has expired.
|
long |
getGetCount()
How often data was requested from the cache.
|
int |
getHashQuality()
A value between 0 and 100 to help evaluate the quality of the hashing function.
|
double |
getHitRate()
The percentage of cache accesses the cache delivered data.
|
String |
getImplementation()
Implementation class of the cache.
|
int |
getInfoCreatedDeltaMillis()
Milliseconds needed to provide the data.
|
Date |
getInfoCreatedTime()
Time when the cache information was created for JMX.
|
long |
getInsertCount()
How many times a new entry was inserted into the cache.
|
String |
getIntegrityDescriptor()
The cache checks some internal values for correctness.
|
long |
getKeyMutationCount()
Number of key mutations occurred.
|
String |
getKeyType()
Type of the cache key.
|
long |
getLoadCount()
How many times a load succeeded.
|
long |
getLoadExceptionCount()
Number of exceptions thrown by the
CacheLoader. |
double |
getMillisPerLoad()
Average number of milliseconds per load.
|
long |
getMissCount()
Counter of the event that: a client requested a data which was not
present in the cache or had expired.
|
long |
getPutCount()
The total number of insert or update operations.
|
long |
getRefreshCount()
Counter for the event that the data of a cache entry was refreshed.
|
long |
getRefreshedHitCount()
How many times we had a hit on a refreshed entry.
|
long |
getRefreshFailedCount()
Counter how many times a refresh failed, because there were
not enough thread resources available.
|
long |
getRemoveCount()
Number of remove operations.
|
long |
getSize()
The current number of entries within the cache, starting with 0.
|
long |
getSuppressedLoadExceptionCount()
Number of exceptions thrown by the
CacheLoader that were ignored and
the previous data value got returned. |
long |
getTotalLoadMillis()
Total number of time spent loading entries from the cache loader.
|
String |
getValueType()
Type of the cache value.
|
String getKeyType()
String getValueType()
long getSize()
Expired entries may stay in the cache Cache2kBuilder.keepDataAfterExpired(boolean).
These entries will be counted, but will not be returned by the iterator or a peek operation
long getEntryCapacity()
long getInsertCount()
long getGetCount()
long getMissCount()
long getLoadCount()
long getRefreshCount()
long getRefreshFailedCount()
long getRefreshedHitCount()
long getExpiredCount()
This can mean that the cache entry is removed or just marked as expired in case that the keep value option is enabled.
long getEvictedCount()
long getPutCount()
long getRemoveCount()
long getClearedEntriesCount()
Cache.clear() operation.long getClearCount()
Cache.clear() invocations.long getKeyMutationCount()
long getLoadExceptionCount()
CacheLoader.long getSuppressedLoadExceptionCount()
CacheLoader that were ignored and
the previous data value got returned.double getHitRate()
int getHashQuality()
double getMillisPerLoad()
long getTotalLoadMillis()
String getImplementation()
Date getCreatedTime()
Date getClearedTime()
Cache.clear() operation.Date getInfoCreatedTime()
int getInfoCreatedDeltaMillis()
int getAlert()
String getEvictionStatistics()
String getIntegrityDescriptor()
cache2k API documentation. Copyright © 2000–2017 headissue GmbH, Munich.