public final class RejoinWithoutNonStopStore extends Object implements TerracottaStore
CLUSTER_COHERENT, NODE_COHERENTpublic static RejoinWithoutNonStopStore getInstance()
public Element get(Object key) throws RejoinCacheException
Throws RejoinCacheException
get in interface StoreRejoinCacheExceptionpublic Element getQuiet(Object key) throws RejoinCacheException
getQuiet in interface StoreRejoinCacheExceptionpublic Map<Object,Element> getAllQuiet(Collection<?> keys) throws RejoinCacheException
Throws RejoinCacheException
getAllQuiet in interface StoreRejoinCacheExceptionpublic Map<Object,Element> getAll(Collection<?> keys) throws RejoinCacheException
Throws RejoinCacheException
getAll in interface StoreRejoinCacheExceptionpublic List getKeys() throws RejoinCacheException
Throws RejoinCacheException
getKeys in interface StoreRejoinCacheExceptionpublic boolean put(Element element) throws RejoinCacheException
Throws RejoinCacheException
put in interface StoreRejoinCacheExceptionpublic void putAll(Collection<Element> elements) throws RejoinCacheException
Throws RejoinCacheException
putAll in interface StoreRejoinCacheExceptionpublic Element remove(Object key) throws RejoinCacheException
Throws RejoinCacheException
remove in interface StoreRejoinCacheExceptionpublic void removeAll(Collection<?> keys) throws RejoinCacheException
Throws RejoinCacheException
removeAll in interface StoreRejoinCacheExceptionpublic void removeAll()
throws RejoinCacheException
Throws RejoinCacheException
removeAll in interface StoreRejoinCacheExceptionpublic void flush()
throws RejoinCacheException
Throws RejoinCacheException
flush in interface StoreRejoinCacheExceptionpublic Object getInternalContext() throws RejoinCacheException
Throws RejoinCacheException
getInternalContext in interface StoreRejoinCacheExceptionpublic int getSize()
throws RejoinCacheException
Throws RejoinCacheException
getSize in interface StoreRejoinCacheExceptionpublic Element putIfAbsent(Element element) throws RejoinCacheException
Throws RejoinCacheException
putIfAbsent in interface StoreRejoinCacheExceptionpublic Element replace(Element element) throws RejoinCacheException
Throws RejoinCacheException
replace in interface StoreRejoinCacheExceptionpublic void addStoreListener(StoreListener listener) throws RejoinCacheException
Throws RejoinCacheException
addStoreListener in interface StoreRejoinCacheExceptionpublic boolean bufferFull()
throws RejoinCacheException
Throws RejoinCacheException
bufferFull in interface StoreRejoinCacheExceptionpublic boolean containsKey(Object key) throws RejoinCacheException
Throws RejoinCacheException
containsKey in interface StoreRejoinCacheExceptionpublic boolean containsKeyInMemory(Object key) throws RejoinCacheException
Throws RejoinCacheException
containsKeyInMemory in interface StoreRejoinCacheExceptionpublic boolean containsKeyOffHeap(Object key) throws RejoinCacheException
Throws RejoinCacheException
containsKeyOffHeap in interface StoreRejoinCacheExceptionpublic boolean containsKeyOnDisk(Object key) throws RejoinCacheException
Throws RejoinCacheException
containsKeyOnDisk in interface StoreRejoinCacheExceptionpublic void dispose()
throws RejoinCacheException
Throws RejoinCacheException
dispose in interface StoreRejoinCacheExceptionpublic Results executeQuery(StoreQuery query) throws RejoinCacheException
Throws RejoinCacheException
executeQuery in interface StoreRejoinCacheExceptionpublic void expireElements()
throws RejoinCacheException
Throws RejoinCacheException
expireElements in interface StoreRejoinCacheExceptionpublic Policy getInMemoryEvictionPolicy() throws RejoinCacheException
Throws RejoinCacheException
getInMemoryEvictionPolicy in interface StoreRejoinCacheExceptionpublic int getInMemorySize()
throws RejoinCacheException
Throws RejoinCacheException
getInMemorySize in interface StoreRejoinCacheExceptionpublic long getInMemorySizeInBytes()
throws RejoinCacheException
Throws RejoinCacheException
getInMemorySizeInBytes in interface StoreRejoinCacheExceptionpublic Object getMBean() throws RejoinCacheException
Throws RejoinCacheException
getMBean in interface StoreRejoinCacheExceptionpublic int getOffHeapSize()
throws RejoinCacheException
Throws RejoinCacheException
getOffHeapSize in interface StoreRejoinCacheExceptionpublic long getOffHeapSizeInBytes()
throws RejoinCacheException
Throws RejoinCacheException
getOffHeapSizeInBytes in interface StoreRejoinCacheExceptionpublic int getOnDiskSize()
throws RejoinCacheException
Throws RejoinCacheException
getOnDiskSize in interface StoreRejoinCacheExceptionpublic long getOnDiskSizeInBytes()
throws RejoinCacheException
Throws RejoinCacheException
getOnDiskSizeInBytes in interface StoreRejoinCacheExceptionpublic boolean hasAbortedSizeOf()
throws RejoinCacheException
Throws RejoinCacheException
hasAbortedSizeOf in interface StoreRejoinCacheExceptionpublic Status getStatus() throws RejoinCacheException
Throws RejoinCacheException
getStatus in interface StoreRejoinCacheExceptionpublic int getTerracottaClusteredSize()
throws RejoinCacheException
Throws RejoinCacheException
getTerracottaClusteredSize in interface StoreRejoinCacheExceptionpublic boolean isCacheCoherent()
throws RejoinCacheException
Throws RejoinCacheException
isCacheCoherent in interface StoreRejoinCacheExceptionpublic boolean isClusterCoherent()
throws RejoinCacheException
Throws RejoinCacheException
isClusterCoherent in interface StoreRejoinCacheExceptionpublic boolean isNodeCoherent()
throws RejoinCacheException
Throws RejoinCacheException
isNodeCoherent in interface StoreRejoinCacheExceptionpublic boolean putWithWriter(Element element, CacheWriterManager writerManager) throws RejoinCacheException
Throws RejoinCacheException
putWithWriter in interface StoreRejoinCacheExceptionpublic Element removeElement(Element element, ElementValueComparator comparator) throws RejoinCacheException
Throws RejoinCacheException
removeElement in interface StoreRejoinCacheExceptionpublic void removeStoreListener(StoreListener listener) throws RejoinCacheException
Throws RejoinCacheException
removeStoreListener in interface StoreRejoinCacheExceptionpublic Element removeWithWriter(Object key, CacheWriterManager writerManager) throws RejoinCacheException
Throws RejoinCacheException
removeWithWriter in interface StoreRejoinCacheExceptionpublic boolean replace(Element old, Element element, ElementValueComparator comparator) throws NullPointerException, IllegalArgumentException
Throws RejoinCacheException
replace in interface StoreNullPointerExceptionIllegalArgumentExceptionpublic void setAttributeExtractors(Map<String,AttributeExtractor> extractors) throws RejoinCacheException
Throws RejoinCacheException
setAttributeExtractors in interface StoreRejoinCacheExceptionpublic void setInMemoryEvictionPolicy(Policy policy) throws RejoinCacheException
Throws RejoinCacheException
setInMemoryEvictionPolicy in interface StoreRejoinCacheExceptionpublic void setNodeCoherent(boolean coherent)
throws RejoinCacheException
Throws RejoinCacheException
setNodeCoherent in interface StoreRejoinCacheExceptionpublic void waitUntilClusterCoherent()
throws RejoinCacheException
Throws RejoinCacheException
waitUntilClusterCoherent in interface StoreRejoinCacheExceptionpublic Set<Attribute> getSearchAttributes() throws RejoinCacheException
getSearchAttributes in interface StoreRejoinCacheExceptionpublic <T> Attribute<T> getSearchAttribute(String attributeName) throws RejoinCacheException
Throws RejoinCacheException
getSearchAttribute in interface StoreRejoinCacheExceptionpublic Set getLocalKeys() throws RejoinCacheException
getLocalKeys in interface TerracottaStoreRejoinCacheExceptionpublic CacheConfiguration.TransactionalMode getTransactionalMode() throws RejoinCacheException
getTransactionalMode in interface TerracottaStoreRejoinCacheExceptionpublic Element unlockedGet(Object key) throws RejoinCacheException
RejoinCacheExceptionpublic Element unlockedGetQuiet(Object key) throws RejoinCacheException
RejoinCacheExceptionpublic Element unsafeGet(Object key) throws RejoinCacheException
unsafeGet in interface TerracottaStoreRejoinCacheExceptionpublic void quickClear()
quickClear in interface TerracottaStorepublic int quickSize()
quickSize in interface TerracottaStorepublic Element unsafeGetQuiet(Object key) throws RejoinCacheException
RejoinCacheExceptionpublic 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.