Package com.swiftmq.impl.topic.standard
Class TopicTransaction
java.lang.Object
com.swiftmq.impl.topic.standard.TopicTransaction
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected long
commit()
protected void
commit
(AsyncCompletionCallback callback) protected long
commit
(XidImpl globalTxId) protected TopicSubscriberTransaction
getTopicSubscriberTransaction
(int brokerSubscriberId) protected int
void
protected void
prepare
(XidImpl globalTxId) protected void
rollback()
protected void
rollback
(AsyncCompletionCallback callback) protected void
rollback
(XidImpl globalTxId) void
setParentTx
(CompositeStoreTransaction parentTx) protected void
setTopicSubscriberTransaction
(int brokerSubscriberId, TopicSubscriberTransaction topicSubscriberTransaction) void
setTransactionId
(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
-