Class AbstractLocalCommand
java.lang.Object
org.infinispan.commands.AbstractFlagAffectedCommand
org.infinispan.commands.read.AbstractLocalCommand
- All Implemented Interfaces:
FlagAffectedCommand, LocalCommand, CacheRpcCommand, ReplicableCommand, TracedCommand, VisitableCommand, VersionAware
- Direct Known Subclasses:
EntrySetCommand, KeySetCommand
public abstract class AbstractLocalCommand
extends AbstractFlagAffectedCommand
implements LocalCommand
Abstract class
- Since:
- 4.1
- Author:
- Manik Surtani, Mircea.Markus@jboss.com
-
Nested Class Summary
Nested classes/interfaces inherited from interface VisitableCommand
VisitableCommand.LoadType -
Field Summary
Fields inherited from class AbstractFlagAffectedCommand
cacheName, flags, origin, spanAttributesFields inherited from interface VisitableCommand
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIf true, a return value will be provided when performed remotely.loadType()Methods inherited from class AbstractFlagAffectedCommand
getCacheName, getFlagsBitSet, getFlagsWithoutRemote, getOrigin, getSpanAttributes, hasSameFlags, printFlags, setFlagsBitSet, setOrigin, setSpanAttributesMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface FlagAffectedCommand
addFlags, getFlags, hasAllFlags, hasAnyFlagMethods inherited from interface ReplicableCommand
getCommandId, isSuccessful, logThrowable, readFrom, supportedSince, writeToMethods inherited from interface TracedCommand
getOperationNameMethods inherited from interface VisitableCommand
acceptVisitor, init, invokeAsync
-
Constructor Details
-
AbstractLocalCommand
protected AbstractLocalCommand()
-
-
Method Details
-
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
-
loadType
- Specified by:
loadTypein interfaceVisitableCommand- Returns:
- Nodes on which the command needs to read the previous values of the keys it acts on.
-