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 intm_cTouchesLastThe touch-count of the last visited entry.
-
Constructor Summary
Constructors Modifier Constructor Description protectedTouchCountVisitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvisit(BinaryLongMap.Entry entry)Visit the specified entry.
-
-
-
Method Detail
-
visit
public void visit(BinaryLongMap.Entry entry)
Visit the specified entry.- Specified by:
visitin interfaceBinaryLongMap.EntryVisitor- Parameters:
entry- the entry
-
-