Package org.apache.activemq.store
Interface TransactionStore
- All Superinterfaces:
org.apache.activemq.Service
- All Known Implementing Classes:
MemoryTransactionStore
public interface TransactionStore
extends org.apache.activemq.Service
Represents the durable store of the commit/rollback operations taken against
the broker.
-
Method Summary
Modifier and TypeMethodDescriptionvoidcommit(org.apache.activemq.command.TransactionId txid, boolean wasPrepared, Runnable preCommit, Runnable postCommit) voidprepare(org.apache.activemq.command.TransactionId txid) voidrecover(TransactionRecoveryListener listener) voidrollback(org.apache.activemq.command.TransactionId txid) Methods inherited from interface org.apache.activemq.Service
start, stop
-
Method Details
-
prepare
- Throws:
IOException
-
commit
void commit(org.apache.activemq.command.TransactionId txid, boolean wasPrepared, Runnable preCommit, Runnable postCommit) throws IOException - Throws:
IOException
-
rollback
- Throws:
IOException
-
recover
- Throws:
IOException
-