org.exoplatform.services.rpc.jgv3
Class RPCServiceImpl
java.lang.Object
org.exoplatform.services.rpc.impl.AbstractRPCService
org.exoplatform.services.rpc.jgv3.RPCServiceImpl
- All Implemented Interfaces:
- RPCService, org.jgroups.blocks.RequestHandler, org.jgroups.MembershipListener, org.picocontainer.Startable
public class RPCServiceImpl
- extends AbstractRPCService
This class is the implementation of the AbstractRPCService for JGroups 3.
- Version:
- $Id$
- Author:
- Nicolas Filotto
| Fields inherited from class org.exoplatform.services.rpc.impl.AbstractRPCService |
channel, CLUSTER_NAME, configurator, coordinator, DEFAULT_RETRY_TIMEOUT, DEFAULT_TIMEOUT, dispatcher, isCoordinator, members, PARAM_ALLOW_FAILOVER, PARAM_CLUSTER_NAME, PARAM_DEFAULT_TIMEOUT, PARAM_JGROUPS_CONFIG, PARAM_RETRY_TIMEOUT |
| Methods inherited from class org.exoplatform.services.rpc.impl.AbstractRPCService |
block, excecuteCommand, executeCommandOnAllNodes, executeCommandOnAllNodes, executeCommandOnAllNodesMain, executeCommandOnCoordinator, executeCommandOnCoordinator, executeCommandOnCoordinatorMain, getClusterName, getCommand, getDefaultTimeout, getRetryTimeout, handle, isAllowFailover, isCoordinator, registerCommand, registerTopologyChangeListener, start, stop, suspect, unregisterCommand, unregisterTopologyChangeListener, viewAccepted |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RPCServiceImpl
public RPCServiceImpl(ExoContainerContext ctx,
InitParams params,
ConfigurationManager configManager)
-
getLocalAddress
protected org.jgroups.Address getLocalAddress()
-
- Specified by:
getLocalAddress in class AbstractRPCService
castMessage
protected org.jgroups.util.RspList<Object> castMessage(List<org.jgroups.Address> dests,
org.jgroups.Message msg,
boolean synchronous,
long timeout)
throws Exception
-
- Specified by:
castMessage in class AbstractRPCService
- Throws:
Exception
createChannel
protected org.jgroups.Channel createChannel()
throws Exception
-
- Specified by:
createChannel in class AbstractRPCService
- Throws:
Exception
unblock
public void unblock()
-
getMembers
protected List<org.jgroups.Address> getMembers(org.jgroups.View view)
-
- Specified by:
getMembers in class AbstractRPCService
setObject
protected void setObject(org.jgroups.Message m,
Object o)
-
- Specified by:
setObject in class AbstractRPCService
Copyright © 2013 eXo Platform SAS. All Rights Reserved.