public interface TierStatistics
Modifier and Type | Method and Description |
---|---|
void |
clear()
Reset the values for this tier.
|
long |
getAllocatedByteSize()
How many bytes are currently allocated (occupied or not) for this tier
|
long |
getEvictions()
How many evictions occurred on the tier since its creation or the latest
clear() |
long |
getExpirations()
How many expirations occurred on the tier since its creation or the latest
clear() |
long |
getHits()
How many hits occurred on the tier since its creation or the latest
clear() |
long |
getMappings()
Number of entries currently in this tier
|
long |
getMisses()
How many misses occurred on the tier since its creation or the latest
clear() |
long |
getOccupiedByteSize()
How many bytes are currently occupied for this tier
|
long |
getPuts()
How many puts occurred on the tier since its creation or the latest
clear() |
long |
getRemovals()
How many removals occurred on the tier since its creation or the latest
clear() |
void clear()
mapping, allocatedMemory, occupiedMemory
won't be reset since it doesn't make sense.
Implementation note: Calling clear doesn't really clear the data. It freezes the actual values and compensate for them when returning a result.
long getHits()
clear()
long getMisses()
clear()
long getPuts()
clear()
long getRemovals()
clear()
long getEvictions()
clear()
long getExpirations()
clear()
long getMappings()
long getAllocatedByteSize()
long getOccupiedByteSize()