public abstract class BaseRpcCommand extends Object implements CacheRpcCommand
Modifier | Constructor and Description |
---|---|
protected |
BaseRpcCommand(String cacheName) |
Modifier and Type | Method and Description |
---|---|
boolean |
canBlock()
If true, the command is processed asynchronously in a thread provided by an Infinispan thread pool.
|
String |
getCacheName() |
Address |
getOrigin()
Get the origin of the command
|
void |
setOrigin(Address origin)
Set the origin of the command
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCommandId, getParameters, isReturnValueExpected, perform, setParameters
protected final String cacheName
protected BaseRpcCommand(String cacheName)
public String getCacheName()
getCacheName
in interface CacheRpcCommand
public Address getOrigin()
CacheRpcCommand
getOrigin
in interface CacheRpcCommand
public void setOrigin(Address origin)
CacheRpcCommand
setOrigin
in interface CacheRpcCommand
public boolean canBlock()
ReplicableCommand
canBlock
in interface ReplicableCommand
true
if the command can block/wait, false
otherwiseCopyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.