Ejemplo n.º 1
0
 public void broadcastRpcCommandInFuture(
     ReplicableCommand rpcCommand, NotifyingNotifiableFuture<Object> future) {
   log.trace("ControlledRpcManager.broadcastRpcCommandInFuture1");
   failIfNeeded(rpcCommand);
   waitBefore(rpcCommand);
   realOne.broadcastRpcCommandInFuture(rpcCommand, future);
   waitAfter(rpcCommand);
 }
Ejemplo n.º 2
0
 public void broadcastRpcCommand(ReplicableCommand rpcCommand, boolean sync, boolean totalOrder)
     throws RpcException {
   log.trace("ControlledRpcManager.broadcastRpcCommand1");
   failIfNeeded(rpcCommand);
   waitBefore(rpcCommand);
   realOne.broadcastRpcCommand(rpcCommand, sync, totalOrder);
   waitAfter(rpcCommand);
 }
Ejemplo n.º 3
0
 public void invokeRemotelyInFuture(
     Collection<Address> recipients,
     ReplicableCommand rpcCommand,
     NotifyingNotifiableFuture<Object> future) {
   log.trace("ControlledRpcManager.invokeRemotelyInFuture1");
   failIfNeeded(rpcCommand);
   waitBefore(rpcCommand);
   realOne.invokeRemotelyInFuture(recipients, rpcCommand, future);
   waitAfter(rpcCommand);
 }
Ejemplo n.º 4
0
 public void invokeRemotelyInFuture(
     Collection<Address> recipients,
     ReplicableCommand rpcCommand,
     boolean usePriorityQueue,
     NotifyingNotifiableFuture<Object> future,
     long timeout) {
   log.trace("ControlledRpcManager.invokeRemotelyInFuture3");
   failIfNeeded(rpcCommand);
   waitBefore(rpcCommand);
   realOne.invokeRemotelyInFuture(recipients, rpcCommand, usePriorityQueue, future, timeout);
   waitAfter(rpcCommand);
 }
Ejemplo n.º 5
0
 @Override
 public ResponseFuture invokeRemotelyWithFuture(
     Collection<Address> recipients,
     ReplicableCommand rpcCommand,
     boolean usePriorityQueue,
     boolean totalOrder) {
   log.trace("invokeRemotely6");
   failIfNeeded(rpcCommand);
   waitBefore(rpcCommand);
   ResponseFuture responses =
       realOne.invokeRemotelyWithFuture(recipients, rpcCommand, usePriorityQueue, totalOrder);
   waitAfter(rpcCommand);
   return responses;
 }
Ejemplo n.º 6
0
 public Map<Address, Response> invokeRemotely(
     Collection<Address> recipients,
     ReplicableCommand rpcCommand,
     boolean sync,
     boolean totalOrder)
     throws RpcException {
   log.trace("invokeRemotely4");
   failIfNeeded(rpcCommand);
   waitBefore(rpcCommand);
   Map<Address, Response> responseMap =
       realOne.invokeRemotely(recipients, rpcCommand, sync, totalOrder);
   waitAfter(rpcCommand);
   return responseMap;
 }
Ejemplo n.º 7
0
 public Map<Address, Response> invokeRemotely(
     Collection<Address> recipients,
     ReplicableCommand rpcCommand,
     ResponseMode mode,
     long timeout,
     boolean totalOrder) {
   log.trace("invokeRemotely3");
   failIfNeeded(rpcCommand);
   waitBefore(rpcCommand);
   Map<Address, Response> responseMap =
       realOne.invokeRemotely(recipients, rpcCommand, mode, timeout, totalOrder);
   waitAfter(rpcCommand);
   return responseMap;
 }