@Deprecated public class PessClearDataCommand extends ClearDataCommand implements ReversibleCommand
ClearDataCommand
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.log, METHOD_ID, trace, VERSIONED_METHOD_ID
dataVersion, globalTransaction, notifier
dataContainer, fqn
Constructor and Description |
---|
PessClearDataCommand()
Deprecated.
|
PessClearDataCommand(GlobalTransaction gtx,
Fqn fqn)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Object |
perform(InvocationContext ctx)
Deprecated.
Clears 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, getParameters, hashCode, isVersionedId, 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 PessClearDataCommand(GlobalTransaction gtx, Fqn fqn)
public PessClearDataCommand()
public Object perform(InvocationContext ctx)
ClearDataCommand
perform
in interface ReplicableCommand
perform
in class ClearDataCommand
ctx
- invocation contextpublic void rollback()
ReversibleCommand
rollback
in interface ReversibleCommand
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.