Package org.infinispan.commands.remote
Class BaseClusteredReadCommand
java.lang.Object
org.infinispan.commands.remote.BaseRpcCommand
org.infinispan.commands.remote.BaseClusteredReadCommand
- All Implemented Interfaces:
CacheRpcCommand,ReplicableCommand,TopologyAffectedCommand
- Direct Known Subclasses:
ClusteredGetAllCommand,ClusteredGetCommand
public abstract class BaseClusteredReadCommand
extends BaseRpcCommand
implements TopologyAffectedCommand
- Author:
- Radim Vansa <rvansa@redhat.com>
-
Field Summary
FieldsFields inherited from class org.infinispan.commands.remote.BaseRpcCommand
cacheName, origin -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBaseClusteredReadCommand(ByteString cacheName, long flagBitSet) -
Method Summary
Modifier and TypeMethodDescriptionlongintbooleanhasAnyFlag(long flagBitSet) protected final StringvoidsetFlagsBitSet(long bitSet) voidsetTopologyId(int topologyId) Methods inherited from class org.infinispan.commands.remote.BaseRpcCommand
getCacheName, getOrigin, setOrigin, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.infinispan.commands.remote.CacheRpcCommand
invokeAsyncMethods inherited from interface org.infinispan.commands.ReplicableCommand
canBlock, getCommandId, invoke, invokeAsync, isReturnValueExpected, isSuccessful, logThrowable, readFrom, writeTo
-
Field Details
-
topologyId
protected int topologyId
-
-
Constructor Details
-
BaseClusteredReadCommand
-
-
Method Details
-
getFlagsBitSet
public long getFlagsBitSet() -
setFlagsBitSet
public void setFlagsBitSet(long bitSet) -
printFlags
-
hasAnyFlag
public boolean hasAnyFlag(long flagBitSet) -
getTopologyId
public int getTopologyId()- Specified by:
getTopologyIdin interfaceTopologyAffectedCommand
-
setTopologyId
public void setTopologyId(int topologyId) - Specified by:
setTopologyIdin interfaceTopologyAffectedCommand
-