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.ServiceRepresents 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 voidcommit(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)
-
-
-
Method Detail
-
prepare
void prepare(org.apache.activemq.command.TransactionId txid) throws IOException- Throws:
IOException
-
commit
void commit(org.apache.activemq.command.TransactionId txid, boolean wasPrepared, Runnable preCommit, Runnable postCommit) throws IOException- Throws:
IOException
-
rollback
void rollback(org.apache.activemq.command.TransactionId txid) throws IOException- Throws:
IOException
-
recover
void recover(TransactionRecoveryListener listener) throws IOException
- Throws:
IOException
-
-