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::EventConsumerMonitorCollection Class Reference

#include <EventConsumerMonitorCollection.h>

Inheritance diagram for stor::EventConsumerMonitorCollection:
stor::ConsumerMonitorCollection stor::MonitorCollection

Public Member Functions

 EventConsumerMonitorCollection (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 ()
 
 EventConsumerMonitorCollection (const EventConsumerMonitorCollection &)
 
EventConsumerMonitorCollectionoperator= (const EventConsumerMonitorCollection &)
 

Private Attributes

xdata::UnsignedInteger32 eventConsumers_
 

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 EventConsumerMonitorCollection.h.

Constructor & Destructor Documentation

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

Definition at line 10 of file EventConsumerMonitorCollection.cc.

10  :
12 {}
double seconds()
ConsumerMonitorCollection(const utils::Duration_t &updateInterval, const utils::Duration_t &recentDuration)
stor::EventConsumerMonitorCollection::EventConsumerMonitorCollection ( const EventConsumerMonitorCollection )
private

Member Function Documentation

void EventConsumerMonitorCollection::do_appendInfoSpaceItems ( InfoSpaceItems infoSpaceItems)
privatevirtual

Reimplemented from stor::MonitorCollection.

Definition at line 15 of file EventConsumerMonitorCollection.cc.

References eventConsumers_.

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

Member Data Documentation

xdata::UnsignedInteger32 stor::EventConsumerMonitorCollection::eventConsumers_
private