public abstract class BaseRpcCommand extends Object implements CacheRpcCommand
| Modifier and Type | Field and Description |
|---|---|
protected ByteString |
cacheName |
protected Address |
origin |
| Modifier | Constructor and Description |
|---|---|
protected |
BaseRpcCommand(ByteString cacheName) |
| Modifier and Type | Method and Description |
|---|---|
ByteString |
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, waitinvokeAsynccanBlock, getCommandId, invoke, invokeAsync, isReturnValueExpected, isSuccessful, readFrom, writeToprotected final ByteString cacheName
protected Address origin
protected BaseRpcCommand(ByteString cacheName)
public ByteString getCacheName()
getCacheName in interface CacheRpcCommandpublic Address getOrigin()
CacheRpcCommandgetOrigin in interface CacheRpcCommandpublic void setOrigin(Address origin)
CacheRpcCommandsetOrigin in interface CacheRpcCommandsetOrigin in interface ReplicableCommandorigin - the sender's AddressCopyright © 2022 JBoss by Red Hat. All rights reserved.