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, waitinvokeAsynccanBlock, invoke, invokeAsync, isSuccessful, readFrom, writeToprotected transient Address origin
public void setOrigin(Address origin)
ReplicableCommandAddress.
By default, it doesn't set anything. Implement this method if the sender's Address is needed.
setOrigin in interface ReplicableCommandorigin - the sender's Addresspublic byte getCommandId()
ReplicableCommandgetCommandId in interface ReplicableCommandpublic boolean isReturnValueExpected()
ReplicableCommandResponseGenerator may choose to simply return null to save on marshalling
costs.isReturnValueExpected in interface ReplicableCommandCopyright © 2022 JBoss by Red Hat. All rights reserved.