| 
 | Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 | |||||||
| 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.EvictionVisitor
com.tangosol.net.cache.CompactSerializationCache.InternalEvictionPolicy.EvictionVisitor
protected class CompactSerializationCache.InternalEvictionPolicy.EvictionVisitor
SafeEntryVisitor implementation that calculates the set of eviction candidates.
The EvictionVisitor is to be applied to Entries of a BinaryLongMap that associates cache keys to their size in units (as determined by the configured unit-calculator).
| Field Summary | |
|---|---|
| protected  long | f_cUnitsToEvictThe minimum number of units to evict. | 
| protected  java.util.SortedSet | f_setEvictingThe Map containing the keys which are candidates for eviction, mapped to their size in units. | 
| protected  long | m_cUnitsEvictingThe number of units occupied by the entries in the eviction set. | 
| protected  long | m_lKeepThresholdThe weight of the lightest entry that we have decided to keep. | 
| Constructor Summary | |
|---|---|
| CompactSerializationCache.InternalEvictionPolicy.EvictionVisitor(long cLowUnits)Construct an EvictionVisitor to identify the set of keys to evict from the cache in order to prune the cache down to the specified low-units threshold | |
| Method Summary | |
|---|---|
|  void | visit(BinaryLongMap.Entry entry)Visit the specified entry. | 
| Field Detail | 
|---|
protected final java.util.SortedSet f_setEvicting
protected final long f_cUnitsToEvict
protected long m_cUnitsEvicting
protected long m_lKeepThreshold
| Constructor Detail | 
|---|
public CompactSerializationCache.InternalEvictionPolicy.EvictionVisitor(long cLowUnits)
cLowUnits - the low-units threshold to prune the cache to| Method Detail | 
|---|
public void visit(BinaryLongMap.Entry entry)
visit in interface BinaryLongMap.EntryVisitorentry - the entry| 
 | Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||