Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


com.tangosol.net.cache
Class CompactSerializationCache.TouchCountVisitor

java.lang.Object
  extended by com.tangosol.net.cache.CompactSerializationCache.TouchCountVisitor

All Implemented Interfaces:
BinaryLongMap.EntryVisitor, MultiBinaryLongMap.SafeEntryVisitor
Enclosing class:
CompactSerializationCache

protected static class CompactSerializationCache.TouchCountVisitor
extends java.lang.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
protected  int m_cTouchesLast
          The touch-count of the last visited entry.

 

Constructor Summary
protected CompactSerializationCache.TouchCountVisitor()
           

 

Method Summary
 void visit(BinaryLongMap.Entry entry)
          Visit the specified entry.

 

Field Detail

m_cTouchesLast

protected int m_cTouchesLast
The touch-count of the last visited entry.

Constructor Detail

CompactSerializationCache.TouchCountVisitor

protected CompactSerializationCache.TouchCountVisitor()

Method Detail

visit

public void visit(BinaryLongMap.Entry entry)
Visit the specified entry.
Specified by:
visit in interface BinaryLongMap.EntryVisitor
Parameters:
entry - the entry

Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.