org.codehaus.activespace.cache
Class ClusteredCache
java.lang.Object
org.codehaus.activespace.cache.impl.CacheFacade
org.codehaus.activespace.cache.TransactionalCache
org.codehaus.activespace.cache.ClusteredCache
- All Implemented Interfaces:
- javax.cache.Cache, Map
- public class ClusteredCache
- extends TransactionalCache
A clustered cache which replicates its state across other members of a cluster
- Version:
- $Revision: 1.3 $
|
Method Summary |
void |
commit()
|
protected void |
waitUntilTransactionApplied()
Wait around up to some timeout period until the local transaction
has been distributed around the cluster and applied locally to the backing
cache |
| Methods inherited from class org.codehaus.activespace.cache.TransactionalCache |
clearThreadState, createCacheForCurrentThread, createThreadState, createTransactionCommand, getBackingCache, getDelegate, getName, getThreadCache, getThreadCache, getThreadState, getTransactionRegistration, isModifiedInTransaction, registerCacheWithTransactionManager, resetLocalChanges, setName, setThreadID, setTransactionRegistration, toString |
| Methods inherited from class org.codehaus.activespace.cache.impl.CacheFacade |
addListener, clear, containsKey, containsValue, entrySet, evict, get, getAll, getCacheEntry, getCacheStatistics, isEmpty, keySet, load, loadAll, peek, put, putAll, remove, removeListener, size, values |
| Methods inherited from interface javax.cache.Cache |
equals, hashCode |
ClusteredCache
public ClusteredCache(Space space,
javax.cache.Cache behindCache)
commit
public void commit()
waitUntilTransactionApplied
protected void waitUntilTransactionApplied()
- Wait around up to some timeout period until the local transaction
has been distributed around the cluster and applied locally to the backing
cache
Copyright © 2004 Protique, Ltd.. All Rights Reserved.