4 #ifndef EventFilter_SMProxyServer_DataRetrieverMonitorCollection_h
5 #define EventFilter_SMProxyServer_DataRetrieverMonitorCollection_h
17 #include <boost/shared_ptr.hpp>
18 #include <boost/thread.hpp>
225 #endif // EventFilter_SMProxyServer_DataRetrieverMonitorCollection_h
std::ostream & operator<<(std::ostream &os, ConnectionID id)
void getStats(EventStats &) const
ConnectionStatus connectionStatus_
void getStatsByConnection(ConnectionStats &) const
std::map< std::string, EventStats > ConnectionStats
RetrieverMqMap retrieverMqMap_
boost::shared_ptr< RegistrationInfoBase > RegPtr
boost::shared_ptr< EventMQ > EventMQPtr
void getStatsByEventTypesPerConnection(EventTypePerConnectionStatList &) const
static boost::mutex mutex
bool addSample(const stor::RegPtr, const double &sizeKB)
bool setConnectionStatus(const ConnectionID &, const ConnectionStatus &)
bool receivedCorruptedEvent(const stor::RegPtr)
bool receivedCorruptedEvent(const ConnectionID &)
bool insert(const stor::RegPtr)
boost::shared_ptr< stor::EventConsumerRegistrationInfo > EventConsRegPtr
ConnectionMqMap connectionMqMap_
void calculateStatistics()
stor::MonitoredQuantity::Stats sizeStats
bool addRetrievedSample(const ConnectionID &, const unsigned int &size)
virtual void do_calculateStatistics()
EventTypeMqMap eventTypeMqMap_
const stor::utils::Duration_t updateInterval_
void getSummaryStats(SummaryStats &) const
boost::posix_time::time_duration Duration_t
std::vector< EventTypePerConnectionStats > EventTypePerConnectionStatList
bool operator<(const EventTypePerConnectionStats &) const
ConnectionID nextConnectionId_
boost::shared_ptr< DataRetrieverMQ > DataRetrieverMQPtr
std::map< ConnectionID, DataRetrieverMQPtr > RetrieverMqMap
void calculateStatistics()
std::map< stor::DQMEventConsRegPtr, EventMQPtr, stor::utils::ptrComp< stor::DQMEventConsumerRegistrationInfo > > DQMEventMap
boost::shared_ptr< AlarmHandler > AlarmHandlerPtr
void configureAlarms(AlarmParams const &)
const stor::utils::Duration_t updateInterval_
std::map< std::string, EventMQPtr > ConnectionMqMap
EventTypeStatList eventTypeStats
std::pair< stor::RegPtr, EventStats > EventTypeStats
void getStats(SummaryStats::EventTypeStatList &) const
ConnectionStatus connectionStatus
stor::MonitoredQuantity corruptedEvents_
DataRetrieverMonitorCollection & operator=(DataRetrieverMonitorCollection const &)
stor::MonitoredQuantity::Stats corruptedEventsStats
DataRetrieverMQ(stor::RegPtr, const stor::utils::Duration_t &updateInterval)
EventTypeMqMap(const stor::utils::Duration_t &updateInterval)
EventMQ(const stor::utils::Duration_t &updateInterval)
ConnectionID addNewConnection(const stor::RegPtr)
stor::AlarmHandlerPtr alarmHandler_
void checkForCorruptedEvents()
std::map< stor::EventConsRegPtr, EventMQPtr, stor::utils::ptrComp< stor::EventConsumerRegistrationInfo > > EventMap
std::vector< EventTypeStats > EventTypeStatList
DataRetrieverMonitorCollection(const stor::utils::Duration_t &updateInterval, stor::AlarmHandlerPtr)
stor::MonitoredQuantity size_
bool getEventTypeStatsForConnection(const ConnectionID &, EventTypePerConnectionStats &)
tuple size
Write out results.
boost::shared_ptr< stor::DQMEventConsumerRegistrationInfo > DQMEventConsRegPtr