@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_IDdataVersion, globalTransaction, notifierdataContainer, 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, toStringgetDataVersion, getGlobalTransaction, initialize, isVersioned, peekVersioned, setDataVersion, setGlobalTransactiongetFqn, initializeclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetGlobalTransaction, setGlobalTransactiongetFqnacceptVisitorgetCommandId, getParameters, setParameterspublic PessClearDataCommand(GlobalTransaction gtx, Fqn fqn)
public PessClearDataCommand()
public Object perform(InvocationContext ctx)
ClearDataCommandperform in interface ReplicableCommandperform in class ClearDataCommandctx - invocation contextpublic void rollback()
ReversibleCommandrollback in interface ReversibleCommandCopyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.