@Override public final Map<Address, Response> invokeRemotely(Map<Address, ReplicableCommand> rpcs, RpcOptions options) { try { rpcs.forEach((address, command) -> setTopologyId(command)); return CompletableFutures.await( invokeCommands(rpcs.keySet(), rpcs::get, MapResponseCollector.validOnly(rpcs.size()), options) .toCompletableFuture()); } catch (ExecutionException | InterruptedException e) { throw Util.rewrapAsCacheException(e); } }