@Deprecated public class PessRemoveKeyCommand extends RemoveKeyCommand implements ReversibleCommand
RemoveKeyCommand 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.key, METHOD_ID, VERSIONED_METHOD_IDdataVersion, globalTransaction, notifierdataContainer, fqn| Constructor and Description |
|---|
PessRemoveKeyCommand()
Deprecated.
|
PessRemoveKeyCommand(GlobalTransaction gtx,
Fqn fqn,
Object key)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
perform(InvocationContext ctx)
Deprecated.
Removes the specified key from 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, getKey, getParameters, hashCode, isVersionedId, setKey, setParameters, toStringgetDataVersion, getGlobalTransaction, initialize, isVersioned, peekVersioned, setDataVersion, setGlobalTransactiongetFqn, initializeclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetGlobalTransaction, setGlobalTransactiongetFqnacceptVisitorgetCommandId, getParameters, setParameterspublic PessRemoveKeyCommand(GlobalTransaction gtx, Fqn fqn, Object key)
public PessRemoveKeyCommand()
public Object perform(InvocationContext ctx)
RemoveKeyCommandperform in interface ReplicableCommandperform in class RemoveKeyCommandctx - invocation contextpublic void rollback()
ReversibleCommandrollback in interface ReversibleCommandCopyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.