Package org.apache.activemq.store.kahadb
Class MultiKahaDBTransactionStore
java.lang.Object
org.apache.activemq.store.kahadb.MultiKahaDBTransactionStore
- All Implemented Interfaces:
org.apache.activemq.Service,TransactionStore
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionMultiKahaDBTransactionStore(MultiKahaDBPersistenceAdapter multiKahaDBPersistenceAdapter) -
Method Summary
Modifier and TypeMethodDescriptionvoidcommit(org.apache.activemq.command.TransactionId txid, boolean wasPrepared, Runnable preCommit, Runnable postCommit) voidlongintintgetTx(org.apache.activemq.command.TransactionId txid) booleanvoidpersistCompletion(org.apache.activemq.command.TransactionId txid) voidpersistOutcome(MultiKahaDBTransactionStore.Tx tx, org.apache.activemq.command.TransactionId txid) voidprepare(org.apache.activemq.command.TransactionId txid) voidprocess(Location location, JournalCommand<?> command) proxy(TransactionStore transactionStore, MessageStore messageStore) proxy(TransactionStore transactionStore, TopicMessageStore messageStore) voidrecover(TransactionRecoveryListener listener) removeTx(org.apache.activemq.command.TransactionId txid) voidrollback(org.apache.activemq.command.TransactionId txid) voidsetCheckForCorruption(boolean checkForCorruption) voidsetJournalCleanupInterval(long journalCleanupInterval) voidsetJournalMaxFileLength(int journalMaxFileLength) voidsetJournalMaxWriteBatchSize(int journalWriteBatchSize) voidstart()voidstop()
-
Constructor Details
-
MultiKahaDBTransactionStore
-
-
Method Details
-
proxy
-
proxy
-
deleteAllMessages
public void deleteAllMessages() -
getJournalMaxFileLength
public int getJournalMaxFileLength() -
setJournalMaxFileLength
public void setJournalMaxFileLength(int journalMaxFileLength) -
getJournalMaxWriteBatchSize
public int getJournalMaxWriteBatchSize() -
setJournalMaxWriteBatchSize
public void setJournalMaxWriteBatchSize(int journalWriteBatchSize) -
setJournalCleanupInterval
public void setJournalCleanupInterval(long journalCleanupInterval) -
getJournalCleanupInterval
public long getJournalCleanupInterval() -
setCheckForCorruption
public void setCheckForCorruption(boolean checkForCorruption) -
isCheckForCorruption
public boolean isCheckForCorruption() -
getTx
-
removeTx
-
prepare
- Specified by:
preparein interfaceTransactionStore- Throws:
IOException
-
commit
public void commit(org.apache.activemq.command.TransactionId txid, boolean wasPrepared, Runnable preCommit, Runnable postCommit) throws IOException - Specified by:
commitin interfaceTransactionStore- Throws:
IOException
-
persistOutcome
public void persistOutcome(MultiKahaDBTransactionStore.Tx tx, org.apache.activemq.command.TransactionId txid) throws IOException - Throws:
IOException
-
persistCompletion
- Throws:
IOException
-
rollback
- Specified by:
rollbackin interfaceTransactionStore- Throws:
IOException
-
start
- Specified by:
startin interfaceorg.apache.activemq.Service- Throws:
Exception
-
stop
- Specified by:
stopin interfaceorg.apache.activemq.Service- Throws:
Exception
-
load
- Throws:
IOException
-
process
- Throws:
IOException
-
recover
- Specified by:
recoverin interfaceTransactionStore- Throws:
IOException
-