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 Summary
FieldsModifier and TypeFieldDescriptionprotected intThe touch-count of the last visited entry. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvisit(BinaryLongMap.Entry entry) Visit the specified entry.
-
Field Details
-
m_cTouchesLast
protected int m_cTouchesLastThe touch-count of the last visited entry.
-
-
Constructor Details
-
TouchCountVisitor
protected TouchCountVisitor()
-
-
Method Details
-
visit
Visit the specified entry.- Specified by:
visitin interfaceBinaryLongMap.EntryVisitor- Parameters:
entry- the entry
-