Package net.sf.ehcache.store
Interface AuthoritativeTier
-
-
Field Summary
-
Fields inherited from interface net.sf.ehcache.store.Store
CLUSTER_COHERENT, NODE_COHERENT
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Elementfault(java.lang.Object key, boolean updateStats)Marks the entry as not evictable and returns it atomicallyvoidflush(Element element)This marks the entry as evictable again and updates relevant access statsbooleanputFaulted(Element element)Deprecated.-
Methods inherited from interface net.sf.ehcache.store.Store
addStoreListener, bufferFull, containsKey, containsKeyInMemory, containsKeyOffHeap, containsKeyOnDisk, dispose, executeQuery, expireElements, flush, get, getAll, getAllQuiet, getInMemoryEvictionPolicy, getInMemorySize, getInMemorySizeInBytes, getInternalContext, getKeys, getMBean, getOffHeapSize, getOffHeapSizeInBytes, getOnDiskSize, getOnDiskSizeInBytes, getQuiet, getSearchAttribute, getSearchAttributes, getSize, getStatus, getTerracottaClusteredSize, hasAbortedSizeOf, isCacheCoherent, isClusterCoherent, isNodeCoherent, put, putAll, putIfAbsent, putWithWriter, recalculateSize, remove, removeAll, removeAll, removeElement, removeStoreListener, removeWithWriter, replace, replace, setAttributeExtractors, setInMemoryEvictionPolicy, setNodeCoherent, waitUntilClusterCoherent
-
-
-
-
Method Detail
-
fault
Element fault(java.lang.Object key, boolean updateStats)
Marks the entry as not evictable and returns it atomically- Parameters:
key-updateStats-- Returns:
-
putFaulted
@Deprecated boolean putFaulted(Element element)
Deprecated.Stupid "implicit" contract in tests that dictates that entries put, will be in highest tier!- Parameters:
element-- Returns:
-
flush
void flush(Element element)
This marks the entry as evictable again and updates relevant access stats- Parameters:
element-
-
-