Interface EvictionMetrics


  • public interface EvictionMetrics
    Access to eviction metrics. Eviction counters are separate from CommonMetrics because its more efficient to implement these counters within the eviction algorithm and its respective locking.
    Author:
    Jens Wilke
    • Method Detail

      • getVirginRemovedCount

        long getVirginRemovedCount()
        Removal of an entry that was never used
      • 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