public interface CommonMetrics
Modifier and Type | Interface and Description |
---|---|
static class |
CommonMetrics.BlackHole |
static interface |
CommonMetrics.Updater |
Modifier and Type | Method and Description |
---|---|
long |
getExpiredKeptCount()
Number of entries expired, but kept in the cache because of
ongoing processing on the entry (pinned) or because keepData is enabled.
|
long |
getGoneSpinCount()
Entry was removed while waiting to get the mutation lock.
|
long |
getHeapHitButNoReadCount()
Operation was accessing a heap entry and counted a hit it is existing, but
it should not be counted as read/get operation (e.g.
|
long |
getLoadCount()
Entry was loaded, triggered by a get()
|
long |
getLoadExceptionCount()
Counter of exceptions thrown from the loader.
|
long |
getLoadMillis()
Accumulated milliseconds spend in load operations.
|
long |
getPeekHitNotFreshCount()
Peek, but entry available was not fresh (expired).
|
long |
getPeekMissCount()
Peek operation (or get() if no loader is present), has no hit.
|
long |
getPutHitCount()
Counted for a put that updates an existing cache entry.
|
long |
getPutNewEntryCount()
Counted for a put that triggers the insert of a new cache entry.
|
long |
getPutNoReadHitCount()
Counted for a put that updates an existing cache entry.
|
long |
getRefreshCount()
Entry was loaded again, triggered by timer
|
long |
getRefreshedHitCount()
Entry on probation for refresh got hit.
|
long |
getRefreshFailedCount()
Refresh submit failed.
|
long |
getReloadCount()
Entry was loaded again, e.g.
|
long |
getSuppressedExceptionCount()
Counter of suppressed exceptions from the loader
|
long |
getTimerEventCount()
Count of timer events delivered to this cache.
|
boolean |
isDisabled()
True if statistics are disabled.
|
long getPutNewEntryCount()
InternalCacheInfo.getPutCount()
long getPutHitCount()
InternalCacheInfo.getPutCount()
long getPutNoReadHitCount()
InternalCacheInfo.getPutCount()
,
CacheBaseInfo.getGetCount()
long getHeapHitButNoReadCount()
contains
). This
is a correction counter applied to the get counter.CacheBaseInfo.getGetCount()
long getTimerEventCount()
InternalCacheInfo.getTimerEventCount()
long getLoadCount()
InternalCacheInfo.getLoadCount()
long getReloadCount()
InternalCacheInfo.getReloadCount()
long getRefreshCount()
InternalCacheInfo.getRefreshCount()
long getLoadMillis()
InternalCacheInfo.getLoadMillis()
long getLoadExceptionCount()
long getSuppressedExceptionCount()
long getExpiredKeptCount()
InternalCacheInfo.getExpiredCount()
long getPeekMissCount()
long getPeekHitNotFreshCount()
Cache2kBuilder.keepDataAfterExpired(boolean)
long getRefreshedHitCount()
InternalCacheInfo.getRefreshedHitCount()
long getRefreshFailedCount()
getRefreshFailedCount()
long getGoneSpinCount()
InternalCacheInfo.getGoneSpinCount()
boolean isDisabled()
cache2k API documentation. Copyright © 2000–2018 headissue GmbH, Munich.