Package com.swiftmq.impl.topic.standard
Class TopicTransaction
java.lang.Object
com.swiftmq.impl.topic.standard.TopicTransaction
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected longcommit()protected voidcommit(AsyncCompletionCallback callback) protected longcommit(XidImpl globalTxId) protected TopicSubscriberTransactiongetTopicSubscriberTransaction(int brokerSubscriberId) protected intvoidprotected voidprepare(XidImpl globalTxId) protected voidrollback()protected voidrollback(AsyncCompletionCallback callback) protected voidrollback(XidImpl globalTxId) voidsetParentTx(CompositeStoreTransaction parentTx) protected voidsetTopicSubscriberTransaction(int brokerSubscriberId, TopicSubscriberTransaction topicSubscriberTransaction) voidsetTransactionId(int transactionId) toString()void
-
Constructor Details
-
TopicTransaction
-
-
Method Details
-
setParentTx
public void setParentTx(CompositeStoreTransaction parentTx) -
lockQueues
public void lockQueues() -
unlockQueues
public void unlockQueues() -
setTransactionId
public void setTransactionId(int transactionId) -
getTransactionId
protected int getTransactionId() -
setTopicSubscriberTransaction
protected void setTopicSubscriberTransaction(int brokerSubscriberId, TopicSubscriberTransaction topicSubscriberTransaction) -
getTopicSubscriberTransaction
-
prepare
- Throws:
Exception
-
commit
- Throws:
Exception
-
rollback
- Throws:
Exception
-
commit
- Throws:
Exception
-
commit
protected void commit(AsyncCompletionCallback callback) -
rollback
- Throws:
Exception
-
rollback
protected void rollback(AsyncCompletionCallback callback) -
toString
-