@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_ID
dataVersion, globalTransaction, notifier
dataContainer, 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, 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 PessRemoveKeyCommand(GlobalTransaction gtx, Fqn fqn, Object key)
public PessRemoveKeyCommand()
public Object perform(InvocationContext ctx)
RemoveKeyCommand
perform
in interface ReplicableCommand
perform
in class RemoveKeyCommand
ctx
- invocation contextpublic void rollback()
ReversibleCommand
rollback
in interface ReversibleCommand
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.