org.apache.activemq.store.kahadb
Class MultiKahaDBTransactionStore
java.lang.Object
org.apache.activemq.store.kahadb.MultiKahaDBTransactionStore
- All Implemented Interfaces:
- org.apache.activemq.Service, TransactionStore
public class MultiKahaDBTransactionStore
- extends Object
- implements TransactionStore
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiKahaDBTransactionStore
public MultiKahaDBTransactionStore(MultiKahaDBPersistenceAdapter multiKahaDBPersistenceAdapter)
proxy
public MessageStore proxy(TransactionStore transactionStore,
MessageStore messageStore)
proxy
public TopicMessageStore proxy(TransactionStore transactionStore,
TopicMessageStore messageStore)
deleteAllMessages
public void deleteAllMessages()
getJournalMaxFileLength
public int getJournalMaxFileLength()
setJournalMaxFileLength
public void setJournalMaxFileLength(int journalMaxFileLength)
getJournalMaxWriteBatchSize
public int getJournalMaxWriteBatchSize()
setJournalMaxWriteBatchSize
public void setJournalMaxWriteBatchSize(int journalWriteBatchSize)
getTx
public MultiKahaDBTransactionStore.Tx getTx(org.apache.activemq.command.TransactionId txid)
removeTx
public MultiKahaDBTransactionStore.Tx removeTx(org.apache.activemq.command.TransactionId txid)
prepare
public void prepare(org.apache.activemq.command.TransactionId txid)
throws IOException
- Specified by:
prepare in interface TransactionStore
- Throws:
IOException
commit
public void commit(org.apache.activemq.command.TransactionId txid,
boolean wasPrepared,
Runnable preCommit,
Runnable postCommit)
throws IOException
- Specified by:
commit in interface TransactionStore
- Throws:
IOException
persistOutcome
public void persistOutcome(MultiKahaDBTransactionStore.Tx tx,
org.apache.activemq.command.TransactionId txid)
throws IOException
- Throws:
IOException
persistCompletion
public void persistCompletion(org.apache.activemq.command.TransactionId txid)
throws IOException
- Throws:
IOException
rollback
public void rollback(org.apache.activemq.command.TransactionId txid)
throws IOException
- Specified by:
rollback in interface TransactionStore
- Throws:
IOException
start
public void start()
throws Exception
- Specified by:
start in interface org.apache.activemq.Service
- Throws:
Exception
stop
public void stop()
throws Exception
- Specified by:
stop in interface org.apache.activemq.Service
- Throws:
Exception
load
public JournalCommand<?> load(Location location)
throws IOException
- Throws:
IOException
process
public void process(JournalCommand<?> command)
throws IOException
- Throws:
IOException
recover
public void recover(TransactionRecoveryListener listener)
throws IOException
- Specified by:
recover in interface TransactionStore
- Throws:
IOException
Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.