public class GetKeyValueCommand extends AbstractDataCommand
Map.get(Object) and
Map.containsKey(Object) operationsVisitableCommand.LoadType| Modifier and Type | Field and Description |
|---|---|
static byte |
COMMAND_ID |
key, segment| Constructor and Description |
|---|
GetKeyValueCommand() |
GetKeyValueCommand(Object key,
int segment,
long flagsBitSet) |
| Modifier and Type | Method and Description |
|---|---|
Object |
acceptVisitor(InvocationContext ctx,
Visitor visitor)
Accept a visitor, and return the result of accepting this visitor.
|
byte |
getCommandId()
Used by marshallers to convert this command into an id for streaming.
|
VisitableCommand.LoadType |
loadType() |
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. |
equals, getFlagsBitSet, getKey, getSegment, getTopologyId, hashCode, isReturnValueExpected, printFlags, setFlagsBitSet, setKey, setTopologyIdclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddFlag, addFlags, addFlags, getFlags, hasAllFlags, hasAnyFlag, hasFlag, setFlagsinitcanBlock, invoke, invokeAsync, isSuccessful, setOriginextractSegmentpublic static final byte COMMAND_ID
public GetKeyValueCommand(Object key, int segment, long flagsBitSet)
public GetKeyValueCommand()
public Object acceptVisitor(InvocationContext ctx, Visitor visitor) throws Throwable
VisitableCommandctx - invocation contextvisitor - visitor to acceptThrowable - in the event of problemspublic VisitableCommand.LoadType loadType()
public byte getCommandId()
ReplicableCommandpublic void writeTo(ObjectOutput output) throws IOException
ReplicableCommandObjectOutput.output - the stream.IOException - if an error occurred during the I/O.public void readFrom(ObjectInput input) throws IOException, ClassNotFoundException
ReplicableCommandReplicableCommand.writeTo(ObjectOutput).input - the stream to read.IOException - if an error occurred during the I/O.ClassNotFoundException - if it tries to load an undefined class.public String toString()
toString in class AbstractDataCommandCopyright © 2022 JBoss by Red Hat. All rights reserved.