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, wait
invokeAsync
canBlock, getCommandId, invoke, invokeAsync, isReturnValueExpected, isSuccessful, readFrom, writeTo
protected final ByteString cacheName
protected Address origin
protected BaseRpcCommand(ByteString cacheName)
public ByteString getCacheName()
getCacheName
in interface CacheRpcCommand
public Address getOrigin()
CacheRpcCommand
getOrigin
in interface CacheRpcCommand
public void setOrigin(Address origin)
CacheRpcCommand
setOrigin
in interface CacheRpcCommand
setOrigin
in interface ReplicableCommand
origin
- the sender's Address
Copyright © 2021 JBoss by Red Hat. All rights reserved.