Package org.apache.activemq.store
Interface TransactionStore
-
- All Superinterfaces:
Service
- All Known Implementing Classes:
JdbcMemoryTransactionStore
,JournalTransactionStore
,KahaDBTransactionStore
,MemoryTransactionStore
,MultiKahaDBTransactionStore
public interface TransactionStore extends Service
Represents the durable store of the commit/rollback operations taken against the broker.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
commit(TransactionId txid, boolean wasPrepared, Runnable preCommit, Runnable postCommit)
void
prepare(TransactionId txid)
void
recover(TransactionRecoveryListener listener)
void
rollback(TransactionId txid)
-
-
-
Method Detail
-
prepare
void prepare(TransactionId txid) throws IOException
- Throws:
IOException
-
commit
void commit(TransactionId txid, boolean wasPrepared, Runnable preCommit, Runnable postCommit) throws IOException
- Throws:
IOException
-
rollback
void rollback(TransactionId txid) throws IOException
- Throws:
IOException
-
recover
void recover(TransactionRecoveryListener listener) throws IOException
- Throws:
IOException
-
-