Package com.tangosol.net.cache
Class CompactSerializationCache.TouchCountVisitor
java.lang.Object
com.tangosol.net.cache.CompactSerializationCache.TouchCountVisitor
- All Implemented Interfaces:
- BinaryLongMap.EntryVisitor,- MultiBinaryLongMap.SafeEntryVisitor
- Enclosing class:
- CompactSerializationCache
protected static class CompactSerializationCache.TouchCountVisitor
extends Object
implements MultiBinaryLongMap.SafeEntryVisitor
TouchCountVisitor is applied to the touch-count map by EvictionPolicy
 implementations that rely on the touch-count to retrieve and adjust
 the touch-count.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected intThe touch-count of the last visited entry.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidvisit(BinaryLongMap.Entry entry) Visit the specified entry.
- 
Field Details- 
m_cTouchesLastprotected int m_cTouchesLastThe touch-count of the last visited entry.
 
- 
- 
Constructor Details- 
TouchCountVisitorprotected TouchCountVisitor()
 
- 
- 
Method Details- 
visitVisit the specified entry.- Specified by:
- visitin interface- BinaryLongMap.EntryVisitor
- Parameters:
- entry- the entry
 
 
-