|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.qpid.server.ack.TxAck
public class TxAck
A TxnOp implementation for handling accumulated acks
Constructor Summary | |
---|---|
TxAck(UnacknowledgedMessageMap map)
|
Method Summary | |
---|---|
boolean |
checkPersistent()
|
void |
commit()
Complete the operation started by prepare. |
void |
consolidate()
|
void |
prepare()
Do the part of the operation that updates persistent state |
void |
rollback()
Rolls back the operation. |
void |
undoPrepare()
This is not the same as rollback. |
void |
update(long deliveryTag,
boolean multiple)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TxAck(UnacknowledgedMessageMap map)
Method Detail |
---|
public void update(long deliveryTag, boolean multiple)
public void consolidate()
public boolean checkPersistent() throws org.apache.qpid.AMQException
org.apache.qpid.AMQException
public void prepare() throws org.apache.qpid.AMQException
TxnOp
prepare
in interface TxnOp
org.apache.qpid.AMQException
public void undoPrepare()
TxnOp
undoPrepare
in interface TxnOp
public void commit()
TxnOp
commit
in interface TxnOp
public void rollback()
TxnOp
rollback
in interface TxnOp
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |