Package org.cache2k.core.eviction
Interface EvictionMetrics
-
public interface EvictionMetricsAccess to eviction metrics. Eviction counters are separate fromCommonMetricsbecause its more efficient to implement these counters within the eviction algorithm and its respective locking.- Author:
- Jens Wilke
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetEvictedCount()Number of entries evictedlonggetEvictedWeight()Accumulated weight of evicted or deleted entriesintgetEvictionRunningCount()Number of eviction currently going onlonggetExpiredRemovedCount()Removed entries, because expiredlonggetMaxSize()Size limit after eviction kicks inlonggetMaxWeight()longgetNewEntryCount()longgetRemovedCount()longgetSize()Number of entries in the eviction data structurelonggetTotalWeight()Accumulated weight of all entries currently controlled by eviction.longgetVirginRemovedCount()Removal of an entry that was never used
-
-
-
Method Detail
-
getNewEntryCount
long getNewEntryCount()
- See Also:
InternalCacheInfo.getNewEntryCount()
-
getRemovedCount
long getRemovedCount()
- See Also:
InternalCacheInfo.getRemoveCount()
-
getExpiredRemovedCount
long getExpiredRemovedCount()
Removed entries, because expired- See Also:
InternalCacheInfo.getExpiredCount()
-
getVirginRemovedCount
long getVirginRemovedCount()
Removal of an entry that was never used
-
getEvictedCount
long getEvictedCount()
Number of entries evicted- See Also:
InternalCacheInfo.getEvictedCount()
-
getEvictionRunningCount
int getEvictionRunningCount()
Number of eviction currently going on
-
getSize
long getSize()
Number of entries in the eviction data structure
-
getMaxSize
long getMaxSize()
Size limit after eviction kicks in
-
getMaxWeight
long getMaxWeight()
-
getTotalWeight
long getTotalWeight()
Accumulated weight of all entries currently controlled by eviction.
-
getEvictedWeight
long getEvictedWeight()
Accumulated weight of evicted or deleted entries
-
-