Class AbstractTopologyAffectedCommand
java.lang.Object
org.infinispan.commands.AbstractFlagAffectedCommand
org.infinispan.commands.AbstractTopologyAffectedCommand
- All Implemented Interfaces:
FlagAffectedCommand,org.infinispan.commands.remote.CacheRpcCommand,ReplicableCommand,TopologyAffectedCommand,TracedCommand,VisitableCommand,VersionAware
public abstract class AbstractTopologyAffectedCommand
extends AbstractFlagAffectedCommand
implements TopologyAffectedCommand
Base class for commands that carry topology id.
- Since:
- 5.1
- Author:
- Galder Zamarreño
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.infinispan.commands.VisitableCommand
VisitableCommand.LoadType -
Field Summary
FieldsFields inherited from class org.infinispan.commands.AbstractFlagAffectedCommand
cacheName, flags, origin, spanAttributesFields inherited from interface org.infinispan.commands.VisitableCommand
log -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractTopologyAffectedCommand(ByteString cacheName, long flags, int topologyId) -
Method Summary
Methods inherited from class org.infinispan.commands.AbstractFlagAffectedCommand
getCacheName, getFlagsBitSet, getFlagsWithoutRemote, getOrigin, getSpanAttributes, hasSameFlags, printFlags, setFlagsBitSet, setOrigin, setSpanAttributesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.infinispan.commands.FlagAffectedCommand
addFlags, getFlags, hasAllFlags, hasAnyFlagMethods inherited from interface org.infinispan.commands.ReplicableCommand
getCommandId, isReturnValueExpected, isSuccessful, logThrowable, readFrom, supportedSince, writeToMethods inherited from interface org.infinispan.commands.TracedCommand
getOperationName, getSpanAttributes, setSpanAttributesMethods inherited from interface org.infinispan.commands.VisitableCommand
acceptVisitor, init, invokeAsync, loadType
-
Field Details
-
topologyId
protected int topologyId
-
-
Constructor Details
-
AbstractTopologyAffectedCommand
-
-
Method Details
-
getTopologyId
@ProtoField(3) public int getTopologyId()- Specified by:
getTopologyIdin interfaceTopologyAffectedCommand
-
setTopologyId
public void setTopologyId(int topologyId) - Specified by:
setTopologyIdin interfaceTopologyAffectedCommand
-