@Override protected <T> void performSend(Collection<Address> targets, ReplicableCommand command, Function<ResponseCollector<T>, CompletionStage<T>> invoker) { if (command instanceof TxCompletionNotificationCommand) { releaseLocksLatch.countDown(); log.tracef("Skipping TxCompletionNotificationCommand"); } else { super.performSend(targets, command, invoker); } } };
@Override public final void sendTo(Address destination, ReplicableCommand command, DeliverOrder deliverOrder) { setTopologyId(command); performSend(Collections.singleton(destination), command, c -> { realOne.sendTo(destination, command, deliverOrder); return null; }); }
@Override public final void sendToMany(Collection<Address> destinations, ReplicableCommand command, DeliverOrder deliverOrder) { setTopologyId(command); performSend(destinations, command, c -> { realOne.sendToMany(destinations, command, deliverOrder); return null; }); }
@Override public final void sendToAll(ReplicableCommand command, DeliverOrder deliverOrder) { setTopologyId(command); performSend(getTransport().getMembers(), command, c -> { realOne.sendToAll(command, deliverOrder); return null; }); }