Class TopicTransaction
java.lang.Object
com.swiftmq.impl.topic.standard.TopicTransaction
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected longcommit()protected longcommit(com.swiftmq.jms.XidImpl globalTxId) protected voidcommit(com.swiftmq.tools.concurrent.AsyncCompletionCallback callback) protected TopicSubscriberTransactiongetTopicSubscriberTransaction(int brokerSubscriberId) protected intvoidprotected voidprepare(com.swiftmq.jms.XidImpl globalTxId) protected voidrollback()protected voidrollback(com.swiftmq.jms.XidImpl globalTxId) protected voidrollback(com.swiftmq.tools.concurrent.AsyncCompletionCallback callback) voidsetParentTx(com.swiftmq.swiftlet.store.CompositeStoreTransaction parentTx) protected voidsetTopicSubscriberTransaction(int brokerSubscriberId, TopicSubscriberTransaction topicSubscriberTransaction) voidsetTransactionId(int transactionId) toString()void
-
Constructor Details
-
TopicTransaction
-
-
Method Details
-
setParentTx
public void setParentTx(com.swiftmq.swiftlet.store.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
-
commit
-
rollback
-
commit
-
commit
protected void commit(com.swiftmq.tools.concurrent.AsyncCompletionCallback callback) -
rollback
-
rollback
protected void rollback(com.swiftmq.tools.concurrent.AsyncCompletionCallback callback) -
toString
-