org.infinispan.remoting.rpc.RpcManager Maven / Gradle / Ivy
package org.infinispan.remoting.rpc;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.concurrent.CompletableFuture;
import org.infinispan.commands.ReplicableCommand;
import org.infinispan.remoting.inboundhandler.DeliverOrder;
import org.infinispan.remoting.responses.Response;
import org.infinispan.remoting.transport.Address;
import org.infinispan.remoting.transport.Transport;
/**
* Provides a mechanism for communicating with other caches in the cluster, by formatting and passing requests down to
* the registered {@link Transport}.
*
* @author Manik Surtani
* @author [email protected]
* @since 4.0
*/
public interface RpcManager {
/**
* Invokes a command on remote nodes.
*
* @param recipients A list of nodes, or {@code null} to invoke the command on all the members of the cluster
* @param rpc The command to invoke
* @param options The invocation options
* @return A future that, when completed, returns the responses from the remote nodes.
*/
CompletableFuture
© 2015 - 2025 Weber Informatics LLC | Privacy Policy