Package org.infinispan.commands
Class AbstractFlagAffectedCommand
java.lang.Object
org.infinispan.commands.AbstractFlagAffectedCommand
- All Implemented Interfaces:
- FlagAffectedCommand,- ReplicableCommand,- TracedCommand,- VisitableCommand
- Direct Known Subclasses:
- AbstractTopologyAffectedCommand
Base class for those commands that can carry flags.
- Since:
- 5.1
- Author:
- Galder Zamarreño
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.infinispan.commands.VisitableCommandVisitableCommand.LoadType
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionlongprotected final booleanhasSameFlags(FlagAffectedCommand other) protected final StringvoidsetFlagsBitSet(long bitSet) Set the flags, replacing any existing flags.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.infinispan.commands.FlagAffectedCommandaddFlags, getFlags, hasAllFlags, hasAnyFlagMethods inherited from interface org.infinispan.commands.ReplicableCommandcanBlock, getCommandId, invoke, invokeAsync, isReturnValueExpected, isSuccessful, logThrowable, readFrom, setOrigin, writeToMethods inherited from interface org.infinispan.commands.TracedCommandgetOperationName, getSpanAttributes, setSpanAttributesMethods inherited from interface org.infinispan.commands.VisitableCommandacceptVisitor, init, loadType
- 
Constructor Details- 
AbstractFlagAffectedCommandpublic AbstractFlagAffectedCommand()
 
- 
- 
Method Details- 
getFlagsBitSetpublic long getFlagsBitSet()- Specified by:
- getFlagsBitSetin interface- FlagAffectedCommand
- Returns:
- The command flags. Flags can be modified with FlagAffectedCommand.setFlagsBitSet(long),FlagAffectedCommand.addFlags(long)andFlagAffectedCommand.addFlags(long)methods.
 
- 
setFlagsBitSetpublic void setFlagsBitSet(long bitSet) Description copied from interface:FlagAffectedCommandSet the flags, replacing any existing flags.- Specified by:
- setFlagsBitSetin interface- FlagAffectedCommand
 
- 
hasSameFlags
- 
printFlags
 
-