|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface TransactionLog.Transaction
Method Summary | |
---|---|
void |
abortTran()
Abandons all operations performed within a given transactional context. |
void |
commitTran()
Commits all operations performed within a given transactional context. |
TransactionLog.StoreFuture |
commitTranAsync()
Commits all operations performed within a given transactional context. |
void |
dequeueMessage(TransactionLogResource queue,
Long messageId)
Extracts a message from a specified queue, in a given transactional context. |
void |
enqueueMessage(TransactionLogResource queue,
Long messageId)
Places a message onto a specified queue, in a given transactional context. |
Method Detail |
---|
void enqueueMessage(TransactionLogResource queue, Long messageId) throws org.apache.qpid.AMQStoreException
queue
- The queue to place the message on.messageId
- The message to enqueue.
org.apache.qpid.AMQStoreException
- If the operation fails for any reason.void dequeueMessage(TransactionLogResource queue, Long messageId) throws org.apache.qpid.AMQStoreException
queue
- The queue to place the message on.messageId
- The message to dequeue.
org.apache.qpid.AMQStoreException
- If the operation fails for any reason, or if the specified message does not exist.void commitTran() throws org.apache.qpid.AMQStoreException
org.apache.qpid.AMQStoreException
- If the operation fails for any reason.TransactionLog.StoreFuture commitTranAsync() throws org.apache.qpid.AMQStoreException
org.apache.qpid.AMQStoreException
- If the operation fails for any reason.void abortTran() throws org.apache.qpid.AMQStoreException
org.apache.qpid.AMQStoreException
- If the operation fails for any reason.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |