|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
com.tangosol.net.cache.CompactSerializationCache.InternalEvictionPolicy.EvictionCandidate
protected class CompactSerializationCache.InternalEvictionPolicy.EvictionCandidate
EvictionCandidate represents a candidate for eviction during the calculation of the eviction set, representing the key, its relative "weight" as assigned by the configured CompactSerializationCache.InternalEvictionPolicy as well as its size in units.
| Field Summary | |
|---|---|
protected Binary |
m_binKeyThe Binary key represented by this EvictionCandidate. |
protected long |
m_cUnitsThe size in units of the associated entry. |
protected long |
m_lWeightThe calculated eviction weight (priority) of the key. |
| Constructor Summary | |
|---|---|
CompactSerializationCache.InternalEvictionPolicy.EvictionCandidate(Binary binKey, long lWeight, long cUnits)Construct a EvictionCandidate for the specified key and weight. |
|
| Method Summary | |
|---|---|
int |
compareTo(java.lang.Object o) |
| Field Detail |
|---|
protected Binary m_binKey
protected long m_lWeight
protected long m_cUnits
| Constructor Detail |
|---|
public CompactSerializationCache.InternalEvictionPolicy.EvictionCandidate(Binary binKey,
long lWeight,
long cUnits)
binKey - the keylWeight - the weight| Method Detail |
|---|
public int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparable
|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||