Class AbstractCacheControlCommand
java.lang.Object
org.infinispan.commands.topology.AbstractCacheControlCommand
- All Implemented Interfaces:
GlobalRpcCommand, ReplicableCommand, TracedCommand, VersionAware
- Direct Known Subclasses:
CacheAvailabilityUpdateCommand, CacheJoinCommand, CacheLeaveCommand, CacheShutdownCommand, CacheShutdownRequestCommand, CacheStatusRequestCommand, RebalancePhaseConfirmCommand, RebalancePolicyUpdateCommand, RebalanceStartCommand, RebalanceStatusRequestCommand, TopologyUpdateCommand, TopologyUpdateStableCommand
Abstract class that is the basis for the Cache, Rebalance and Topology commands.
- Since:
- 11.0
- Author:
- Ryan Emerson
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleanIf true, a return value will be provided when performed remotely.voidSets the sender'sAddress.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface GlobalRpcCommand
invokeAsyncMethods inherited from interface ReplicableCommand
getCommandId, isSuccessful, logThrowable, readFrom, supportedSince, writeToMethods inherited from interface TracedCommand
getOperationName, getSpanAttributes, setSpanAttributes
-
Field Details
-
origin
-
-
Method Details
-
setOrigin
Description copied from interface:ReplicableCommandSets the sender'sAddress.By default, it doesn't set anything. Implement this method if the sender's
Addressis needed.- Specified by:
setOriginin interfaceReplicableCommand- Parameters:
origin- the sender'sAddress
-
isReturnValueExpected
public boolean isReturnValueExpected()Description copied from interface:ReplicableCommandIf true, a return value will be provided when performed remotely. Otherwise, a remoteResponseGeneratormay choose to simply return null to save on marshalling costs.- Specified by:
isReturnValueExpectedin interfaceReplicableCommand- Returns:
- true or false
-