protected class CompactSerializationCache.InternalEvictionPolicy.EvictionCandidate extends Object implements Comparable
ConfigurableCacheMap.EvictionPolicy as well as its size in units.| Modifier and Type | Field and Description |
|---|---|
protected Binary |
m_binKey
The Binary key represented by this EvictionCandidate.
|
protected long |
m_cUnits
The size in units of the associated entry.
|
protected long |
m_lWeight
The calculated eviction weight (priority) of the key.
|
| Constructor and Description |
|---|
EvictionCandidate(Binary binKey, long lWeight, long cUnits)
Construct a EvictionCandidate for the specified key and weight.
|
protected Binary m_binKey
protected long m_lWeight
protected long m_cUnits
public EvictionCandidate(Binary binKey, long lWeight, long cUnits)
binKey - the keylWeight - the weightpublic int compareTo(Object o)
compareTo in interface Comparable