public final class NoOpOnTimeoutStore extends Object implements TerracottaStore
TerracottaStore which returns null for all get operations and does nothing for puts and
removes.CLUSTER_COHERENT, NODE_COHERENTpublic 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 Results executeQuery(StoreQuery query)
executeQuery in interface Storepublic void expireElements()
expireElements 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 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 Map<Object,Element> getAllQuiet(Collection<?> keys)
getAllQuiet in interface Storepublic Map<Object,Element> getAll(Collection<?> keys)
public int getTerracottaClusteredSize()
getTerracottaClusteredSize in interface Storepublic boolean isCacheCoherent()
isCacheCoherent in interface Storepublic boolean isClusterCoherent()
isClusterCoherent in interface Storepublic boolean isNodeCoherent()
isNodeCoherent in interface Storepublic boolean put(Element element) throws CacheException
put in interface StoreCacheExceptionpublic void putAll(Collection<Element> elements) throws CacheException
putAll in interface StoreCacheExceptionpublic Element putIfAbsent(Element element)
putIfAbsent in interface Storepublic boolean putWithWriter(Element element, CacheWriterManager writerManager) throws CacheException
putWithWriter in interface StoreCacheExceptionpublic void removeAll(Collection<?> keys)
public void removeAll()
throws CacheException
removeAll in interface StoreCacheExceptionpublic Element removeElement(Element element, ElementValueComparator comparator)
removeElement in interface Storepublic void removeStoreListener(StoreListener listener)
removeStoreListener in interface Storepublic Element removeWithWriter(Object key, CacheWriterManager writerManager) throws CacheException
removeWithWriter in interface StoreCacheExceptionpublic boolean replace(Element old, Element element, ElementValueComparator comparator)
public void setAttributeExtractors(Map<String,AttributeExtractor> extractors)
setAttributeExtractors in interface Storepublic void setInMemoryEvictionPolicy(Policy policy)
setInMemoryEvictionPolicy in interface Storepublic void setNodeCoherent(boolean coherent)
throws UnsupportedOperationException
setNodeCoherent in interface StoreUnsupportedOperationExceptionpublic void waitUntilClusterCoherent()
throws UnsupportedOperationException
waitUntilClusterCoherent in interface StoreUnsupportedOperationExceptionpublic Set<Attribute> getSearchAttributes()
getSearchAttributes in interface Storepublic <T> Attribute<T> getSearchAttribute(String attributeName)
getSearchAttribute in interface Storepublic Set getLocalKeys()
getLocalKeys in interface TerracottaStorepublic CacheConfiguration.TransactionalMode getTransactionalMode()
getTransactionalMode in interface TerracottaStorepublic Element unsafeGet(Object key)
unsafeGet in interface TerracottaStorepublic void quickClear()
quickClear in interface TerracottaStorepublic int quickSize()
quickSize in interface TerracottaStorepublic void recalculateSize(Object key)
recalculateSize in interface Storepublic WriteBehind createWriteBehind()
createWriteBehind in interface TerracottaStorepublic void notifyCacheEventListenersChanged()
notifyCacheEventListenersChanged in interface TerracottaStoreCopyright © 2003–2024 Terracotta, Inc.. All rights reserved.