Class TransactionHandler
java.lang.Object
org.qubership.integration.platform.engine.persistence.TransactionHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrunInCheckpointTransaction(Runnable callback) voidrunInNewCheckpointTransaction(Runnable callback) voidrunInNewSchedulerTransaction(Runnable callback) voidrunInSchedulerTransaction(Runnable callback)
-
Constructor Details
-
TransactionHandler
public TransactionHandler()
-
-
Method Details
-
runInCheckpointTransaction
@Transactional(value="checkpointTransactionManager", propagation=REQUIRED) public void runInCheckpointTransaction(Runnable callback) -
runInNewCheckpointTransaction
@Transactional(value="checkpointTransactionManager", propagation=REQUIRES_NEW) public void runInNewCheckpointTransaction(Runnable callback) -
runInSchedulerTransaction
@Transactional(value="schedulerTransactionManager", propagation=REQUIRED) public void runInSchedulerTransaction(Runnable callback) -
runInNewSchedulerTransaction
@Transactional(value="schedulerTransactionManager", propagation=REQUIRES_NEW) public void runInNewSchedulerTransaction(Runnable callback)
-