public class PutForExternalReadCommand extends PutKeyValueCommand
Cache.putForExternalRead(org.jboss.cache.Fqn, Object, Object)
method call.Modifier and Type | Field and Description |
---|---|
static int |
METHOD_ID |
static int |
VERSIONED_METHOD_ID |
key, value
dataVersion, globalTransaction, notifier
dataContainer, fqn
Constructor and Description |
---|
PutForExternalReadCommand() |
PutForExternalReadCommand(GlobalTransaction gtx,
Fqn fqn,
Object key,
Object value) |
Modifier and Type | Method and Description |
---|---|
Object |
acceptVisitor(InvocationContext ctx,
Visitor visitor)
Accept a visitor, and return the result of accepting this visitor.
|
int |
getCommandId()
Used by marshallers to convert this command into an id for streaming.
|
protected boolean |
isVersionedId(int commandId) |
equals, getKey, getParameters, getValue, hashCode, perform, setKey, setParameters, setValue, toString
getDataVersion, getGlobalTransaction, initialize, isVersioned, peekVersioned, setDataVersion, setGlobalTransaction
getFqn, initialize
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getFqn
public static final int METHOD_ID
public static final int VERSIONED_METHOD_ID
public PutForExternalReadCommand(GlobalTransaction gtx, Fqn fqn, Object key, Object value)
public PutForExternalReadCommand()
public int getCommandId()
ReplicableCommand
getCommandId
in interface ReplicableCommand
getCommandId
in class PutKeyValueCommand
protected boolean isVersionedId(int commandId)
isVersionedId
in class PutKeyValueCommand
public Object acceptVisitor(InvocationContext ctx, Visitor visitor) throws Throwable
VisitableCommand
acceptVisitor
in interface VisitableCommand
acceptVisitor
in class PutKeyValueCommand
ctx
- invocation contextvisitor
- visitor to acceptThrowable
- in the event of problemsCopyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.