@Deprecated public class PessPutKeyValueCommand extends PutKeyValueCommand implements ReversibleCommand
PutKeyValueCommand 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.
|
key, METHOD_ID, value, VERSIONED_METHOD_IDdataVersion, globalTransaction, notifierdataContainer, fqn| Constructor and Description |
|---|
PessPutKeyValueCommand()
Deprecated.
|
PessPutKeyValueCommand(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, equals, getCommandId, getKey, getParameters, getValue, hashCode, isVersionedId, setKey, setParameters, setValue, toStringgetDataVersion, getGlobalTransaction, initialize, isVersioned, peekVersioned, setDataVersion, setGlobalTransactiongetFqn, initializeclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetGlobalTransaction, setGlobalTransactiongetFqnacceptVisitorgetCommandId, getParameters, setParametersprotected Object oldValue
public PessPutKeyValueCommand(GlobalTransaction gtx, Fqn fqn, Object key, Object value)
public PessPutKeyValueCommand()
public Object perform(InvocationContext ctx)
PutKeyValueCommandperform in interface ReplicableCommandperform in class PutKeyValueCommandctx - invocation contextpublic void rollback()
ReversibleCommandrollback in interface ReversibleCommandCopyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.