#include <Monitoring.h>
Public Member Functions | |
size_t | newTransaction () |
size_t | numberOfTransactions () const |
void | report (std::ostream &out) const |
SessionMonitoringData (boost::posix_time::ptime start, const std::string &connectionString) | |
void | stop () |
size_t | stopTransaction (bool commit_status=true) |
~SessionMonitoringData () | |
Public Attributes | |
std::string | m_connectionString |
boost::posix_time::ptime | m_start |
boost::posix_time::ptime | m_stop |
Private Attributes | |
TransactionMonitoringData * | m_currentTransaction |
size_t | m_ncur |
std::map< std::string, TransactionMonitoringData * > | m_transactions |
Definition at line 21 of file Monitoring.h.
ora::SessionMonitoringData::SessionMonitoringData | ( | boost::posix_time::ptime | start, |
const std::string & | connectionString | ||
) |
Definition at line 19 of file Monitoring.cc.
ora::SessionMonitoringData::~SessionMonitoringData | ( | ) |
Definition at line 28 of file Monitoring.cc.
size_t ora::SessionMonitoringData::newTransaction | ( | ) |
Definition at line 35 of file Monitoring.cc.
References ora::guidFromTime().
size_t ora::SessionMonitoringData::numberOfTransactions | ( | ) | const |
Definition at line 59 of file Monitoring.cc.
void ora::SessionMonitoringData::report | ( | std::ostream & | out | ) | const |
Definition at line 63 of file Monitoring.cc.
References AlCaHLTBitMon_QueryRunRegistry::data, i, ora::TransactionMonitoringData::m_start, ora::TransactionMonitoringData::m_status, ora::TransactionMonitoringData::m_stop, and AlCaHLTBitMon_QueryRunRegistry::string.
void ora::SessionMonitoringData::stop | ( | ) |
Definition at line 53 of file Monitoring.cc.
size_t ora::SessionMonitoringData::stopTransaction | ( | bool | commit_status = true | ) |
Definition at line 42 of file Monitoring.cc.
std::string ora::SessionMonitoringData::m_connectionString |
Definition at line 30 of file Monitoring.h.
Referenced by ora::Monitoring::report().
|
private |
Definition at line 34 of file Monitoring.h.
|
private |
Definition at line 36 of file Monitoring.h.
boost::posix_time::ptime ora::SessionMonitoringData::m_start |
Definition at line 31 of file Monitoring.h.
Referenced by ora::Monitoring::report().
boost::posix_time::ptime ora::SessionMonitoringData::m_stop |
Definition at line 32 of file Monitoring.h.
Referenced by ora::Monitoring::report().
|
private |
Definition at line 35 of file Monitoring.h.