1 #ifndef INCLUDE_ORA_MONITORING_H
2 #define INCLUDE_ORA_MONITORING_H
7 #include "boost/date_time/posix_time/posix_time.hpp"
14 void stop(
bool commit_status=
true);
TransactionMonitoringData(boost::posix_time::ptime start)
std::map< std::string, SessionMonitoringData * > m_sessions
size_t stopTransaction(bool commit_status=true)
boost::posix_time::ptime m_stop
std::string m_connectionString
static std::string & outFileName()
SessionMonitoringData * startSession(const std::string &connectionString)
void report(std::ostream &out) const
boost::posix_time::ptime m_stop
SessionMonitoringData(boost::posix_time::ptime start, const std::string &connectionString)
TransactionMonitoringData * m_currentTransaction
void report(std::ostream &out)
boost::posix_time::ptime m_start
void stop(bool commit_status=true)
size_t numberOfTransactions() const
std::map< std::string, TransactionMonitoringData * > m_transactions
boost::posix_time::ptime m_start