@Deprecated public class PessMoveCommand extends MoveCommand implements ReversibleCommand
MoveCommand
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.globalTransaction, log, METHOD_ID, notifier, to, trace
dataContainer, fqn
Constructor and Description |
---|
PessMoveCommand()
Deprecated.
|
PessMoveCommand(Fqn from,
Fqn to)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Object |
perform(InvocationContext ctx)
Deprecated.
Moves a node, from fqn to to, and returns null.
|
void |
rollback()
Deprecated.
Reverses a command that has already been invoked.
|
acceptVisitor, equals, getCommandId, getGlobalTransaction, getParameters, getTo, hashCode, initialize, setGlobalTransaction, setParameters, toString
getFqn, initialize
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getGlobalTransaction, setGlobalTransaction
getFqn
acceptVisitor
getCommandId, getParameters, setParameters
public Object perform(InvocationContext ctx)
perform
in interface ReplicableCommand
perform
in class MoveCommand
ctx
- invocation contextpublic void rollback()
ReversibleCommand
rollback
in interface ReversibleCommand
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.