CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
stor::DQMConsumerMonitorCollection Class Reference

#include <DQMConsumerMonitorCollection.h>

Inheritance diagram for stor::DQMConsumerMonitorCollection:
stor::ConsumerMonitorCollection stor::MonitorCollection

Public Member Functions

 DQMConsumerMonitorCollection (const utils::Duration_t &updateInterval)
 
- Public Member Functions inherited from stor::ConsumerMonitorCollection
void addDroppedEvents (const QueueID &, const size_t &count)
 
void addQueuedEventSample (const QueueID &, const unsigned int &data_size)
 
void addServedEventSample (const QueueID &, const unsigned int &data_size)
 
 ConsumerMonitorCollection (const utils::Duration_t &updateInterval, const utils::Duration_t &recentDuration)
 
bool getDropped (const QueueID &qid, MonitoredQuantity::Stats &result) const
 
bool getQueued (const QueueID &qid, MonitoredQuantity::Stats &result) const
 
bool getServed (const QueueID &qid, MonitoredQuantity::Stats &result) const
 
void getTotalStats (TotalStats &) const
 
void resetCounters ()
 
- Public Member Functions inherited from stor::MonitorCollection
void appendInfoSpaceItems (InfoSpaceItems &)
 
void calculateStatistics (const utils::TimePoint_t &now)
 
 MonitorCollection (const utils::Duration_t &updateInterval)
 
void reset (const utils::TimePoint_t &now)
 
void updateInfoSpaceItems ()
 
virtual ~MonitorCollection ()
 

Private Member Functions

virtual void do_appendInfoSpaceItems (InfoSpaceItems &)
 
virtual void do_updateInfoSpaceItems ()
 
 DQMConsumerMonitorCollection (const DQMConsumerMonitorCollection &)
 
DQMConsumerMonitorCollectionoperator= (const DQMConsumerMonitorCollection &)
 

Private Attributes

xdata::UnsignedInteger32 dqmConsumers_
 

Additional Inherited Members

- Public Types inherited from stor::MonitorCollection
typedef std::vector< std::pair
< std::string,
xdata::Serializable * > > 
InfoSpaceItems
 
- Protected Attributes inherited from stor::ConsumerMonitorCollection
ConsStatMap dmap_
 
boost::mutex mutex_
 
ConsStatMap qmap_
 
ConsStatMap smap_
 

Detailed Description

A collection of MonitoredQuantities to track event consumer activity.

Author:
mommsen
Revision:
1.2
Date:
2011/03/07 15:31:31

Definition at line 22 of file DQMConsumerMonitorCollection.h.

Constructor & Destructor Documentation

DQMConsumerMonitorCollection::DQMConsumerMonitorCollection ( const utils::Duration_t updateInterval)
explicit

Definition at line 10 of file DQMConsumerMonitorCollection.cc.

10  :
11 ConsumerMonitorCollection(updateInterval, boost::posix_time::minutes(5))
12 {}
ConsumerMonitorCollection(const utils::Duration_t &updateInterval, const utils::Duration_t &recentDuration)
stor::DQMConsumerMonitorCollection::DQMConsumerMonitorCollection ( const DQMConsumerMonitorCollection )
private

Member Function Documentation

void DQMConsumerMonitorCollection::do_appendInfoSpaceItems ( InfoSpaceItems infoSpaceItems)
privatevirtual

Reimplemented from stor::MonitorCollection.

Definition at line 15 of file DQMConsumerMonitorCollection.cc.

References dqmConsumers_.

16 {
17  infoSpaceItems.push_back(std::make_pair("dqmConsumers", &dqmConsumers_));
18 }
void DQMConsumerMonitorCollection::do_updateInfoSpaceItems ( )
privatevirtual
DQMConsumerMonitorCollection& stor::DQMConsumerMonitorCollection::operator= ( const DQMConsumerMonitorCollection )
private

Member Data Documentation

xdata::UnsignedInteger32 stor::DQMConsumerMonitorCollection::dqmConsumers_
private