org.apache.activemq.store
Interface TransactionStore

All Superinterfaces:
Service
All Known Implementing Classes:
AMQTransactionStore, JournalTransactionStore, KahaDBTransactionStore, KahaTransactionStore, MemoryTransactionStore

public interface TransactionStore
extends Service

Represents the durable store of the commit/rollback operations taken against the broker.


Method Summary
 void commit(TransactionId txid, boolean wasPrepared, java.lang.Runnable preCommit, java.lang.Runnable postCommit)
           
 void prepare(TransactionId txid)
           
 void recover(TransactionRecoveryListener listener)
           
 void rollback(TransactionId txid)
           
 
Methods inherited from interface org.apache.activemq.Service
start, stop
 

Method Detail

prepare

void prepare(TransactionId txid)
             throws java.io.IOException
Throws:
java.io.IOException

commit

void commit(TransactionId txid,
            boolean wasPrepared,
            java.lang.Runnable preCommit,
            java.lang.Runnable postCommit)
            throws java.io.IOException
Throws:
java.io.IOException

rollback

void rollback(TransactionId txid)
              throws java.io.IOException
Throws:
java.io.IOException

recover

void recover(TransactionRecoveryListener listener)
             throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2005-2011 FuseSource, Corp.. All Rights Reserved.