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.
- Since:
- Coherence 12.1.2
- Author:
- rhl 2013.01.23
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int
The touch-count of the last visited entry. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
visit
(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:
visit
in interfaceBinaryLongMap.EntryVisitor
- Parameters:
entry
- the entry
-