|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.terracotta.modules.ehcache.store.nonstop.ExceptionOnTimeoutStore
public final class ExceptionOnTimeoutStore
Implementation of NonstopStore that throws NonStopCacheException for all operations.
| 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 ExceptionOnTimeoutStore getInstance()
public Element get(Object key)
throws IllegalStateException,
CacheException
Throws NonStopCacheException
get in interface StoreIllegalStateException
CacheException
public Element getQuiet(Object key)
throws IllegalStateException,
CacheException
getQuiet in interface StoreIllegalStateException
CacheExceptionpublic Map<Object,Element> getAllQuiet(Collection<?> keys)
Throws NonStopCacheException
getAllQuiet in interface Storepublic Map<Object,Element> getAll(Collection<?> keys)
Throws NonStopCacheException
getAll in interface Store
public List getKeys()
throws IllegalStateException,
CacheException
Throws NonStopCacheException
getKeys in interface StoreIllegalStateException
CacheException
public boolean put(Element element)
throws IllegalArgumentException,
IllegalStateException,
CacheException
Throws NonStopCacheException
put in interface StoreIllegalArgumentException
IllegalStateException
CacheException
public void putAll(Collection<Element> elements)
throws CacheException
Throws NonStopCacheException
putAll in interface StoreCacheException
public Element remove(Object key)
throws IllegalStateException
Throws NonStopCacheException
remove in interface StoreIllegalStateException
public void removeAll(Collection<?> keys)
throws IllegalStateException
Throws NonStopCacheException
removeAll in interface StoreIllegalStateException
public void removeAll()
throws IllegalStateException,
CacheException
Throws NonStopCacheException
removeAll in interface StoreIllegalStateException
CacheException
public void flush()
throws IllegalStateException,
CacheException
Throws NonStopCacheException
flush in interface StoreIllegalStateException
CacheExceptionpublic Object getInternalContext()
Throws NonStopCacheException
getInternalContext in interface Store
public int getSize()
throws IllegalStateException,
CacheException
Throws NonStopCacheException
getSize in interface StoreIllegalStateException
CacheException
public Element putIfAbsent(Element element)
throws NullPointerException
Throws NonStopCacheException
putIfAbsent in interface StoreNullPointerException
public Element replace(Element element)
throws NullPointerException
Throws NonStopCacheException
replace in interface StoreNullPointerExceptionpublic void addStoreListener(StoreListener listener)
Throws NonStopCacheException
addStoreListener in interface Storepublic boolean bufferFull()
Throws NonStopCacheException
bufferFull in interface Storepublic boolean containsKey(Object key)
Throws NonStopCacheException
containsKey in interface Storepublic boolean containsKeyInMemory(Object key)
Throws NonStopCacheException
containsKeyInMemory in interface Storepublic boolean containsKeyOffHeap(Object key)
Throws NonStopCacheException
containsKeyOffHeap in interface Storepublic boolean containsKeyOnDisk(Object key)
Throws NonStopCacheException
containsKeyOnDisk in interface Storepublic void dispose()
Throws NonStopCacheException
dispose in interface Storepublic Results executeQuery(StoreQuery query)
Throws NonStopCacheException
executeQuery in interface Storepublic void expireElements()
Throws NonStopCacheException
expireElements in interface Storepublic Policy getInMemoryEvictionPolicy()
Throws NonStopCacheException
getInMemoryEvictionPolicy in interface Storepublic int getInMemorySize()
Throws NonStopCacheException
getInMemorySize in interface Storepublic long getInMemorySizeInBytes()
Throws NonStopCacheException
getInMemorySizeInBytes in interface Storepublic Object getMBean()
Throws NonStopCacheException
getMBean in interface Storepublic int getOffHeapSize()
Throws NonStopCacheException
getOffHeapSize in interface Storepublic long getOffHeapSizeInBytes()
Throws NonStopCacheException
getOffHeapSizeInBytes in interface Storepublic int getOnDiskSize()
Throws NonStopCacheException
getOnDiskSize in interface Storepublic long getOnDiskSizeInBytes()
Throws NonStopCacheException
getOnDiskSizeInBytes in interface Storepublic boolean hasAbortedSizeOf()
Throws NonStopCacheException
hasAbortedSizeOf in interface Storepublic Status getStatus()
Throws NonStopCacheException
getStatus in interface Storepublic int getTerracottaClusteredSize()
Throws NonStopCacheException
getTerracottaClusteredSize in interface Storepublic boolean isCacheCoherent()
Throws NonStopCacheException
isCacheCoherent in interface Storepublic boolean isClusterCoherent()
Throws NonStopCacheException
isClusterCoherent in interface Storepublic boolean isNodeCoherent()
Throws NonStopCacheException
isNodeCoherent in interface Store
public boolean putWithWriter(Element element,
CacheWriterManager writerManager)
throws CacheException
Throws NonStopCacheException
putWithWriter in interface StoreCacheException
public Element removeElement(Element element,
ElementValueComparator comparator)
throws NullPointerException
Throws NonStopCacheException
removeElement in interface StoreNullPointerExceptionpublic void removeStoreListener(StoreListener listener)
Throws NonStopCacheException
removeStoreListener in interface Store
public Element removeWithWriter(Object key,
CacheWriterManager writerManager)
throws CacheException
Throws NonStopCacheException
removeWithWriter in interface StoreCacheException
public boolean replace(Element old,
Element element,
ElementValueComparator comparator)
throws NullPointerException,
IllegalArgumentException
Throws NonStopCacheException
replace in interface StoreNullPointerException
IllegalArgumentExceptionpublic void setAttributeExtractors(Map<String,AttributeExtractor> extractors)
Throws NonStopCacheException
setAttributeExtractors in interface Storepublic void setInMemoryEvictionPolicy(Policy policy)
Throws NonStopCacheException
setInMemoryEvictionPolicy in interface Store
public void setNodeCoherent(boolean coherent)
throws UnsupportedOperationException
Throws NonStopCacheException
setNodeCoherent in interface StoreUnsupportedOperationException
public void waitUntilClusterCoherent()
throws UnsupportedOperationException
Throws NonStopCacheException
waitUntilClusterCoherent in interface StoreUnsupportedOperationExceptionpublic <T> Attribute<T> getSearchAttribute(String attributeName)
Throws NonStopCacheException
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 | |||||||||