Package org.apache.activemq.store.kahadb
Class KahaDBTransactionStore
java.lang.Object
org.apache.activemq.store.kahadb.KahaDBTransactionStore
- All Implemented Interfaces:
org.apache.activemq.Service,TransactionStore
Provides a TransactionStore implementation that can create transaction aware
MessageStore objects from non transaction aware MessageStore objects.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classclass -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcommit(org.apache.activemq.command.TransactionId txid, boolean wasPrepared, Runnable preCommit, Runnable postCommit) protected voidforgetRecoveredAcks(org.apache.activemq.command.TransactionId txid, boolean isRollback) voidprepare(org.apache.activemq.command.TransactionId txid) proxy(MessageStore messageStore) proxy(TopicMessageStore messageStore) voidrecover(TransactionRecoveryListener listener) voidrollback(org.apache.activemq.command.TransactionId txid) voidstart()voidstop()
-
Constructor Details
-
KahaDBTransactionStore
-
-
Method Details
-
proxy
-
proxy
-
prepare
- Specified by:
preparein interfaceTransactionStore- Throws:
IOException- See Also:
-
commit
public void commit(org.apache.activemq.command.TransactionId txid, boolean wasPrepared, Runnable preCommit, Runnable postCommit) throws IOException - Specified by:
commitin interfaceTransactionStore- Throws:
IOException
-
rollback
- Specified by:
rollbackin interfaceTransactionStore- Throws:
IOException- See Also:
-
forgetRecoveredAcks
protected void forgetRecoveredAcks(org.apache.activemq.command.TransactionId txid, boolean isRollback) throws IOException - Throws:
IOException
-
start
- Specified by:
startin interfaceorg.apache.activemq.Service- Throws:
Exception
-
stop
- Specified by:
stopin interfaceorg.apache.activemq.Service- Throws:
Exception
-
recover
- Specified by:
recoverin interfaceTransactionStore- Throws:
IOException
-