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 <[email protected]>
-
Field Summary
FieldsFields inherited from class org.infinispan.commands.remote.BaseRpcCommand
cacheName, origin
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
BaseClusteredReadCommand
(ByteString cacheName, long flagBitSet) -
Method Summary
Modifier and TypeMethodDescriptionlong
int
boolean
hasAnyFlag
(long flagBitSet) protected final String
void
setFlagsBitSet
(long bitSet) void
setTopologyId
(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, 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:
getTopologyId
in interfaceTopologyAffectedCommand
-
setTopologyId
public void setTopologyId(int topologyId) - Specified by:
setTopologyId
in interfaceTopologyAffectedCommand
-