Class FinishPageMessageOperation
- java.lang.Object
-
- org.apache.activemq.artemis.core.transaction.TransactionOperationAbstract
-
- org.apache.activemq.artemis.core.persistence.impl.journal.codec.FinishPageMessageOperation
-
- All Implemented Interfaces:
TransactionOperation
public class FinishPageMessageOperation extends TransactionOperationAbstract implements TransactionOperation
This is only used when loading a transaction.it might be possible to merge the functionality of this class with
FinishPageMessageOperation
-
-
Constructor Summary
Constructors Constructor Description FinishPageMessageOperation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterCommit(Transaction tx)After commit shouldn't throw any exception.voidafterRollback(Transaction tx)After rollback shouldn't throw any exception.-
Methods inherited from class org.apache.activemq.artemis.core.transaction.TransactionOperationAbstract
afterCommit, afterPrepare, beforeCommit, beforePrepare, beforeRollback, getListOnConsumer, getRelatedMessageReferences
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.activemq.artemis.core.transaction.TransactionOperation
afterPrepare, beforeCommit, beforePrepare, beforeRollback, getListOnConsumer, getRelatedMessageReferences
-
-
-
-
Method Detail
-
afterCommit
public void afterCommit(Transaction tx)
Description copied from class:TransactionOperationAbstractAfter commit shouldn't throw any exception.Any verification has to be done on before commit
- Specified by:
afterCommitin interfaceTransactionOperation- Overrides:
afterCommitin classTransactionOperationAbstract
-
afterRollback
public void afterRollback(Transaction tx)
Description copied from class:TransactionOperationAbstractAfter rollback shouldn't throw any exception.Any verification has to be done on before rollback
- Specified by:
afterRollbackin interfaceTransactionOperation- Overrides:
afterRollbackin classTransactionOperationAbstract
-
-