Class CompactSerializationCache.InternalEvictionPolicy.EvictionCandidate

java.lang.Object
com.tangosol.net.cache.CompactSerializationCache.InternalEvictionPolicy.EvictionCandidate
All Implemented Interfaces:
Comparable
Enclosing class:
CompactSerializationCache.InternalEvictionPolicy

protected class CompactSerializationCache.InternalEvictionPolicy.EvictionCandidate extends Object implements Comparable
EvictionCandidate represents a candidate for eviction during the calculation of the eviction set, representing the key, its relative "weight" as assigned by the configured ConfigurableCacheMap.EvictionPolicy as well as its size in units.
Since:
Coherence 12.1.2
Author:
rhl 2013.01.23
  • Field Details

    • m_binKey

      protected Binary m_binKey
      The Binary key represented by this EvictionCandidate.
    • m_lWeight

      protected long m_lWeight
      The calculated eviction weight (priority) of the key.
    • m_cUnits

      protected long m_cUnits
      The size in units of the associated entry.
  • Constructor Details

    • EvictionCandidate

      public EvictionCandidate(Binary binKey, long lWeight, long cUnits)
      Construct a EvictionCandidate for the specified key and weight.
      Parameters:
      binKey - the key
      lWeight - the weight
      cUnits - the unit
  • Method Details