ehcache

net.sf.ehcache.store
Interface AuthoritativeTier

All Superinterfaces:
Store
All Known Implementing Classes:
DiskStore

public interface AuthoritativeTier
extends Store

Document me

Author:
Alex Snaps

Field Summary
 
Fields inherited from interface net.sf.ehcache.store.Store
CLUSTER_COHERENT, NODE_COHERENT
 
Method Summary
 Element fault(Object key, boolean updateStats)
          Marks the entry as not evictable and returns it atomically
 boolean flush(Element element)
          This marks the entry as evictable again and updates relevant access stats
 boolean putFaulted(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(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

boolean flush(Element element)
This marks the entry as evictable again and updates relevant access stats

Parameters:
element -
Returns:

ehcache

Copyright 2001-2014, Terracotta, Inc.