Package org.apache.activemq.store.kahadb
Class KahaDBTransactionStore.Tx
- java.lang.Object
-
- org.apache.activemq.store.kahadb.KahaDBTransactionStore.Tx
-
- Enclosing class:
- KahaDBTransactionStore
public class KahaDBTransactionStore.Tx extends Object
-
-
Constructor Summary
Constructors Constructor Description Tx()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(KahaDBTransactionStore.AddMessageCommand msg)
void
add(KahaDBTransactionStore.RemoveMessageCommand ack)
List<Future<Object>>
commit()
MessageAck[]
getAcks()
Message[]
getMessages()
-
-
-
Method Detail
-
add
public void add(KahaDBTransactionStore.AddMessageCommand msg)
-
add
public void add(KahaDBTransactionStore.RemoveMessageCommand ack)
-
getMessages
public Message[] getMessages()
-
getAcks
public MessageAck[] getAcks()
-
commit
public List<Future<Object>> commit() throws IOException
- Returns:
- true if something to commit
- Throws:
IOException
-
-