@Deprecated public class PessRemoveNodeCommand extends RemoveNodeCommand implements ReversibleCommand
RemoveNodeCommand 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 Map |
originalData
Deprecated.
|
log, METHOD_ID, parentFqn, targetNode, trace, VERSIONED_METHOD_IDdataVersion, globalTransaction, notifierdataContainer, fqn| Constructor and Description |
|---|
PessRemoveNodeCommand()
Deprecated.
|
PessRemoveNodeCommand(GlobalTransaction globalTransaction,
Fqn fqn)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
perform(InvocationContext ctx)
Deprecated.
Removes the node referenced by the specified Fqn.
|
protected void |
recursivelyMarkAsRemoved(NodeSPI node,
InvocationContext ctx)
Deprecated.
Recursively marks a node as removed.
|
void |
rollback()
Deprecated.
Reverses a command that has already been invoked.
|
acceptVisitor, equals, getCommandId, getParameters, hashCode, isSkipSendingNodeEvents, isVersionedId, setParameters, setSkipSendingNodeEvents, toStringgetDataVersion, getGlobalTransaction, initialize, isVersioned, peekVersioned, setDataVersion, setGlobalTransactiongetFqn, initializeclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetGlobalTransaction, setGlobalTransactiongetFqnacceptVisitorgetCommandId, getParameters, setParametersprotected Map originalData
public PessRemoveNodeCommand(GlobalTransaction globalTransaction, Fqn fqn)
public PessRemoveNodeCommand()
public Object perform(InvocationContext ctx)
RemoveNodeCommandperform in interface ReplicableCommandperform in class RemoveNodeCommandctx - invocation contextprotected void recursivelyMarkAsRemoved(NodeSPI node, InvocationContext ctx)
RemoveNodeCommandrecursivelyMarkAsRemoved in class RemoveNodeCommandnode - Node to markctx - Invocation contextpublic void rollback()
ReversibleCommandrollback in interface ReversibleCommandCopyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.