public class GetCacheEntryCommand extends GetKeyValueCommand
CacheEntry
instead of just the value.Modifier and Type | Field and Description |
---|---|
static byte |
COMMAND_ID |
key
flags
Constructor and Description |
---|
GetCacheEntryCommand(Object key,
Set<Flag> flags) |
Modifier and Type | Method and Description |
---|---|
byte |
getCommandId()
Used by marshallers to convert this command into an id for streaming.
|
Object |
perform(InvocationContext ctx)
Performs the primary function of the command.
|
acceptVisitor, getParameters, getRemotelyFetchedValue, setParameters, setRemotelyFetchedValue
equals, getKey, hashCode, ignoreCommandOnStatus, isReturnValueExpected, setKey, shouldInvoke, toString
getFlags, getTopologyId, hasFlag, setFlags, setFlags, setTopologyId
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getTopologyId, setTopologyId
public static final byte COMMAND_ID
public Object perform(InvocationContext ctx) throws Throwable
ReplicableCommand
perform
in interface ReplicableCommand
perform
in class GetKeyValueCommand
ctx
- invocation contextThrowable
- in the event of problems.public byte getCommandId()
ReplicableCommand
getCommandId
in interface ReplicableCommand
getCommandId
in class GetKeyValueCommand
Copyright © 2017 JBoss, a division of Red Hat. All Rights Reserved.