CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
ora::TransactionMonitoringData Struct Reference

#include <Monitoring.h>

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.

7  :
8  m_start(start),
9  m_stop(boost::posix_time::neg_infin),
10  m_status(false){
11 }
boost::posix_time::ptime m_stop
Definition: Monitoring.h:16
boost::posix_time::ptime m_start
Definition: Monitoring.h:15

Member Function Documentation

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

Definition at line 13 of file Monitoring.cc.

13  {
14  m_stop = boost::posix_time::microsec_clock::universal_time();
15  m_status = commit_status;
16 }
boost::posix_time::ptime m_stop
Definition: Monitoring.h:16

Member Data Documentation

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

Definition at line 15 of file Monitoring.h.

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

bool ora::TransactionMonitoringData::m_status

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().