org.jboss.cache.invocation
Class RemoteCacheInvocationDelegate
java.lang.Object
org.jboss.cache.invocation.AbstractInvocationDelegate
org.jboss.cache.invocation.CacheInvocationDelegate
org.jboss.cache.invocation.RemoteCacheInvocationDelegate
- All Implemented Interfaces:
- Cache, CacheSPI
public class RemoteCacheInvocationDelegate
- extends CacheInvocationDelegate
A sublcass of CacheInvocationDelegate, used by remote instances to invoke methods on current cache.
- Since:
- 2.1.0
- Author:
- Manik Surtani (manik@jboss.org)
Methods inherited from class org.jboss.cache.invocation.CacheInvocationDelegate |
addCacheListener, addCacheListener, addInterceptor, addInterceptor, clearData, clearData, create, destroy, evict, evict, exists, exists, get, get, getBuddyManager, getCacheListeners, getCacheListeners, getCacheLoaderManager, getCacheStatus, getClusterName, getConfiguration, getCurrentTransaction, getCurrentTransaction, getData, getDelegationTarget, getChildrenNames, getChildrenNames, getInterceptorChain, getInternalFqns, getInvocationContext, getKeys, getKeys, getLocalAddress, getMarshaller, getMembers, getNode, getNode, getNotifier, getNumberOfAttributes, getNumberOfLocksHeld, getNumberOfNodes, getRegion, getRegionManager, getRoot, getRPCManager, getStateTransferManager, getTransactionManager, getTransactionTable, getVersion, gravitateData, move, move, peek, peek, put, put, put, put, putForExternalRead, remove, remove, removeCacheListener, removeCacheListener, removeInterceptor, removeInterceptor, removeNode, removeNode, removeRegion, setInvocationContext, start, stop, toString |
RemoteCacheInvocationDelegate
public RemoteCacheInvocationDelegate()
assignToBuddyGroup
public void assignToBuddyGroup(BuddyGroup group,
Map<Fqn,byte[]> state)
throws Exception
- Throws:
Exception
removeFromBuddyGroup
public void removeFromBuddyGroup(String groupName)
throws BuddyNotInitException
- Throws:
BuddyNotInitException
announceBuddyPoolName
public void announceBuddyPoolName(org.jgroups.Address address,
String buddyPoolName)
dataGravitationCleanup
public void dataGravitationCleanup(Fqn primary,
Fqn backup)
throws Exception
- Throws:
Exception
_replicate
public Object _replicate(MethodCall methodCall)
throws Throwable
- Throws:
Throwable
_replicate
public void _replicate(List<MethodCall> methodCalls)
throws Throwable
- Replicates a list of method calls.
- Throws:
Throwable
block
public void block()
unblock
public void unblock()
clusteredGet
public List clusteredGet(MethodCall methodCall,
Boolean searchBackupSubtrees)
- A 'clustered get' call, called from a remote ClusteredCacheLoader.
- Returns:
- a List containing 2 elements: (true or false) and a value (Object). If buddy replication
is used one further element is added - an Fqn of the backup subtree in which this node may be found.
Copyright © 2008 JBoss, a division of Red Hat. All Rights Reserved.