CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_7_hltpatch2/src/EventFilter/StorageManager/src/DQMConsumerMonitorCollection.cc

Go to the documentation of this file.
00001 // $Id: DQMConsumerMonitorCollection.cc,v 1.3 2011/03/07 15:31:32 mommsen Exp $
00003 
00004 #include "EventFilter/StorageManager/interface/DQMConsumerMonitorCollection.h"
00005 #include "EventFilter/StorageManager/interface/QueueID.h"
00006 
00007 using namespace stor;
00008 
00009 
00010 DQMConsumerMonitorCollection::DQMConsumerMonitorCollection(const utils::Duration_t& updateInterval):
00011 ConsumerMonitorCollection(updateInterval, boost::posix_time::minutes(5))
00012 {}
00013 
00014 
00015 void DQMConsumerMonitorCollection::do_appendInfoSpaceItems(InfoSpaceItems& infoSpaceItems)
00016 {
00017   infoSpaceItems.push_back(std::make_pair("dqmConsumers", &dqmConsumers_));
00018 }
00019 
00020 
00021 void DQMConsumerMonitorCollection::do_updateInfoSpaceItems()
00022 {
00023   boost::mutex::scoped_lock l( mutex_ );
00024   dqmConsumers_ = smap_.size();
00025 }
00026 
00027 
00028