@Deprecated public class PessPutForExternalReadCommand extends PutForExternalReadCommand implements ReversibleCommand
PutForExternalReadCommand
which can be rolled back, for use with
pessimistic locking where changes are made directly on the data structures and may need to be reversed.Modifier and Type | Field and Description |
---|---|
protected Object |
oldValue
Deprecated.
|
METHOD_ID, VERSIONED_METHOD_ID
key, value
dataVersion, globalTransaction, notifier
dataContainer, fqn
Constructor and Description |
---|
PessPutForExternalReadCommand()
Deprecated.
|
PessPutForExternalReadCommand(GlobalTransaction gtx,
Fqn fqn,
Object key,
Object value)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Object |
perform(InvocationContext ctx)
Deprecated.
Puts the specified key and value into the data map in the node referenced by the specified Fqn.
|
void |
rollback()
Deprecated.
Reverses a command that has already been invoked.
|
acceptVisitor, getCommandId, isVersionedId
equals, getKey, getParameters, getValue, hashCode, setKey, setParameters, setValue, toString
getDataVersion, getGlobalTransaction, initialize, isVersioned, peekVersioned, setDataVersion, setGlobalTransaction
getFqn, initialize
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getGlobalTransaction, setGlobalTransaction
getFqn
acceptVisitor
getCommandId, getParameters, setParameters
protected Object oldValue
public PessPutForExternalReadCommand(GlobalTransaction gtx, Fqn fqn, Object key, Object value)
public PessPutForExternalReadCommand()
public Object perform(InvocationContext ctx)
PutKeyValueCommand
perform
in interface ReplicableCommand
perform
in class PutKeyValueCommand
ctx
- invocation contextpublic void rollback()
ReversibleCommand
rollback
in interface ReversibleCommand
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.