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,
AMQPConnectionContext connection) |
| 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,
org.apache.activemq.artemis.core.server.impl.AckReason reason) |
void |
discharge() |
Map<MessageReference,Pair<org.apache.qpid.proton.engine.Delivery,ProtonServerSenderContext>> |
getDeliveries() |
boolean |
isDischarged() |
void |
rollback() |
addOperation, afterCommit, afterStore, commit, doCommit, doRollback, getAllOperations, getCreateTime, getID, getProperty, getProtocolData, getState, getXid, hasTimedOut, hasTimedOut, isContainsPersistent, isEffective, markAsRollbackOnly, prepare, putProperty, resume, setContainsPersistent, setProtocolData, setState, setTimeout, suspend, toString, tryRollbackpublic ProtonTransactionImpl(Xid xid, StorageManager storageManager, int timeoutSeconds, AMQPConnectionContext connection)
public org.apache.activemq.artemis.core.server.impl.RefsOperation createRefsOperation(Queue queue, org.apache.activemq.artemis.core.server.impl.AckReason reason)
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 © 2021 The Apache Software Foundation. All rights reserved.