CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EventConsumerMonitorCollection.cc
Go to the documentation of this file.
1 // $Id: EventConsumerMonitorCollection.cc,v 1.3 2011/03/07 15:31:32 mommsen Exp $
3 
6 
7 using namespace stor;
8 
9 
11 ConsumerMonitorCollection(updateInterval, boost::posix_time::seconds(10))
12 {}
13 
14 
16 {
17  infoSpaceItems.push_back(std::make_pair("eventConsumers", &eventConsumers_));
18 }
19 
20 
22 {
23  boost::mutex::scoped_lock l( mutex_ );
24  eventConsumers_ = smap_.size();
25 }
26 
27 
28 
double seconds()
boost::posix_time::time_duration Duration_t
Definition: Utils.h:41
EventConsumerMonitorCollection(const utils::Duration_t &updateInterval)
std::vector< std::pair< std::string, xdata::Serializable * > > InfoSpaceItems
virtual void do_appendInfoSpaceItems(InfoSpaceItems &)