public abstract class AbstractCacheControlCommand extends Object implements GlobalRpcCommand
Modifier and Type | Method and Description |
---|---|
byte |
getCommandId()
Used by marshallers to convert this command into an id for streaming.
|
boolean |
isReturnValueExpected()
If true, a return value will be provided when performed remotely.
|
void |
setOrigin(Address origin)
Sets the sender's
Address . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
invokeAsync
canBlock, invoke, invokeAsync, isSuccessful, readFrom, writeTo
protected transient Address origin
public void setOrigin(Address origin)
ReplicableCommand
Address
.
By default, it doesn't set anything. Implement this method if the sender's Address
is needed.
setOrigin
in interface ReplicableCommand
origin
- the sender's Address
public byte getCommandId()
ReplicableCommand
getCommandId
in interface ReplicableCommand
public boolean isReturnValueExpected()
ReplicableCommand
ResponseGenerator
may choose to simply return null to save on marshalling
costs.isReturnValueExpected
in interface ReplicableCommand
Copyright © 2021 JBoss by Red Hat. All rights reserved.