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, waitgetCommandId, getParameters, isReturnValueExpected, perform, setParametersprotected final String cacheName
protected BaseRpcCommand(String cacheName)
public String getCacheName()
getCacheName in interface CacheRpcCommandpublic Address getOrigin()
CacheRpcCommandgetOrigin in interface CacheRpcCommandpublic void setOrigin(Address origin)
CacheRpcCommandsetOrigin in interface CacheRpcCommandpublic boolean canBlock()
ReplicableCommandcanBlock in interface ReplicableCommandtrue if the command can block/wait, false otherwiseCopyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.