| Package | Description |
|---|---|
| org.exoplatform.services.rpc | |
| org.exoplatform.services.rpc.impl |
| Modifier and Type | Class and Description |
|---|---|
class |
SingleMethodCallCommand
This command will allow you to call one specific method with the arguments given by the execute method
on a component.
|
| Modifier and Type | Method and Description |
|---|---|
RemoteCommand |
RPCService.registerCommand(RemoteCommand command)
Register a new
RemoteCommand instance, it will be mapped to its id. |
| Modifier and Type | Method and 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.
|
Object |
RPCService.executeCommandOnCoordinator(RemoteCommand command,
boolean synchronous,
Serializable... args)
Executes a command on the coordinator only.
|
Object |
RPCService.executeCommandOnCoordinator(RemoteCommand command,
long timeout,
Serializable... args)
Executes a command synchronously on the coordinator only.
|
RemoteCommand |
RPCService.registerCommand(RemoteCommand command)
Register a new
RemoteCommand instance, it will be mapped to its id. |
void |
RPCService.unregisterCommand(RemoteCommand command)
Unregister a
RemoteCommand instance, if the id is known or the instance itself is known
otherwise it will be ignored |
| Modifier and Type | Method and Description |
|---|---|
protected RemoteCommand |
AbstractRPCService.getCommand(String commandId)
Gives the
RemoteCommand corresponding to the given id |
RemoteCommand |
AbstractRPCService.registerCommand(RemoteCommand command)
Register a new
RemoteCommand instance, it will be mapped to its id. |
| Modifier and Type | Method and 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.
|
Object |
AbstractRPCService.executeCommandOnCoordinator(RemoteCommand command,
boolean synchronous,
Serializable... args)
Executes a command on the coordinator only.
|
Object |
AbstractRPCService.executeCommandOnCoordinator(RemoteCommand command,
long timeout,
Serializable... args)
Executes a command synchronously on the coordinator only.
|
protected Object |
AbstractRPCService.executeCommandOnCoordinatorMain(RemoteCommand command,
boolean synchronous,
long timeout,
Serializable... args)
Executes a command on the coordinator only.
|
RemoteCommand |
AbstractRPCService.registerCommand(RemoteCommand command)
Register a new
RemoteCommand instance, it will be mapped to its id. |
void |
AbstractRPCService.unregisterCommand(RemoteCommand command)
Unregister a
RemoteCommand instance, if the id is known or the instance itself is known
otherwise it will be ignored |
Copyright © 2021 eXo Platform SAS. All Rights Reserved.