#include <DQMConsumerMonitorCollection.h>
Public Member Functions | |
DQMConsumerMonitorCollection (const utils::Duration_t &updateInterval) | |
Private Member Functions | |
virtual void | do_appendInfoSpaceItems (InfoSpaceItems &) |
virtual void | do_updateInfoSpaceItems () |
DQMConsumerMonitorCollection (const DQMConsumerMonitorCollection &) | |
DQMConsumerMonitorCollection & | operator= (const DQMConsumerMonitorCollection &) |
Private Attributes | |
xdata::UnsignedInteger32 | dqmConsumers_ |
A collection of MonitoredQuantities to track event consumer activity.
Definition at line 22 of file DQMConsumerMonitorCollection.h.
DQMConsumerMonitorCollection::DQMConsumerMonitorCollection | ( | const utils::Duration_t & | updateInterval | ) | [explicit] |
Definition at line 10 of file DQMConsumerMonitorCollection.cc.
: ConsumerMonitorCollection(updateInterval, boost::posix_time::minutes(5)) {}
stor::DQMConsumerMonitorCollection::DQMConsumerMonitorCollection | ( | const DQMConsumerMonitorCollection & | ) | [private] |
void DQMConsumerMonitorCollection::do_appendInfoSpaceItems | ( | InfoSpaceItems & | infoSpaceItems | ) | [private, virtual] |
Reimplemented from stor::MonitorCollection.
Definition at line 15 of file DQMConsumerMonitorCollection.cc.
References dqmConsumers_.
{ infoSpaceItems.push_back(std::make_pair("dqmConsumers", &dqmConsumers_)); }
void DQMConsumerMonitorCollection::do_updateInfoSpaceItems | ( | ) | [private, virtual] |
Reimplemented from stor::MonitorCollection.
Definition at line 21 of file DQMConsumerMonitorCollection.cc.
References dqmConsumers_, prof2calltree::l, stor::ConsumerMonitorCollection::mutex_, and stor::ConsumerMonitorCollection::smap_.
{ boost::mutex::scoped_lock l( mutex_ ); dqmConsumers_ = smap_.size(); }
DQMConsumerMonitorCollection& stor::DQMConsumerMonitorCollection::operator= | ( | const DQMConsumerMonitorCollection & | ) | [private] |
xdata::UnsignedInteger32 stor::DQMConsumerMonitorCollection::dqmConsumers_ [private] |
Definition at line 38 of file DQMConsumerMonitorCollection.h.
Referenced by do_appendInfoSpaceItems(), and do_updateInfoSpaceItems().