org.terracotta.offheapstore.pinning
Interface PinnableCache<K,V>

All Superinterfaces:
ConcurrentMap<K,V>, Map<K,V>
All Known Subinterfaces:
PinnableSegment<K,V>
All Known Implementing Classes:
AbstractConcurrentOffHeapCache, AbstractOffHeapClockCache, AbstractPersistentOffHeapCache, ConcurrentOffHeapClockCache, ConcurrentWriteLockedOffHeapClockCache, EvictionListeningReadWriteLockedOffHeapClockCache, EvictionListeningWriteLockedOffHeapClockCache, PersistentReadWriteLockedOffHeapClockCache, ReadWriteLockedOffHeapClockCache, WriteLockedOffHeapClockCache

public interface PinnableCache<K,V>
extends ConcurrentMap<K,V>


Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Method Summary
 boolean isPinned(Object key)
           
 V putPinned(K key, V value)
           
 void setPinning(K key, boolean pinned)
           
 
Methods inherited from interface java.util.concurrent.ConcurrentMap
putIfAbsent, remove, replace, replace
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Method Detail

isPinned

boolean isPinned(Object key)

setPinning

void setPinning(K key,
                boolean pinned)

putPinned

V putPinned(K key,
            V value)


Copyright © 2015. All Rights Reserved.