public static class CommonMetrics.BlackHole extends Object implements CommonMetrics.Updater
CommonMetrics.BlackHole, CommonMetrics.Updater| Constructor and Description |
|---|
BlackHole() |
| Modifier and Type | Method and Description |
|---|---|
void |
expiredKept() |
void |
expiredKept(long cnt) |
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.
|
void |
goneSpin() |
void |
goneSpin(long cnt) |
void |
heapHitButNoRead() |
void |
heapHitButNoRead(long cnt) |
boolean |
isDisabled()
True if statistics are disabled.
|
void |
load(long _millis) |
void |
load(long cnt,
long _millis) |
void |
loadException() |
void |
loadException(long cnt) |
void |
peekHitNotFresh() |
void |
peekHitNotFresh(long cnt) |
void |
peekMiss() |
void |
peekMiss(long cnt) |
void |
putHit() |
void |
putHit(long cnt) |
void |
putNewEntry() |
void |
putNewEntry(long cnt) |
void |
putNoReadHit() |
void |
putNoReadHit(long cnt) |
void |
refresh(long _millis) |
void |
refresh(long cnt,
long _millis) |
void |
refreshedHit() |
void |
refreshedHit(long cnt) |
void |
refreshFailed() |
void |
refreshFailed(long cnt) |
void |
reload(long _millis) |
void |
reload(long cnt,
long _millis) |
void |
suppressedException() |
void |
suppressedException(long cnt) |
void |
timerEvent() |
void |
timerEvent(long cnt) |
public void putNewEntry()
putNewEntry in interface CommonMetrics.Updaterpublic void putNewEntry(long cnt)
putNewEntry in interface CommonMetrics.Updaterpublic void putHit()
putHit in interface CommonMetrics.Updaterpublic void putHit(long cnt)
putHit in interface CommonMetrics.Updaterpublic void putNoReadHit()
putNoReadHit in interface CommonMetrics.Updaterpublic void putNoReadHit(long cnt)
putNoReadHit in interface CommonMetrics.Updaterpublic void heapHitButNoRead()
heapHitButNoRead in interface CommonMetrics.Updaterpublic void heapHitButNoRead(long cnt)
heapHitButNoRead in interface CommonMetrics.Updaterpublic void timerEvent()
timerEvent in interface CommonMetrics.Updaterpublic void timerEvent(long cnt)
timerEvent in interface CommonMetrics.Updaterpublic void load(long _millis)
load in interface CommonMetrics.Updaterpublic void load(long cnt,
long _millis)
load in interface CommonMetrics.Updaterpublic void reload(long _millis)
reload in interface CommonMetrics.Updaterpublic void reload(long cnt,
long _millis)
reload in interface CommonMetrics.Updaterpublic void refresh(long _millis)
refresh in interface CommonMetrics.Updaterpublic void refresh(long cnt,
long _millis)
refresh in interface CommonMetrics.Updaterpublic void loadException()
loadException in interface CommonMetrics.Updaterpublic void loadException(long cnt)
loadException in interface CommonMetrics.Updaterpublic void suppressedException()
suppressedException in interface CommonMetrics.Updaterpublic void suppressedException(long cnt)
suppressedException in interface CommonMetrics.Updaterpublic void expiredKept()
expiredKept in interface CommonMetrics.Updaterpublic void expiredKept(long cnt)
expiredKept in interface CommonMetrics.Updaterpublic void peekMiss()
peekMiss in interface CommonMetrics.Updaterpublic void peekMiss(long cnt)
peekMiss in interface CommonMetrics.Updaterpublic void peekHitNotFresh()
peekHitNotFresh in interface CommonMetrics.Updaterpublic void peekHitNotFresh(long cnt)
peekHitNotFresh in interface CommonMetrics.Updaterpublic void refreshedHit()
refreshedHit in interface CommonMetrics.Updaterpublic void refreshedHit(long cnt)
refreshedHit in interface CommonMetrics.Updaterpublic void refreshFailed()
refreshFailed in interface CommonMetrics.Updaterpublic void refreshFailed(long cnt)
refreshFailed in interface CommonMetrics.Updaterpublic void goneSpin()
goneSpin in interface CommonMetrics.Updaterpublic void goneSpin(long cnt)
goneSpin in interface CommonMetrics.Updaterpublic long getPutNewEntryCount()
CommonMetricsgetPutNewEntryCount in interface CommonMetricsInternalCacheInfo.getPutCount()public long getPutHitCount()
CommonMetricsgetPutHitCount in interface CommonMetricsInternalCacheInfo.getPutCount()public long getPutNoReadHitCount()
CommonMetricsgetPutNoReadHitCount in interface CommonMetricsInternalCacheInfo.getPutCount(),
CacheBaseInfo.getGetCount()public long getHeapHitButNoReadCount()
CommonMetricscontains). This
is a correction counter applied to the get counter.getHeapHitButNoReadCount in interface CommonMetricsCacheBaseInfo.getGetCount()public long getTimerEventCount()
CommonMetricsgetTimerEventCount in interface CommonMetricsInternalCacheInfo.getTimerEventCount()public long getLoadCount()
CommonMetricsgetLoadCount in interface CommonMetricsInternalCacheInfo.getLoadCount()public long getReloadCount()
CommonMetricsgetReloadCount in interface CommonMetricsInternalCacheInfo.getReloadCount()public long getRefreshCount()
CommonMetricsgetRefreshCount in interface CommonMetricsInternalCacheInfo.getRefreshCount()public long getLoadMillis()
CommonMetricsgetLoadMillis in interface CommonMetricsInternalCacheInfo.getLoadMillis()public long getLoadExceptionCount()
CommonMetricsgetLoadExceptionCount in interface CommonMetricsInternalCacheInfo.getLoadExceptionCount()public long getSuppressedExceptionCount()
CommonMetricsgetSuppressedExceptionCount in interface CommonMetricsInternalCacheInfo.getSuppressedExceptionCount()public long getExpiredKeptCount()
CommonMetricsgetExpiredKeptCount in interface CommonMetricsInternalCacheInfo.getExpiredCount()public long getPeekMissCount()
CommonMetricsgetPeekMissCount in interface CommonMetricspublic long getPeekHitNotFreshCount()
CommonMetricsCache2kBuilder.keepDataAfterExpired(boolean)getPeekHitNotFreshCount in interface CommonMetricspublic long getRefreshedHitCount()
CommonMetricsgetRefreshedHitCount in interface CommonMetricsInternalCacheInfo.getRefreshedHitCount()public long getRefreshFailedCount()
CommonMetricsgetRefreshFailedCount in interface CommonMetricsCommonMetrics.getRefreshFailedCount()public long getGoneSpinCount()
CommonMetricsgetGoneSpinCount in interface CommonMetricsInternalCacheInfo.getGoneSpinCount()public boolean isDisabled()
CommonMetricsisDisabled in interface CommonMetricscache2k API documentation. Copyright © 2000–2019 headissue GmbH, Munich.