org.jboss.cache
Interface RPCManager

All Known Implementing Classes:
RPCManagerImpl

public interface RPCManager


Method Summary
 java.util.List callRemoteMethods(java.util.List<org.jgroups.Address> recipients, MethodCall methodCall, boolean synchronous, boolean excludeSelf, int timeout)
           
 java.util.List callRemoteMethods(java.util.List<org.jgroups.Address> recipients, MethodCall methodCall, int mode, boolean excludeSelf, long timeout)
           
 java.util.List callRemoteMethods(java.util.List<org.jgroups.Address> recipients, java.lang.reflect.Method method, java.lang.Object[] arguments, boolean synchronous, boolean excludeSelf, long timeout)
           
 org.jgroups.Address getCoordinator()
           
 ReplicationQueue getReplicationQueue()
           
 boolean isCoordinator()
           
 void setCache(CacheSPI c)
           
 

Method Detail

callRemoteMethods

java.util.List callRemoteMethods(java.util.List<org.jgroups.Address> recipients,
                                 MethodCall methodCall,
                                 int mode,
                                 boolean excludeSelf,
                                 long timeout)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

isCoordinator

boolean isCoordinator()

getCoordinator

org.jgroups.Address getCoordinator()

callRemoteMethods

java.util.List callRemoteMethods(java.util.List<org.jgroups.Address> recipients,
                                 MethodCall methodCall,
                                 boolean synchronous,
                                 boolean excludeSelf,
                                 int timeout)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

callRemoteMethods

java.util.List callRemoteMethods(java.util.List<org.jgroups.Address> recipients,
                                 java.lang.reflect.Method method,
                                 java.lang.Object[] arguments,
                                 boolean synchronous,
                                 boolean excludeSelf,
                                 long timeout)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

setCache

void setCache(CacheSPI c)

getReplicationQueue

ReplicationQueue getReplicationQueue()
Returns:
Returns the replication queue (if one is used), null otherwise.