org.apache.activemq.store
Interface TransactionStore

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

public interface TransactionStore
extends Service

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

Version:
$Revision: 1.2 $

Method Summary
 void commit(TransactionId txid, boolean wasPrepared)
           
 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 IOException
Throws:
IOException

commit

void commit(TransactionId txid,
            boolean wasPrepared)
            throws IOException
Throws:
IOException

rollback

void rollback(TransactionId txid)
              throws IOException
Throws:
IOException

recover

void recover(TransactionRecoveryListener listener)
             throws IOException
Throws:
IOException


Copyright © 2008. All Rights Reserved.