|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.terracotta.modules.ehcache.store.nonstop.NoOpOnTimeoutStore
public final class NoOpOnTimeoutStore
Implementation of NonstopStore which returns null for all get operations and does nothing for puts and
removes.
| Field Summary |
|---|
| Fields inherited from interface net.sf.ehcache.store.Store |
|---|
CLUSTER_COHERENT, NODE_COHERENT |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static NoOpOnTimeoutStore getInstance()
public void addStoreListener(StoreListener listener)
addStoreListener in interface Storepublic boolean bufferFull()
bufferFull in interface Storepublic boolean containsKey(Object key)
containsKey in interface Storepublic boolean containsKeyInMemory(Object key)
containsKeyInMemory in interface Storepublic boolean containsKeyOffHeap(Object key)
containsKeyOffHeap in interface Storepublic boolean containsKeyOnDisk(Object key)
containsKeyOnDisk in interface Storepublic void dispose()
dispose in interface Storepublic Results executeQuery(StoreQuery query)
executeQuery in interface Storepublic void expireElements()
expireElements in interface Storepublic void flush()
flush in interface Storepublic Element get(Object key)
get in interface Storepublic Policy getInMemoryEvictionPolicy()
getInMemoryEvictionPolicy in interface Storepublic int getInMemorySize()
getInMemorySize in interface Storepublic long getInMemorySizeInBytes()
getInMemorySizeInBytes in interface Storepublic Object getInternalContext()
getInternalContext in interface Storepublic List getKeys()
getKeys in interface Storepublic Object getMBean()
getMBean in interface Storepublic int getOffHeapSize()
getOffHeapSize in interface Storepublic long getOffHeapSizeInBytes()
getOffHeapSizeInBytes in interface Storepublic int getOnDiskSize()
getOnDiskSize in interface Storepublic long getOnDiskSizeInBytes()
getOnDiskSizeInBytes in interface Storepublic boolean hasAbortedSizeOf()
hasAbortedSizeOf in interface Storepublic Element getQuiet(Object key)
getQuiet in interface Storepublic Map<Object,Element> getAllQuiet(Collection<?> keys)
getAllQuiet in interface Storepublic Map<Object,Element> getAll(Collection<?> keys)
getAll in interface Storepublic int getSize()
getSize in interface Storepublic Status getStatus()
getStatus in interface Storepublic int getTerracottaClusteredSize()
getTerracottaClusteredSize in interface Storepublic boolean isCacheCoherent()
isCacheCoherent in interface Storepublic boolean isClusterCoherent()
isClusterCoherent in interface Storepublic boolean isNodeCoherent()
isNodeCoherent in interface Store
public boolean put(Element element)
throws CacheException
put in interface StoreCacheException
public void putAll(Collection<Element> elements)
throws CacheException
putAll in interface StoreCacheExceptionpublic Element putIfAbsent(Element element)
putIfAbsent in interface Store
public boolean putWithWriter(Element element,
CacheWriterManager writerManager)
throws CacheException
putWithWriter in interface StoreCacheExceptionpublic Element remove(Object key)
remove in interface Storepublic void removeAll(Collection<?> keys)
removeAll in interface Store
public void removeAll()
throws CacheException
removeAll in interface StoreCacheException
public Element removeElement(Element element,
ElementValueComparator comparator)
removeElement in interface Storepublic void removeStoreListener(StoreListener listener)
removeStoreListener in interface Store
public Element removeWithWriter(Object key,
CacheWriterManager writerManager)
throws CacheException
removeWithWriter in interface StoreCacheException
public boolean replace(Element old,
Element element,
ElementValueComparator comparator)
replace in interface Storepublic Element replace(Element element)
replace in interface Storepublic void setAttributeExtractors(Map<String,AttributeExtractor> extractors)
setAttributeExtractors in interface Storepublic void setInMemoryEvictionPolicy(Policy policy)
setInMemoryEvictionPolicy in interface Store
public void setNodeCoherent(boolean coherent)
throws UnsupportedOperationException
setNodeCoherent in interface StoreUnsupportedOperationException
public void waitUntilClusterCoherent()
throws UnsupportedOperationException
waitUntilClusterCoherent in interface StoreUnsupportedOperationExceptionpublic <T> Attribute<T> getSearchAttribute(String attributeName)
getSearchAttribute in interface Storepublic Set getLocalKeys()
getLocalKeys in interface TerracottaStorepublic CacheConfiguration.TransactionalMode getTransactionalMode()
getTransactionalMode in interface TerracottaStorepublic Element unlockedGet(Object key)
public Element unlockedGetQuiet(Object key)
public Element unsafeGet(Object key)
unsafeGet in interface TerracottaStorepublic Element unsafeGetQuiet(Object key)
public void recalculateSize(Object key)
recalculateSize in interface Storepublic WriteBehind createWriteBehind()
createWriteBehind in interface TerracottaStore
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||