Top Description Fields Methods
net.sf.ehcache.store

public Interface AuthoritativeTier

extends Store
Known Direct Implementers
net.sf.ehcache.store.disk.DiskStore
Imports
net.sf.ehcache.Element

Document me
Author
Alex Snaps

Field Summary

Inherited from net.sf.ehcache.store.Store:
CLUSTER_COHERENTNODE_COHERENT

Method Summary

Modifier and TypeMethod and Description
public Element
fault(Object key, boolean updateStats)

Marks the entry as not evictable and returns it atomically

public void
flush(Element element)

This marks the entry as evictable again and updates relevant access stats

public boolean
putFaulted(Element element)

Deprecated
Stupid "implicit" contract in tests that dictates that entries put, will be in highest tier!
Inherited from net.sf.ehcache.store.Store:
addStoreListenerbufferFullcontainsKeycontainsKeyInMemorycontainsKeyOffHeapcontainsKeyOnDiskdisposeexecuteQueryexpireElementsflushgetgetAllgetAllQuietgetInMemoryEvictionPolicygetInMemorySizegetInMemorySizeInBytesgetInternalContextgetKeysgetMBeangetOffHeapSizegetOffHeapSizeInBytesgetOnDiskSizegetOnDiskSizeInBytesgetQuietgetSearchAttributegetSearchAttributesgetSizegetStatusgetTerracottaClusteredSizehasAbortedSizeOfisCacheCoherentisClusterCoherentisNodeCoherentputputAllputIfAbsentputWithWriterrecalculateSizeremoveremoveAllremoveAllremoveElementremoveStoreListenerremoveWithWriterreplacereplacesetAttributeExtractorssetInMemoryEvictionPolicysetNodeCoherentwaitUntilClusterCoherent

Method Detail

faultback to summary
public Element fault(Object key, boolean updateStats)

Marks the entry as not evictable and returns it atomically

flushback to summary
public void flush(Element element)

This marks the entry as evictable again and updates relevant access stats

putFaultedback to summary
public boolean putFaulted(Element element)

Deprecated

Stupid "implicit" contract in tests that dictates that entries put, will be in highest tier!

Annotations
@Deprecated