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.Updater
public void putNewEntry(long cnt)
putNewEntry
in interface CommonMetrics.Updater
public void putHit()
putHit
in interface CommonMetrics.Updater
public void putHit(long cnt)
putHit
in interface CommonMetrics.Updater
public void putNoReadHit()
putNoReadHit
in interface CommonMetrics.Updater
public void putNoReadHit(long cnt)
putNoReadHit
in interface CommonMetrics.Updater
public void heapHitButNoRead()
heapHitButNoRead
in interface CommonMetrics.Updater
public void heapHitButNoRead(long cnt)
heapHitButNoRead
in interface CommonMetrics.Updater
public void timerEvent()
timerEvent
in interface CommonMetrics.Updater
public void timerEvent(long cnt)
timerEvent
in interface CommonMetrics.Updater
public void load(long _millis)
load
in interface CommonMetrics.Updater
public void load(long cnt, long _millis)
load
in interface CommonMetrics.Updater
public void reload(long _millis)
reload
in interface CommonMetrics.Updater
public void reload(long cnt, long _millis)
reload
in interface CommonMetrics.Updater
public void refresh(long _millis)
refresh
in interface CommonMetrics.Updater
public void refresh(long cnt, long _millis)
refresh
in interface CommonMetrics.Updater
public void loadException()
loadException
in interface CommonMetrics.Updater
public void loadException(long cnt)
loadException
in interface CommonMetrics.Updater
public void suppressedException()
suppressedException
in interface CommonMetrics.Updater
public void suppressedException(long cnt)
suppressedException
in interface CommonMetrics.Updater
public void expiredKept()
expiredKept
in interface CommonMetrics.Updater
public void expiredKept(long cnt)
expiredKept
in interface CommonMetrics.Updater
public void peekMiss()
peekMiss
in interface CommonMetrics.Updater
public void peekMiss(long cnt)
peekMiss
in interface CommonMetrics.Updater
public void peekHitNotFresh()
peekHitNotFresh
in interface CommonMetrics.Updater
public void peekHitNotFresh(long cnt)
peekHitNotFresh
in interface CommonMetrics.Updater
public void refreshedHit()
refreshedHit
in interface CommonMetrics.Updater
public void refreshedHit(long cnt)
refreshedHit
in interface CommonMetrics.Updater
public void refreshFailed()
refreshFailed
in interface CommonMetrics.Updater
public void refreshFailed(long cnt)
refreshFailed
in interface CommonMetrics.Updater
public void goneSpin()
goneSpin
in interface CommonMetrics.Updater
public void goneSpin(long cnt)
goneSpin
in interface CommonMetrics.Updater
public long getPutNewEntryCount()
CommonMetrics
getPutNewEntryCount
in interface CommonMetrics
InternalCacheInfo.getPutCount()
public long getPutHitCount()
CommonMetrics
getPutHitCount
in interface CommonMetrics
InternalCacheInfo.getPutCount()
public long getPutNoReadHitCount()
CommonMetrics
getPutNoReadHitCount
in interface CommonMetrics
InternalCacheInfo.getPutCount()
,
CacheBaseInfo.getGetCount()
public long getHeapHitButNoReadCount()
CommonMetrics
contains
). This
is a correction counter applied to the get counter.getHeapHitButNoReadCount
in interface CommonMetrics
CacheBaseInfo.getGetCount()
public long getTimerEventCount()
CommonMetrics
getTimerEventCount
in interface CommonMetrics
InternalCacheInfo.getTimerEventCount()
public long getLoadCount()
CommonMetrics
getLoadCount
in interface CommonMetrics
InternalCacheInfo.getLoadCount()
public long getReloadCount()
CommonMetrics
getReloadCount
in interface CommonMetrics
InternalCacheInfo.getReloadCount()
public long getRefreshCount()
CommonMetrics
getRefreshCount
in interface CommonMetrics
InternalCacheInfo.getRefreshCount()
public long getLoadMillis()
CommonMetrics
getLoadMillis
in interface CommonMetrics
InternalCacheInfo.getLoadMillis()
public long getLoadExceptionCount()
CommonMetrics
getLoadExceptionCount
in interface CommonMetrics
InternalCacheInfo.getLoadExceptionCount()
public long getSuppressedExceptionCount()
CommonMetrics
getSuppressedExceptionCount
in interface CommonMetrics
InternalCacheInfo.getSuppressedExceptionCount()
public long getExpiredKeptCount()
CommonMetrics
getExpiredKeptCount
in interface CommonMetrics
InternalCacheInfo.getExpiredCount()
public long getPeekMissCount()
CommonMetrics
getPeekMissCount
in interface CommonMetrics
public long getPeekHitNotFreshCount()
CommonMetrics
Cache2kBuilder.keepDataAfterExpired(boolean)
getPeekHitNotFreshCount
in interface CommonMetrics
public long getRefreshedHitCount()
CommonMetrics
getRefreshedHitCount
in interface CommonMetrics
InternalCacheInfo.getRefreshedHitCount()
public long getRefreshFailedCount()
CommonMetrics
getRefreshFailedCount
in interface CommonMetrics
CommonMetrics.getRefreshFailedCount()
public long getGoneSpinCount()
CommonMetrics
getGoneSpinCount
in interface CommonMetrics
InternalCacheInfo.getGoneSpinCount()
public boolean isDisabled()
CommonMetrics
isDisabled
in interface CommonMetrics
cache2k API documentation. Copyright © 2000–2018 headissue GmbH, Munich.