org.jboss.cache
Interface RPCManager

All Known Implementing Classes:
RPCManagerImpl

public interface RPCManager


Method Summary
 List callRemoteMethods(List<org.jgroups.Address> recipients, MethodCall methodCall, boolean synchronous, boolean excludeSelf, int timeout)
           
 List callRemoteMethods(List<org.jgroups.Address> recipients, MethodCall methodCall, int mode, boolean excludeSelf, long timeout)
           
 List callRemoteMethods(List<org.jgroups.Address> recipients, MethodCall methodCall, int mode, boolean excludeSelf, long timeout, org.jgroups.blocks.RspFilter responseFilter)
          The same as callRemoteMethods(java.util.List,org.jboss.cache.marshall.MethodCall,int,boolean,long) except that it adds a JGroups RspFilter to the list of parameters, which is used to filter results.
 List callRemoteMethods(List<org.jgroups.Address> recipients, Method method, Object[] arguments, boolean synchronous, boolean excludeSelf, long timeout)
           
 org.jgroups.Address getCoordinator()
           
 ReplicationQueue getReplicationQueue()
           
 boolean isCoordinator()
           
 void setCache(CacheSPI c)
           
 

Method Detail

callRemoteMethods

List callRemoteMethods(List<org.jgroups.Address> recipients,
                       MethodCall methodCall,
                       int mode,
                       boolean excludeSelf,
                       long timeout,
                       org.jgroups.blocks.RspFilter responseFilter)
                       throws Exception
The same as callRemoteMethods(java.util.List,org.jboss.cache.marshall.MethodCall,int,boolean,long) except that it adds a JGroups RspFilter to the list of parameters, which is used to filter results.

Throws:
Exception

callRemoteMethods

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

isCoordinator

boolean isCoordinator()

getCoordinator

org.jgroups.Address getCoordinator()

callRemoteMethods

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

callRemoteMethods

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

setCache

void setCache(CacheSPI c)

getReplicationQueue

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


Copyright © 2007 JBoss, a division of Red Hat. All Rights Reserved.