org.activemq.store
Interface TransactionStore

All Superinterfaces:
Service
All Known Implementing Classes:
JournalTransactionStore, VMTransactionStore

public interface TransactionStore
extends Service

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

Version:
$Revision: 1.1.1.1 $

Nested Class Summary
static interface TransactionStore.RecoveryListener
           
 
Method Summary
 void commit(Object txid, boolean wasPrepared)
           
 void prepare(Object txid)
           
 void recover(TransactionStore.RecoveryListener listener)
           
 void rollback(Object txid)
           
 
Methods inherited from interface org.activemq.service.Service
start, stop
 

Method Detail

prepare

public void prepare(Object txid)
             throws XAException
Throws:
XAException

commit

public void commit(Object txid,
                   boolean wasPrepared)
            throws XAException
Throws:
XAException

rollback

public void rollback(Object txid)
              throws XAException
Throws:
XAException

recover

public void recover(TransactionStore.RecoveryListener listener)
             throws XAException
Parameters:
listener -
Throws:
JMSException
XAException


Copyright © 2004-2007 Protique, Ltd.. All Rights Reserved.