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, spanAttributes
Fields inherited from interface org.infinispan.commands.VisitableCommand
log
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AbstractTopologyAffectedCommand
(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, setSpanAttributes
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.infinispan.commands.FlagAffectedCommand
addFlags, getFlags, hasAllFlags, hasAnyFlag
Methods inherited from interface org.infinispan.commands.ReplicableCommand
getCommandId, isReturnValueExpected, isSuccessful, logThrowable, readFrom, supportedSince, writeTo
Methods inherited from interface org.infinispan.commands.TracedCommand
getOperationName, getSpanAttributes, setSpanAttributes
Methods 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:
getTopologyId
in interfaceTopologyAffectedCommand
-
setTopologyId
public void setTopologyId(int topologyId) - Specified by:
setTopologyId
in interfaceTopologyAffectedCommand
-