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 int
topologyId
-
Fields inherited from class org.infinispan.commands.remote.BaseRpcCommand
cacheName
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
BaseClusteredReadCommand(ByteString cacheName, long flagBitSet)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getFlagsBitSet()
int
getTopologyId()
boolean
hasAnyFlag(long flagBitSet)
protected String
printFlags()
void
setFlagsBitSet(long bitSet)
void
setTopologyId(int topologyId)
-
Methods inherited from class org.infinispan.commands.remote.BaseRpcCommand
canBlock, 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.ReplicableCommand
canBlock, getCommandId, invoke, invokeAsync, isReturnValueExpected, isSuccessful, perform, 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:
getTopologyId
in interfaceTopologyAffectedCommand
-
setTopologyId
public void setTopologyId(int topologyId)
- Specified by:
setTopologyId
in interfaceTopologyAffectedCommand
-
-