public class TxReadOnlyManyCommand<K,V,R> extends ReadOnlyManyCommand<K,V,R>
VisitableCommand.LoadType| Modifier and Type | Field and Description |
|---|---|
static byte |
COMMAND_ID |
f, keyDataConversion, keys, params, valueDataConversion| Constructor and Description |
|---|
TxReadOnlyManyCommand() |
TxReadOnlyManyCommand(Collection<?> keys,
List<List<Mutation<K,V,?>>> mutations,
Params params,
DataConversion keyDataConversion,
DataConversion valueDataConversion) |
TxReadOnlyManyCommand(ReadOnlyManyCommand c,
List<List<Mutation<K,V,?>>> mutations) |
| Modifier and Type | Method and Description |
|---|---|
byte |
getCommandId()
Used by marshallers to convert this command into an id for streaming.
|
List<List<Mutation<K,V,?>>> |
getMutations() |
void |
init(ComponentRegistry componentRegistry) |
void |
readFrom(ObjectInput input)
Reads this instance from the stream written by
ReplicableCommand.writeTo(ObjectOutput). |
String |
toString() |
void |
writeTo(ObjectOutput output)
Writes this instance to the
ObjectOutput. |
acceptVisitor, getFunction, getKeyDataConversion, getKeys, getParams, getValueDataConversion, isReturnValueExpected, loadType, setKeys, withKeysgetTopologyId, setTopologyIdgetFlagsBitSet, hasSameFlags, printFlags, setFlagsBitSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanBlock, invoke, invokeAsync, isSuccessful, setOriginaddFlag, addFlags, addFlags, getFlags, hasAllFlags, hasAnyFlag, hasFlag, setFlagspublic static final byte COMMAND_ID
public TxReadOnlyManyCommand()
public TxReadOnlyManyCommand(Collection<?> keys, List<List<Mutation<K,V,?>>> mutations, Params params, DataConversion keyDataConversion, DataConversion valueDataConversion)
public void init(ComponentRegistry componentRegistry)
init in interface VisitableCommandinit in class ReadOnlyManyCommand<K,V,R>public byte getCommandId()
ReplicableCommandgetCommandId in interface ReplicableCommandgetCommandId in class ReadOnlyManyCommand<K,V,R>public void writeTo(ObjectOutput output) throws IOException
ReplicableCommandObjectOutput.writeTo in interface ReplicableCommandwriteTo in class ReadOnlyManyCommand<K,V,R>output - the stream.IOException - if an error occurred during the I/O.public void readFrom(ObjectInput input) throws IOException, ClassNotFoundException
ReplicableCommandReplicableCommand.writeTo(ObjectOutput).readFrom in interface ReplicableCommandreadFrom in class ReadOnlyManyCommand<K,V,R>input - the stream to read.IOException - if an error occurred during the I/O.ClassNotFoundException - if it tries to load an undefined class.Copyright © 2022 JBoss by Red Hat. All rights reserved.