Interface TransactionListener

  • public interface TransactionListener
    Interface for a listener to be notified of prepare, and commit, abort, or other phase transitions, of distributed transactions. To receive such notifications, implement this interface, with the methods that will be called in the cases of interest, and pass an instance to Session.addTransactionListener(org.postgresql.pljava.TransactionListener). The default implementations of these methods do nothing. TransactionListener exposes a PostgreSQL-specific function that is more internal than the documented SPI.
    Thomas Hallgren