|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.cache.commands.read.AbstractDataCommand
org.jboss.cache.commands.write.MoveCommand
org.jboss.cache.commands.legacy.write.PessMoveCommand
@Deprecated public class PessMoveCommand
A version of MoveCommand 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.
| Field Summary |
|---|
| Fields inherited from class org.jboss.cache.commands.write.MoveCommand |
|---|
globalTransaction, log, METHOD_ID, notifier, to, trace |
| Fields inherited from class org.jboss.cache.commands.read.AbstractDataCommand |
|---|
dataContainer, fqn |
| Constructor Summary | |
|---|---|
PessMoveCommand()
Deprecated. |
|
PessMoveCommand(Fqn from,
Fqn to)
Deprecated. |
|
| Method Summary | |
|---|---|
java.lang.Object |
perform(InvocationContext ctx)
Deprecated. Moves a node, from fqn to to, and returns null. |
void |
rollback()
Deprecated. Reverses a command that has already been invoked. |
| Methods inherited from class org.jboss.cache.commands.write.MoveCommand |
|---|
acceptVisitor, equals, getCommandId, getGlobalTransaction, getParameters, getTo, hashCode, initialize, setGlobalTransaction, setParameters, toString |
| Methods inherited from class org.jboss.cache.commands.read.AbstractDataCommand |
|---|
getFqn, initialize |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jboss.cache.commands.WriteCommand |
|---|
getGlobalTransaction, setGlobalTransaction |
| Methods inherited from interface org.jboss.cache.commands.DataCommand |
|---|
getFqn |
| Methods inherited from interface org.jboss.cache.commands.VisitableCommand |
|---|
acceptVisitor |
| Methods inherited from interface org.jboss.cache.commands.ReplicableCommand |
|---|
getCommandId, getParameters, setParameters |
| Constructor Detail |
|---|
public PessMoveCommand()
public PessMoveCommand(Fqn from,
Fqn to)
| Method Detail |
|---|
public java.lang.Object perform(InvocationContext ctx)
perform in interface ReplicableCommandperform in class MoveCommandctx - invocation context
public void rollback()
ReversibleCommand
rollback in interface ReversibleCommand
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||