ehcache

net.sf.ehcache.constructs.nonstop.store
Interface NonstopStore

All Superinterfaces:
Store, TerracottaStore
All Known Subinterfaces:
RejoinAwareNonstopStore
All Known Implementing Classes:
ExceptionOnTimeoutStore, ExecutorServiceStore, LocalReadsOnTimeoutStore, NonstopStoreImpl, NoOpOnTimeoutStore, TransactionalExecutorServiceStore

public interface NonstopStore
extends TerracottaStore

Interface for nonstop feature

Author:
Abhishek Sanoujam

Field Summary
 
Fields inherited from interface net.sf.ehcache.store.Store
CLUSTER_COHERENT, NODE_COHERENT
 
Method Summary
<V> V
executeClusterOperation(ClusterOperation<V> operation)
          Execute the ClusterOperation within this NonstopStore context.
 
Methods inherited from interface net.sf.ehcache.store.TerracottaStore
getLocalKeys, getTransactionalMode, unlockedGet, unlockedGetQuiet, unsafeGet, unsafeGetQuiet
 
Methods inherited from interface net.sf.ehcache.store.Store
addStoreListener, bufferFull, containsKey, containsKeyInMemory, containsKeyOffHeap, containsKeyOnDisk, dispose, executeQuery, expireElements, flush, get, getAll, getAllQuiet, getInMemoryEvictionPolicy, getInMemorySize, getInMemorySizeInBytes, getInternalContext, getKeys, getMBean, getOffHeapSize, getOffHeapSizeInBytes, getOnDiskSize, getOnDiskSizeInBytes, getQuiet, getSearchAttribute, getSize, getStatus, getTerracottaClusteredSize, hasAbortedSizeOf, isCacheCoherent, isClusterCoherent, isNodeCoherent, isPinned, put, putAll, putIfAbsent, putWithWriter, recalculateSize, remove, removeAll, removeAll, removeElement, removeStoreListener, removeWithWriter, replace, replace, setAttributeExtractors, setInMemoryEvictionPolicy, setNodeCoherent, setPinned, unpinAll, waitUntilClusterCoherent
 

Method Detail

executeClusterOperation

<V> V executeClusterOperation(ClusterOperation<V> operation)
Execute the ClusterOperation within this NonstopStore context.

Type Parameters:
V - Return type depending on the ClusterOperation
Parameters:
operation -
Returns:
the return value depending on the ClusterOperation

ehcache

Copyright © 2003-2014 Terracotta, Inc.. All Rights Reserved.