@Deprecated public class PessPutDataMapCommand extends PutDataMapCommand implements ReversibleCommand
PutDataMapCommand
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.data, erase, ERASE_METHOD_ID, ERASE_VERSIONED_METHOD_ID, log, METHOD_ID, trace, VERSIONED_METHOD_ID
dataVersion, globalTransaction, notifier
dataContainer, fqn
Constructor and Description |
---|
PessPutDataMapCommand()
Deprecated.
|
PessPutDataMapCommand(GlobalTransaction globalTransaction,
Fqn fqn,
Map data)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Object |
perform(InvocationContext ctx)
Deprecated.
Adds the provided data map to 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, getData, getParameters, hashCode, isErase, isVersionedId, setData, setErase, setParameters, 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
public PessPutDataMapCommand(GlobalTransaction globalTransaction, Fqn fqn, Map data)
public PessPutDataMapCommand()
public Object perform(InvocationContext ctx)
PutDataMapCommand
perform
in interface ReplicableCommand
perform
in class PutDataMapCommand
ctx
- invocation contextpublic void rollback()
ReversibleCommand
rollback
in interface ReversibleCommand
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.