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
Fields Modifier and Type Field Description protected int
m_cTouchesLast
The touch-count of the last visited entry.
-
Constructor Summary
Constructors Modifier Constructor Description protected
TouchCountVisitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
visit(BinaryLongMap.Entry entry)
Visit the specified entry.
-
-
-
Method Detail
-
visit
public void visit(BinaryLongMap.Entry entry)
Visit the specified entry.- Specified by:
visit
in interfaceBinaryLongMap.EntryVisitor
- Parameters:
entry
- the entry
-
-