public class KahaDBTransactionStore extends Object implements TransactionStore
| Modifier and Type | Class and Description |
|---|---|
class |
KahaDBTransactionStore.AddMessageCommand |
class |
KahaDBTransactionStore.RemoveMessageCommand |
class |
KahaDBTransactionStore.Tx |
| Constructor and Description |
|---|
KahaDBTransactionStore(KahaDBStore theStore) |
| Modifier and Type | Method and Description |
|---|---|
void |
commit(org.apache.activemq.command.TransactionId txid,
boolean wasPrepared,
Runnable preCommit,
Runnable postCommit) |
protected void |
forgetRecoveredAcks(org.apache.activemq.command.TransactionId txid,
boolean isRollback) |
KahaDBTransactionStore.Tx |
getTx(Object txid) |
void |
prepare(org.apache.activemq.command.TransactionId txid) |
MessageStore |
proxy(MessageStore messageStore) |
TopicMessageStore |
proxy(TopicMessageStore messageStore) |
void |
recover(TransactionRecoveryListener listener) |
void |
rollback(org.apache.activemq.command.TransactionId txid) |
void |
start() |
void |
stop() |
public KahaDBTransactionStore(KahaDBStore theStore)
public MessageStore proxy(MessageStore messageStore)
public TopicMessageStore proxy(TopicMessageStore messageStore)
public void prepare(org.apache.activemq.command.TransactionId txid) throws IOException
prepare in interface TransactionStoreIOExceptionTransactionStore.prepare(TransactionId)public KahaDBTransactionStore.Tx getTx(Object txid)
public void commit(org.apache.activemq.command.TransactionId txid, boolean wasPrepared, Runnable preCommit, Runnable postCommit) throws IOException
commit in interface TransactionStoreIOExceptionpublic void rollback(org.apache.activemq.command.TransactionId txid) throws IOException
rollback in interface TransactionStoreIOExceptionTransactionStore.rollback(TransactionId)protected void forgetRecoveredAcks(org.apache.activemq.command.TransactionId txid, boolean isRollback) throws IOException
IOExceptionpublic void start() throws Exception
start in interface org.apache.activemq.ServiceExceptionpublic void stop() throws Exception
stop in interface org.apache.activemq.ServiceExceptionpublic void recover(TransactionRecoveryListener listener) throws IOException
recover in interface TransactionStoreIOExceptionCopyright © 2005–2017 FuseSource, Corp.. All rights reserved.