public class ProtonTransactionImpl extends org.apache.activemq.artemis.core.transaction.impl.TransactionImpl
org.apache.activemq.artemis.core.transaction.Transaction.StatestorageManager| Constructor and Description |
|---|
ProtonTransactionImpl(Xid xid,
StorageManager storageManager,
int timeoutSeconds) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDelivery(org.apache.qpid.proton.engine.Delivery delivery,
ProtonServerSenderContext context) |
void |
commit() |
org.apache.activemq.artemis.core.server.impl.RefsOperation |
createRefsOperation(Queue queue) |
void |
discharge() |
Map<MessageReference,Pair<org.apache.qpid.proton.engine.Delivery,ProtonServerSenderContext>> |
getDeliveries() |
boolean |
isDischarged() |
void |
rollback() |
addOperation, afterStore, commit, doCommit, getAllOperations, getCreateTime, getID, getProperty, getProtocolData, getState, getXid, hasTimedOut, hasTimedOut, isContainsPersistent, isEffective, markAsRollbackOnly, prepare, putProperty, resume, setContainsPersistent, setProtocolData, setState, setTimeout, suspend, toStringpublic ProtonTransactionImpl(Xid xid, StorageManager storageManager, int timeoutSeconds)
public org.apache.activemq.artemis.core.server.impl.RefsOperation createRefsOperation(Queue queue)
createRefsOperation in interface org.apache.activemq.artemis.core.transaction.TransactioncreateRefsOperation in class org.apache.activemq.artemis.core.transaction.impl.TransactionImplpublic void rollback()
throws Exception
rollback in interface org.apache.activemq.artemis.core.transaction.Transactionrollback in class org.apache.activemq.artemis.core.transaction.impl.TransactionImplExceptionpublic void addDelivery(org.apache.qpid.proton.engine.Delivery delivery,
ProtonServerSenderContext context)
public Map<MessageReference,Pair<org.apache.qpid.proton.engine.Delivery,ProtonServerSenderContext>> getDeliveries()
public void commit()
throws Exception
commit in interface org.apache.activemq.artemis.core.transaction.Transactioncommit in class org.apache.activemq.artemis.core.transaction.impl.TransactionImplExceptionpublic boolean isDischarged()
public void discharge()
Copyright © 2018 The Apache Software Foundation. All Rights Reserved.