CMS 3D CMS Logo

Public Member Functions | Public Attributes

ora::TransactionMonitoringData Struct Reference

#include <Monitoring.h>

List of all members.

Public Member Functions

void stop (bool commit_status=true)
 TransactionMonitoringData (boost::posix_time::ptime start)

Public Attributes

boost::posix_time::ptime m_start
bool m_status
boost::posix_time::ptime m_stop

Detailed Description

Definition at line 12 of file Monitoring.h.


Constructor & Destructor Documentation

ora::TransactionMonitoringData::TransactionMonitoringData ( boost::posix_time::ptime  start) [explicit]

Definition at line 7 of file Monitoring.cc.

                                                                                   :
  m_start(start),
  m_stop(boost::posix_time::neg_infin),
  m_status(false){
}

Member Function Documentation

void ora::TransactionMonitoringData::stop ( bool  commit_status = true)

Definition at line 13 of file Monitoring.cc.

                                                         {
  m_stop = boost::posix_time::microsec_clock::universal_time();
  m_status = commit_status;
}

Member Data Documentation

boost::posix_time::ptime ora::TransactionMonitoringData::m_start

Definition at line 15 of file Monitoring.h.

Referenced by ora::SessionMonitoringData::report().

Definition at line 17 of file Monitoring.h.

Referenced by ora::SessionMonitoringData::report().

boost::posix_time::ptime ora::TransactionMonitoringData::m_stop

Definition at line 16 of file Monitoring.h.

Referenced by ora::SessionMonitoringData::report().