public interface TransactionListener
TransactionListenerprovides callbacks when a transaction is committed.
|Modifier and Type||Method and Description|
This method is called after the commit has been executed.
This method is called right before a transaction is committed.
void beforeCommit(TransactionResource resource, String lockToken)
resource- the transaction resource which will be committed.
lockToken- the lock token
Copyright © 2004–2018 The Apache Software Foundation. All rights reserved.