public interface InternalCacheInfo
InternalCache.getInfo()
or InternalCache.getLatestInfo()
.
The interface is not exposed via the public API since it may change dramatically between versions.
EvictionMetrics
,
CommonMetrics
Modifier and Type | Method and Description |
---|---|
long |
getAsyncLoadsInFlight()
0 if not a exclusive thread pool is used.
|
long |
getAsyncLoadsStarted()
0 if not a exclusive thread pool is used.
|
long |
getClearCount()
Number of calls to
clear this cache has received. |
long |
getClearedEntriesCount()
Number of entries removed from the cache by the
clear operation. |
long |
getClearedTime()
Time of last clear operation.
|
long |
getEvictedCount()
Entry was evicted.
|
int |
getEvictionRunningCount()
Number of entries currently being evicted.
|
long |
getExpiredCount()
Counts entries that expired.
|
String |
getExtraStatistics() |
long |
getGetCount()
Number of cache operations, only access
|
long |
getGoneSpinCount()
Entry was removed while waiting to get the mutation lock.
|
int |
getHashCollisionCount()
Number of hashcode collisions within the cache.
|
int |
getHashCollisionSlotCount()
Number of collision slots within the cache.
|
int |
getHashLongestSlotSize()
Number of hashcode collisions within the cache.
|
int |
getHashQuality()
Value between 0 and 100 to help evaluate the quality of the hashing function.
|
Collection<HealthInfoElement> |
getHealth() |
long |
getHeapCapacity()
Configured limit of the total cache entry capacity.
|
long |
getHeapHitCount()
Total counted hits on the heap cache data.
|
double |
getHitRate()
Hit rate of the cache
|
String |
getHitRateString()
Hit rate of the cache in string representation
|
String |
getImplementation() |
long |
getInfoCreatedTime()
Time when the info object was created.
|
int |
getInfoCreationDeltaMs()
Time that was needed to collect the information.
|
String |
getIntegrityDescriptor() |
long |
getInternalExceptionCount()
The cache produced an exception by itself that should have been prevented.
|
long |
getKeyMutationCount()
After inserting into the cache the key object changed its hash code.
|
long |
getLoadCount()
Loader calls including reloads and refresh.
|
int |
getLoaderThreadsLimit()
0 if not a exclusive thread pool is used.
|
int |
getLoaderThreadsMaxActive()
0 if not a exclusive thread pool is used.
|
long |
getLoadExceptionCount()
Counter of exceptions thrown from the loader.
|
long |
getLoadMillis()
Accumulated loader execution time.
|
double |
getMillisPerLoad()
Average duration in milliseconds for each load operation.
|
long |
getMissCount()
A value was requested, either the entry is not present or the data was expired.
|
String |
getName()
Configured name of the cache or null if anonymous.
|
long |
getNewEntryCount()
Number of created cache entries.
|
int |
getNoCollisionPercent()
Percentage of cache entries in collision lists, not reached by the first comparison.
|
long |
getPutCount()
Entry was inserted in the cache via put or another operation not including a load.
|
long |
getRefreshCount()
Entry was loaded again, triggered by timer
|
long |
getRefreshedHitCount()
A previously refreshed entry was accessed.
|
long |
getRefreshFailedCount()
Entry was supposed to be refreshed, but there was no thread available for executing it.
|
long |
getReloadCount()
Entry was loaded again, e.g.
|
long |
getRemoveCount()
Removed entries, because of programmatic removal.
|
long |
getSize()
Current number of entries in the cache.
|
long |
getStartedTime()
Time when the cache started the operation.
|
long |
getStorageHitCnt()
To be removed.
|
long |
getStorageMissCnt()
To be removed.
|
long |
getSuppressedExceptionCount()
Loader exception occurred, but the resilience policy decided to suppress the exception and
continue to use the available value.
|
long |
getTimerEventCount()
Count of timer events delivered to this cache.
|
String getName()
String getImplementation()
long getSize()
long getHeapCapacity()
long getStorageHitCnt()
long getStorageMissCnt()
long getHeapHitCount()
EvictionMetrics.getHitCount()
long getGetCount()
long getMissCount()
long getNewEntryCount()
EvictionMetrics.getNewEntryCount()
long getLoadCount()
long getReloadCount()
CommonMetrics.getReloadCount()
long getRefreshCount()
CommonMetrics.getRefreshCount()
long getInternalExceptionCount()
HeapCache.internalExceptionCnt
long getRefreshFailedCount()
CommonMetrics.getRefreshFailedCount()
long getSuppressedExceptionCount()
long getLoadExceptionCount()
CommonMetrics.getLoadExceptionCount()
long getRefreshedHitCount()
CommonMetrics.getRefreshedHitCount()
long getExpiredCount()
long getEvictedCount()
EvictionMetrics.getEvictedCount()
int getEvictionRunningCount()
long getRemoveCount()
long getPutCount()
long getClearedEntriesCount()
clear
operation.Cache.clear()
long getClearCount()
clear
this cache has received.Cache.clear()
long getKeyMutationCount()
long getTimerEventCount()
CommonMetrics.getTimerEventCount()
double getHitRate()
String getHitRateString()
int getNoCollisionPercent()
int getHashQuality()
Exposed via JMX getHashQuality
int getHashCollisionCount()
int getHashCollisionSlotCount()
int getHashLongestSlotSize()
double getMillisPerLoad()
long getLoadMillis()
CommonMetrics.getLoadMillis()
String getIntegrityDescriptor()
long getGoneSpinCount()
CommonMetrics.getGoneSpinCount()
long getStartedTime()
long getClearedTime()
long getInfoCreatedTime()
int getInfoCreationDeltaMs()
Collection<HealthInfoElement> getHealth()
String getExtraStatistics()
long getAsyncLoadsStarted()
long getAsyncLoadsInFlight()
int getLoaderThreadsLimit()
int getLoaderThreadsMaxActive()
cache2k API documentation. Copyright © 2000–2018 headissue GmbH, Munich.