org.infinispan.commands.remote.CacheRpcCommand Maven / Gradle / Ivy
package org.infinispan.commands.remote;
import org.infinispan.commands.ReplicableCommand;
import org.infinispan.remoting.transport.Address;
/**
* The {@link org.infinispan.remoting.rpc.RpcManager} only replicates commands wrapped in a {@link CacheRpcCommand}.
*
* @author Manik Surtani
* @author [email protected]
* @since 4.0
*/
public interface CacheRpcCommand extends ReplicableCommand {
/**
* @return the name of the cache that produced this command. This will also be the name of the cache this command is
* intended for.
*/
String getCacheName();
/**
* Set the origin of the command
* @param origin
*/
void setOrigin(Address origin);
/**
* Get the origin of the command
* @return
*/
Address getOrigin();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy