CUBRID Engine  latest
cubmonitor::transaction_statistic< S > Class Template Reference

#include <monitor_transaction.hpp>

Collaboration diagram for cubmonitor::transaction_statistic< S >:
Collaboration graph

Public Types

using statistic_type = S
 

Public Member Functions

 transaction_statistic (void)
 
 ~transaction_statistic (void)
 
void fetch (statistic_value *destination, fetch_mode mode=FETCH_GLOBAL) const
 
std::size_t get_statistics_count (void) const
 
statistic_type::rep get_value (fetch_mode mode=FETCH_GLOBAL) const
 
void collect (const typename statistic_type::rep &value)
 

Private Member Functions

void extend (std::size_t to)
 

Private Attributes

statistic_type m_global_stat
 
statistic_typem_sheet_stats
 
std::size_t m_sheet_stats_count
 
std::mutex m_extend_mutex
 

Detailed Description

template<class S>
class cubmonitor::transaction_statistic< S >

Definition at line 99 of file monitor_transaction.hpp.

Member Typedef Documentation

template<class S >
using cubmonitor::transaction_statistic< S >::statistic_type = S

Definition at line 102 of file monitor_transaction.hpp.

Constructor & Destructor Documentation

template<class S >
cubmonitor::transaction_statistic< S >::transaction_statistic ( void  )

Definition at line 136 of file monitor_transaction.hpp.

Member Function Documentation

template<class S >
std::size_t cubmonitor::transaction_statistic< S >::get_statistics_count ( void  ) const

Definition at line 251 of file monitor_transaction.hpp.

Member Data Documentation

template<class S >
std::mutex cubmonitor::transaction_statistic< S >::m_extend_mutex
private

The documentation for this class was generated from the following file: