Class PostOfficeImpl.AddOperation
- java.lang.Object
-
- org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.AddOperation
-
- All Implemented Interfaces:
TransactionOperation
- Enclosing class:
- PostOfficeImpl
public static final class PostOfficeImpl.AddOperation extends Object implements TransactionOperation
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterCommit(Transaction tx)After commit shouldn't throw any exception.voidafterPrepare(Transaction tx)After prepare shouldn't throw any exception.voidafterRollback(Transaction tx)After rollback shouldn't throw any exception.voidbeforeCommit(Transaction tx)voidbeforePrepare(Transaction tx)voidbeforeRollback(Transaction tx)List<MessageReference>getListOnConsumer(long consumerID)List<MessageReference>getRelatedMessageReferences()
-
-
-
Method Detail
-
afterCommit
public void afterCommit(Transaction tx)
Description copied from interface:TransactionOperationAfter commit shouldn't throw any exception.Any verification has to be done on before commit
- Specified by:
afterCommitin interfaceTransactionOperation
-
afterPrepare
public void afterPrepare(Transaction tx)
Description copied from interface:TransactionOperationAfter prepare shouldn't throw any exception.Any verification has to be done on before prepare
- Specified by:
afterPreparein interfaceTransactionOperation
-
afterRollback
public void afterRollback(Transaction tx)
Description copied from interface:TransactionOperationAfter rollback shouldn't throw any exception.Any verification has to be done on before rollback
- Specified by:
afterRollbackin interfaceTransactionOperation
-
beforeCommit
public void beforeCommit(Transaction tx) throws Exception
- Specified by:
beforeCommitin interfaceTransactionOperation- Throws:
Exception
-
beforePrepare
public void beforePrepare(Transaction tx) throws Exception
- Specified by:
beforePreparein interfaceTransactionOperation- Throws:
Exception
-
beforeRollback
public void beforeRollback(Transaction tx) throws Exception
- Specified by:
beforeRollbackin interfaceTransactionOperation- Throws:
Exception
-
getRelatedMessageReferences
public List<MessageReference> getRelatedMessageReferences()
- Specified by:
getRelatedMessageReferencesin interfaceTransactionOperation
-
getListOnConsumer
public List<MessageReference> getListOnConsumer(long consumerID)
- Specified by:
getListOnConsumerin interfaceTransactionOperation
-
-