matador::transaction::observer Struct Referenceabstract

Interface to an transaction observer. More...

#include <transaction.hpp>

Public Member Functions

virtual void on_begin ()=0
 Interface for the begin transaction event.
 
virtual void on_commit (transaction::t_action_vector &)=0
 Interface for the commit transaction event.
 
virtual void on_rollback ()=0
 Interface for the rollback transaction event.
 

Detailed Description

Interface to an transaction observer.

The transaction observer will be notified on begin, commit and rollback of a transaction

Member Function Documentation

◆ on_commit()

void matador::transaction::observer::on_commit ( transaction::t_action_vector actions)
pure virtual

Interface for the commit transaction event.

The interface for the commit transaction event takes a vector of all actions to be commited.

Parameters
actionsActions to be commited.

The documentation for this struct was generated from the following file:
  • matador/object/transaction.hpp