Class IndexTransactionListener
- java.lang.Object
-
- org.molgenis.data.index.transaction.IndexTransactionListener
-
- All Implemented Interfaces:
TransactionListener
public class IndexTransactionListener extends Object implements TransactionListener
-
-
Constructor Summary
Constructors Constructor Description IndexTransactionListener(IndexJobScheduler indexJobScheduler, IndexActionRegisterService indexActionRegisterService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcommitTransaction(String transactionId)voiddoCleanupAfterCompletion(String transactionId)voidrollbackTransaction(String transactionId)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.molgenis.data.transaction.TransactionListener
afterCommitTransaction, transactionStarted
-
-
-
-
Constructor Detail
-
IndexTransactionListener
public IndexTransactionListener(IndexJobScheduler indexJobScheduler, IndexActionRegisterService indexActionRegisterService)
-
-
Method Detail
-
commitTransaction
public void commitTransaction(String transactionId)
- Specified by:
commitTransactionin interfaceTransactionListener
-
rollbackTransaction
public void rollbackTransaction(String transactionId)
- Specified by:
rollbackTransactionin interfaceTransactionListener
-
doCleanupAfterCompletion
public void doCleanupAfterCompletion(String transactionId)
- Specified by:
doCleanupAfterCompletionin interfaceTransactionListener
-
-