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
Fields Modifier and Type Field Description protected inttopologyId-
Fields inherited from class org.infinispan.commands.remote.BaseRpcCommand
cacheName, origin
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBaseClusteredReadCommand(ByteString cacheName, long flagBitSet)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetFlagsBitSet()intgetTopologyId()booleanhasAnyFlag(long flagBitSet)protected StringprintFlags()voidsetFlagsBitSet(long bitSet)voidsetTopologyId(int topologyId)-
Methods inherited from class org.infinispan.commands.remote.BaseRpcCommand
getCacheName, getOrigin, setOrigin, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.infinispan.commands.remote.CacheRpcCommand
invokeAsync
-
Methods inherited from interface org.infinispan.commands.ReplicableCommand
canBlock, getCommandId, invoke, invokeAsync, isReturnValueExpected, isSuccessful, readFrom, writeTo
-
-
-
-
Constructor Detail
-
BaseClusteredReadCommand
protected BaseClusteredReadCommand(ByteString cacheName, long flagBitSet)
-
-
Method Detail
-
getFlagsBitSet
public long getFlagsBitSet()
-
setFlagsBitSet
public void setFlagsBitSet(long bitSet)
-
printFlags
protected final String 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
-
-