org.infinispan.commands.remote
Class BaseRpcCommand
java.lang.Object
org.infinispan.commands.remote.BaseRpcCommand
- All Implemented Interfaces:
- CacheRpcCommand, ReplicableCommand
- Direct Known Subclasses:
- BaseRpcInvokingCommand, ClusteredGetCommand, ClusteredQueryCommand, MapReduceCommand, RecoveryCommand, RemoveCacheCommand, StateTransferControlCommand
public abstract class BaseRpcCommand
- extends Object
- implements CacheRpcCommand
cacheName
protected final String cacheName
BaseRpcCommand
protected BaseRpcCommand(String cacheName)
getCacheName
public String getCacheName()
- Specified by:
getCacheName
in interface CacheRpcCommand
- Returns:
- the name of the cache that produced this command. This will also be the name of the cache this command is
intended for.
toString
public String toString()
- Overrides:
toString
in class Object
getOrigin
public Address getOrigin()
- Description copied from interface:
CacheRpcCommand
- Get the origin of the command
- Specified by:
getOrigin
in interface CacheRpcCommand
- Returns:
setOrigin
public void setOrigin(Address origin)
- Description copied from interface:
CacheRpcCommand
- Set the origin of the command
- Specified by:
setOrigin
in interface CacheRpcCommand
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.