Class ClusteredGetAllCommand<K,V>
java.lang.Object
org.infinispan.commands.remote.BaseRpcCommand
org.infinispan.commands.remote.BaseClusteredReadCommand
org.infinispan.commands.remote.ClusteredGetAllCommand<K,V>
- All Implemented Interfaces:
CacheRpcCommand, ReplicableCommand, TopologyAffectedCommand, TracedCommand, VersionAware
Issues a remote getAll call. This is not a
VisitableCommand and hence not passed up
the interceptor chain.- Author:
- Radim Vansa <rvansa@redhat.com>
-
Field Summary
Fields inherited from class BaseClusteredReadCommand
flags, topologyIdFields inherited from class BaseRpcCommand
cacheName, origin -
Constructor Summary
ConstructorsConstructorDescriptionClusteredGetAllCommand(ByteString cacheName, List<?> keys, long flags, GlobalTransaction gtx) -
Method Summary
Modifier and TypeMethodDescriptionbooleanList<?> getKeys()inthashCode()invokeAsync(ComponentRegistry componentRegistry) Invoke the command asynchronously.Returns aNodeVersionrepresenting the Infinispan version in which this command was added.toString()Methods inherited from class BaseClusteredReadCommand
getFlagsBitSet, getTopologyId, hasAnyFlag, isReturnValueExpected, printFlags, setFlagsBitSet, setTopologyIdMethods inherited from class BaseRpcCommand
getCacheName, getOrigin, setOriginMethods inherited from interface ReplicableCommand
getCommandId, isSuccessful, logThrowable, readFrom, writeToMethods inherited from interface TracedCommand
getOperationName, getSpanAttributes, setSpanAttributes
-
Constructor Details
-
ClusteredGetAllCommand
public ClusteredGetAllCommand(ByteString cacheName, List<?> keys, long flags, GlobalTransaction gtx)
-
-
Method Details
-
invokeAsync
Description copied from interface:CacheRpcCommandInvoke the command asynchronously.- Throws:
Throwable
-
supportedSince
Description copied from interface:ReplicableCommandReturns aNodeVersionrepresenting the Infinispan version in which this command was added. This value is used to ensure that when the cluster contains different Infinispan versions, only commands compatible with the oldest version are transmitted.Abstract classes should not implement this method as the version should be specific to an individual implementation. Similarly, implementations which extend another
ReplicableCommandshould always override this method.- Returns:
- a
NodeVersioncorresponding to the Infinispan version this command was added.
-
getKeys
-
equals
-
hashCode
-
toString
- Overrides:
toStringin classBaseRpcCommand
-