public class GetAllCommand extends AbstractTopologyAffectedCommand
VisitableCommand.LoadType| Modifier and Type | Field and Description |
|---|---|
static byte |
COMMAND_ID |
| Constructor and Description |
|---|
GetAllCommand(Collection<?> keys,
long flagsBitSet,
boolean returnEntries) |
| 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.
|
Collection<?> |
getKeys() |
boolean |
isReturnEntries() |
boolean |
isReturnValueExpected()
If true, a return value will be provided when performed remotely.
|
VisitableCommand.LoadType |
loadType() |
void |
readFrom(ObjectInput input)
Reads this instance from the stream written by
ReplicableCommand.writeTo(ObjectOutput). |
void |
setKeys(Collection<?> keys) |
String |
toString() |
void |
writeTo(ObjectOutput output)
Writes this instance to the
ObjectOutput. |
getTopologyId, setTopologyIdgetFlagsBitSet, hasSameFlags, printFlags, setFlagsBitSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanBlock, invoke, invokeAsync, isSuccessful, setOriginaddFlag, addFlags, addFlags, getFlags, hasAllFlags, hasAnyFlag, hasFlag, setFlagsinitpublic static final byte COMMAND_ID
public GetAllCommand(Collection<?> keys, long flagsBitSet, boolean returnEntries)
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 boolean isReturnValueExpected()
ReplicableCommandResponseGenerator may choose to simply return null to save on marshalling
costs.public boolean isReturnEntries()
public Collection<?> getKeys()
public void setKeys(Collection<?> keys)
Copyright © 2022 JBoss by Red Hat. All rights reserved.