|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.terracotta.modules.ehcache.store.nonstop.LocalReadsOnTimeoutStore
public class LocalReadsOnTimeoutStore
A NonstopStore implementation that returns the local value in the VM, if present, for get operations and
no-op for put, remove and other operations
| Field Summary |
|---|
| Fields inherited from interface net.sf.ehcache.store.Store |
|---|
CLUSTER_COHERENT, NODE_COHERENT |
| Constructor Summary | |
|---|---|
LocalReadsOnTimeoutStore(TerracottaStore delegate)
Constructor accepting the NonstopActiveDelegateHolder |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LocalReadsOnTimeoutStore(TerracottaStore delegate)
NonstopActiveDelegateHolder
| Method Detail |
|---|
public Element get(Object key)
throws IllegalStateException,
CacheException
Uses the underlying store to get the local value present in the VM
get in interface StoreIllegalStateException
CacheException
public List getKeys()
throws IllegalStateException,
CacheException
Uses the underlying store to get the local value present in the VM
getKeys in interface StoreIllegalStateException
CacheException
public Element getQuiet(Object key)
throws IllegalStateException,
CacheException
Uses the underlying store to get the local value present in the VM
getQuiet in interface StoreIllegalStateException
CacheExceptionpublic Map<Object,Element> getAllQuiet(Collection<?> keys)
getAllQuiet in interface Storepublic Map<Object,Element> getAll(Collection<?> keys)
getAll in interface Store
public boolean put(Element element)
throws IllegalArgumentException,
IllegalStateException,
CacheException
This is a no-op
put in interface StoreIllegalArgumentException
IllegalStateException
CacheException
public void putAll(Collection<Element> elements)
throws CacheException
This is a no-op
putAll in interface StoreCacheException
public Element remove(Object key)
throws IllegalStateException
This is a no-op
remove in interface StoreIllegalStateException
public void removeAll(Collection<?> keys)
throws IllegalStateException
This is a no-op
removeAll in interface StoreIllegalStateException
public void removeAll()
throws IllegalStateException,
CacheException
This is a no-op
removeAll in interface StoreIllegalStateException
CacheException
public void flush()
throws IllegalStateException,
CacheException
This is a no-op
flush in interface StoreIllegalStateException
CacheExceptionpublic Object getInternalContext()
This is a no-op and always returns null
getInternalContext in interface Store
public int getSize()
throws IllegalStateException,
CacheException
getSize in interface StoreIllegalStateException
CacheException
public Element putIfAbsent(Element element)
throws NullPointerException
This is a no-op
putIfAbsent in interface StoreNullPointerException
public Element replace(Element element)
throws NullPointerException
This is a no-op
replace in interface StoreNullPointerExceptionpublic void addStoreListener(StoreListener listener)
This is a no-op
addStoreListener in interface Storepublic boolean bufferFull()
This is a no-op
bufferFull in interface Storepublic boolean containsKey(Object key)
This is a no-op
containsKey in interface Storepublic boolean containsKeyInMemory(Object key)
This is a no-op
containsKeyInMemory in interface Storepublic boolean containsKeyOffHeap(Object key)
This is a no-op
containsKeyOffHeap in interface Storepublic boolean containsKeyOnDisk(Object key)
This is a no-op
containsKeyOnDisk in interface Storepublic void dispose()
This is a no-op
dispose in interface Storepublic Results executeQuery(StoreQuery query)
executeQuery in interface Storepublic void expireElements()
This is a no-op
expireElements in interface Storepublic Policy getInMemoryEvictionPolicy()
This is a no-op
getInMemoryEvictionPolicy in interface Storepublic int getInMemorySize()
This is a no-op
getInMemorySize in interface Storepublic long getInMemorySizeInBytes()
This is a no-op
getInMemorySizeInBytes in interface Storepublic Object getMBean()
This is a no-op
getMBean in interface Storepublic int getOffHeapSize()
This is a no-op
getOffHeapSize in interface Storepublic long getOffHeapSizeInBytes()
This is a no-op
getOffHeapSizeInBytes in interface Storepublic int getOnDiskSize()
This is a no-op
getOnDiskSize in interface Storepublic long getOnDiskSizeInBytes()
This is a no-op
getOnDiskSizeInBytes in interface Storepublic boolean hasAbortedSizeOf()
This is a no-op
hasAbortedSizeOf in interface Storepublic Status getStatus()
This is a no-op
getStatus in interface Storepublic int getTerracottaClusteredSize()
This is a no-op
getTerracottaClusteredSize in interface Storepublic boolean isCacheCoherent()
This is a no-op
isCacheCoherent in interface Storepublic boolean isClusterCoherent()
This is a no-op
isClusterCoherent in interface Storepublic boolean isNodeCoherent()
This is a no-op
isNodeCoherent in interface Store
public boolean putWithWriter(Element element,
CacheWriterManager writerManager)
throws CacheException
This is a no-op
putWithWriter in interface StoreCacheException
public Element removeElement(Element element,
ElementValueComparator comparator)
throws NullPointerException
This is a no-op
removeElement in interface StoreNullPointerExceptionpublic void removeStoreListener(StoreListener listener)
This is a no-op
removeStoreListener in interface Store
public Element removeWithWriter(Object key,
CacheWriterManager writerManager)
throws CacheException
This is a no-op
removeWithWriter in interface StoreCacheException
public boolean replace(Element old,
Element element,
ElementValueComparator comparator)
throws NullPointerException,
IllegalArgumentException
This is a no-op
replace in interface StoreNullPointerException
IllegalArgumentExceptionpublic void setAttributeExtractors(Map<String,AttributeExtractor> extractors)
This is a no-op
setAttributeExtractors in interface Storepublic void setInMemoryEvictionPolicy(Policy policy)
This is a no-op
setInMemoryEvictionPolicy in interface Store
public void setNodeCoherent(boolean coherent)
throws UnsupportedOperationException
This is a no-op
setNodeCoherent in interface StoreUnsupportedOperationException
public void waitUntilClusterCoherent()
throws UnsupportedOperationException
This is a no-op
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 | |||||||||