|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.qpid.server.txn.CleanupMessageOperation
public class CleanupMessageOperation
Constructor Summary | |
---|---|
CleanupMessageOperation(AMQMessage msg,
java.util.List<RequiredDeliveryException> returns)
|
Method Summary | |
---|---|
void |
commit(StoreContext context)
Complete the operation started by prepare. |
void |
prepare(StoreContext context)
Do the part of the operation that updates persistent state |
void |
rollback(StoreContext context)
Rolls back the operation. |
void |
undoPrepare()
This is not the same as rollback. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CleanupMessageOperation(AMQMessage msg, java.util.List<RequiredDeliveryException> returns)
Method Detail |
---|
public void prepare(StoreContext context) throws AMQException
TxnOp
prepare
in interface TxnOp
AMQException
public void undoPrepare()
TxnOp
undoPrepare
in interface TxnOp
public void commit(StoreContext context)
TxnOp
commit
in interface TxnOp
public void rollback(StoreContext context)
TxnOp
rollback
in interface TxnOp
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |