Class MultiKahaDBTransactionStore

java.lang.Object
org.apache.activemq.store.kahadb.MultiKahaDBTransactionStore
All Implemented Interfaces:
org.apache.activemq.Service, org.apache.activemq.store.TransactionStore

public class MultiKahaDBTransactionStore extends Object implements org.apache.activemq.store.TransactionStore
  • Constructor Details

  • Method Details

    • proxy

      public org.apache.activemq.store.MessageStore proxy(org.apache.activemq.store.TransactionStore transactionStore, org.apache.activemq.store.MessageStore messageStore)
    • proxy

      public org.apache.activemq.store.TopicMessageStore proxy(org.apache.activemq.store.TransactionStore transactionStore, org.apache.activemq.store.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)
    • setJournalCleanupInterval

      public void setJournalCleanupInterval(long journalCleanupInterval)
    • getJournalCleanupInterval

      public long getJournalCleanupInterval()
    • setCheckForCorruption

      public void setCheckForCorruption(boolean checkForCorruption)
    • isCheckForCorruption

      public boolean isCheckForCorruption()
    • 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 org.apache.activemq.store.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 org.apache.activemq.store.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 org.apache.activemq.store.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(Location location, JournalCommand<?> command) throws IOException
      Throws:
      IOException
    • recover

      public void recover(org.apache.activemq.store.TransactionRecoveryListener listener) throws IOException
      Specified by:
      recover in interface org.apache.activemq.store.TransactionStore
      Throws:
      IOException