Class TxReadOnlyManyCommand<K,V,R>
java.lang.Object
org.infinispan.commands.AbstractFlagAffectedCommand
org.infinispan.commands.AbstractTopologyAffectedCommand
org.infinispan.commands.functional.ReadOnlyManyCommand<K,V,R>
org.infinispan.commands.functional.TxReadOnlyManyCommand<K,V,R>
- All Implemented Interfaces:
FlagAffectedCommand, CacheRpcCommand, ReplicableCommand, TopologyAffectedCommand, TracedCommand, VisitableCommand, VersionAware
-
Nested Class Summary
Nested classes/interfaces inherited from interface VisitableCommand
VisitableCommand.LoadType -
Field Summary
Fields inherited from class ReadOnlyManyCommand
f, keyDataConversion, keys, params, valueDataConversionFields inherited from class AbstractTopologyAffectedCommand
topologyIdFields inherited from class AbstractFlagAffectedCommand
cacheName, flags, origin, spanAttributesFields inherited from interface VisitableCommand
log -
Constructor Summary
ConstructorsConstructorDescriptionTxReadOnlyManyCommand(ReadOnlyManyCommand c, List<List<Mutation<K, V, ?>>> mutations) TxReadOnlyManyCommand(ByteString cacheName, Collection<?> keys, List<List<Mutation<K, V, ?>>> mutations, Params params, DataConversion keyDataConversion, DataConversion valueDataConversion) -
Method Summary
Modifier and TypeMethodDescriptionvoidinit(ComponentRegistry componentRegistry) Returns aNodeVersionrepresenting the Infinispan version in which this command was added.toString()Methods inherited from class ReadOnlyManyCommand
acceptVisitor, getFunction, getKeyDataConversion, getKeys, getParams, getValueDataConversion, isReturnValueExpected, loadType, setKeys, withKeysMethods inherited from class AbstractTopologyAffectedCommand
getTopologyId, setTopologyIdMethods inherited from class AbstractFlagAffectedCommand
getCacheName, getFlagsBitSet, getFlagsWithoutRemote, getOrigin, getSpanAttributes, hasSameFlags, printFlags, setFlagsBitSet, setOrigin, setSpanAttributesMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface FlagAffectedCommand
addFlags, getFlags, hasAllFlags, hasAnyFlagMethods inherited from interface ReplicableCommand
getCommandId, isSuccessful, logThrowable, readFrom, writeToMethods inherited from interface TracedCommand
getOperationName, getSpanAttributes, setSpanAttributesMethods inherited from interface VisitableCommand
invokeAsync
-
Constructor Details
-
TxReadOnlyManyCommand
public TxReadOnlyManyCommand(ByteString cacheName, Collection<?> keys, List<List<Mutation<K, V, ?>>> mutations, Params params, DataConversion keyDataConversion, DataConversion valueDataConversion) -
TxReadOnlyManyCommand
-
-
Method Details
-
init
- Specified by:
initin interfaceVisitableCommand- Overrides:
initin classReadOnlyManyCommand<K,V, R>
-
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.- Specified by:
supportedSincein interfaceReplicableCommand- Specified by:
supportedSincein interfaceVersionAware- Overrides:
supportedSincein classReadOnlyManyCommand<K,V, R> - Returns:
- a
NodeVersioncorresponding to the Infinispan version this command was added.
-
toString
-
getMutations
-