Uses of Interface
org.exoplatform.services.rpc.RemoteCommand
-
Packages that use RemoteCommand Package Description org.exoplatform.services.rpc org.exoplatform.services.rpc.impl -
-
Uses of RemoteCommand in org.exoplatform.services.rpc
Classes in org.exoplatform.services.rpc that implement RemoteCommand Modifier and Type Class Description classSingleMethodCallCommandThis command will allow you to call one specific method with the arguments given by the execute method on a component.Methods in org.exoplatform.services.rpc that return RemoteCommand Modifier and Type Method Description RemoteCommandRPCService. registerCommand(RemoteCommand command)Register a newRemoteCommandinstance, it will be mapped to its id.Methods in org.exoplatform.services.rpc with parameters of type RemoteCommand Modifier and Type Method Description List<Object>RPCService. executeCommandOnAllNodes(RemoteCommand command, boolean synchronous, Serializable... args)Executes a command on all the cluster nodes.List<Object>RPCService. executeCommandOnAllNodes(RemoteCommand command, long timeout, Serializable... args)Executes a command synchronously on all the cluster nodes.ObjectRPCService. executeCommandOnCoordinator(RemoteCommand command, boolean synchronous, Serializable... args)Executes a command on the coordinator only.ObjectRPCService. executeCommandOnCoordinator(RemoteCommand command, long timeout, Serializable... args)Executes a command synchronously on the coordinator only.RemoteCommandRPCService. registerCommand(RemoteCommand command)Register a newRemoteCommandinstance, it will be mapped to its id.voidRPCService. unregisterCommand(RemoteCommand command)Unregister aRemoteCommandinstance, if the id is known or the instance itself is known otherwise it will be ignored -
Uses of RemoteCommand in org.exoplatform.services.rpc.impl
Methods in org.exoplatform.services.rpc.impl that return RemoteCommand Modifier and Type Method Description protected RemoteCommandAbstractRPCService. getCommand(String commandId)Gives theRemoteCommandcorresponding to the given idRemoteCommandAbstractRPCService. registerCommand(RemoteCommand command)Register a newRemoteCommandinstance, it will be mapped to its id.Methods in org.exoplatform.services.rpc.impl with parameters of type RemoteCommand Modifier and Type Method Description protected List<Object>AbstractRPCService. excecuteCommand(List<org.jgroups.Address> dests, RemoteCommand command, boolean synchronous, long timeout, Serializable... args)Execute the command on all the nodes corresponding to the list of destinations.List<Object>AbstractRPCService. executeCommandOnAllNodes(RemoteCommand command, boolean synchronous, Serializable... args)Executes a command on all the cluster nodes.List<Object>AbstractRPCService. executeCommandOnAllNodes(RemoteCommand command, long timeout, Serializable... args)Executes a command synchronously on all the cluster nodes.protected List<Object>AbstractRPCService. executeCommandOnAllNodesMain(RemoteCommand command, boolean synchronous, long timeout, Serializable... args)Executes a command on all the cluster nodes.ObjectAbstractRPCService. executeCommandOnCoordinator(RemoteCommand command, boolean synchronous, Serializable... args)Executes a command on the coordinator only.ObjectAbstractRPCService. executeCommandOnCoordinator(RemoteCommand command, long timeout, Serializable... args)Executes a command synchronously on the coordinator only.protected ObjectAbstractRPCService. executeCommandOnCoordinatorMain(RemoteCommand command, boolean synchronous, long timeout, Serializable... args)Executes a command on the coordinator only.RemoteCommandAbstractRPCService. registerCommand(RemoteCommand command)Register a newRemoteCommandinstance, it will be mapped to its id.voidAbstractRPCService. unregisterCommand(RemoteCommand command)Unregister aRemoteCommandinstance, if the id is known or the instance itself is known otherwise it will be ignored
-