public class StandardStorageMetrics extends Object implements StorageMetrics.Updater
StorageMetrics.Dummy, StorageMetrics.Updater
DUMMY
Constructor and Description |
---|
StandardStorageMetrics() |
Modifier and Type | Method and Description |
---|---|
long |
getReadHitCount()
Entry was read from storage and fresh.
|
long |
getReadMissCount()
Storage did not contain the requested entry.
|
long |
getReadNonFreshCount()
Read from storage, but the entry was not fresh and cannot be returned.
|
void |
readHit() |
void |
readHit(long cnt) |
void |
readMiss() |
void |
readMiss(long cnt) |
void |
readNonFresh() |
void |
readNonFresh(long cnt) |
public void readHit()
readHit
in interface StorageMetrics.Updater
public long getReadHitCount()
StorageMetrics
getReadHitCount
in interface StorageMetrics
public void readHit(long cnt)
readHit
in interface StorageMetrics.Updater
public void readMiss()
readMiss
in interface StorageMetrics.Updater
public long getReadMissCount()
StorageMetrics
getReadMissCount
in interface StorageMetrics
public void readMiss(long cnt)
readMiss
in interface StorageMetrics.Updater
public void readNonFresh()
readNonFresh
in interface StorageMetrics.Updater
public long getReadNonFreshCount()
StorageMetrics
getReadNonFreshCount
in interface StorageMetrics
public void readNonFresh(long cnt)
readNonFresh
in interface StorageMetrics.Updater
cache2k API documentation. Copyright © 2000–2018 headissue GmbH, Munich.