#include <EventRetriever.h>
Retrieve events from the event server
Definition at line 42 of file EventRetriever.h.
typedef std::vector<ConnectionID> smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::ConnectionIDs [private] |
Definition at line 117 of file EventRetriever.h.
typedef stor::EventServerProxy<RegInfo> smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::EventServer [private] |
Definition at line 111 of file EventRetriever.h.
typedef boost::shared_ptr<EventServer> smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::EventServerPtr [private] |
Definition at line 112 of file EventRetriever.h.
typedef std::map<ConnectionID, EventServerPtr> smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::EventServers [private] |
Definition at line 113 of file EventRetriever.h.
typedef boost::shared_ptr<RegInfo> smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::RegInfoPtr |
Definition at line 46 of file EventRetriever.h.
smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::EventRetriever | ( | StateMachine * | , |
const RegInfoPtr | |||
) |
smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::~EventRetriever | ( | ) |
smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::EventRetriever | ( | EventRetriever< RegInfo, QueueCollectionPtr > const & | ) | [private] |
void smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::activity | ( | const edm::ParameterSet & | ) | [private] |
void smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::addConsumer | ( | const RegInfoPtr | ) |
Add a consumer
bool smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::adjustMinEventRequestInterval | ( | const stor::utils::Duration_t & | ) | [private] |
bool smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::anyActiveConsumers | ( | QueueCollectionPtr | ) | const [private] |
bool smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::connect | ( | const edm::ParameterSet & | ) | [private] |
void smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::connectToSM | ( | const std::string & | sourceURL, |
const edm::ParameterSet & | |||
) | [private] |
void smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::disconnectFromCurrentSM | ( | ) | [private] |
void smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::do_stop | ( | ) | [private] |
void smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::doIt | ( | const edm::ParameterSet & | ) | [private] |
size_t smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::getConnectedSMCount | ( | ) | const [inline] |
Return the number of active connections to SMs
Definition at line 75 of file EventRetriever.h.
References smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::eventServers_.
{ return eventServers_.size(); }
void smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::getInitMsg | ( | ) | [private] |
bool smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::getNextEvent | ( | stor::CurlInterface::Content & | ) | [private] |
const stor::QueueIDs& smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::getQueueIDs | ( | ) | const [inline] |
Return the list of QueueIDs attached to the EventRetriever
Definition at line 69 of file EventRetriever.h.
References smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::queueIDs_.
{ return queueIDs_; }
bool smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::openConnection | ( | const ConnectionID & | , |
const RegInfoPtr | |||
) | [private] |
EventRetriever& smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::operator= | ( | EventRetriever< RegInfo, QueueCollectionPtr > const & | ) | [private] |
void smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::processCompletedTopLevelFolders | ( | ) | [private] |
void smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::stop | ( | ) |
Stop retrieving events
bool smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::tryToReconnect | ( | ) | [private] |
void smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::updateConsumersSetting | ( | const stor::utils::Duration_t & | ) | [private] |
ConnectionIDs smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::connectionIDs_ [private] |
Definition at line 118 of file EventRetriever.h.
boost::mutex smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::connectionIDsLock_ [mutable, private] |
Definition at line 119 of file EventRetriever.h.
DataRetrieverMonitorCollection& smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::dataRetrieverMonitorCollection_ [private] |
Definition at line 102 of file EventRetriever.h.
const DataRetrieverParams smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::dataRetrieverParams_ [private] |
Definition at line 101 of file EventRetriever.h.
stor::DQMEventStore<DQMEventMsg, EventRetriever<RegInfo,QueueCollectionPtr>, StateMachine > smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::dqmEventStore_ [private] |
Definition at line 129 of file EventRetriever.h.
EventServers smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::eventServers_ [private] |
Definition at line 114 of file EventRetriever.h.
Referenced by smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::getConnectedSMCount().
size_t smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::instance_ [private] |
Definition at line 109 of file EventRetriever.h.
stor::utils::Duration_t smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::minEventRequestInterval_ [private] |
Definition at line 105 of file EventRetriever.h.
stor::utils::TimePoint_t smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::nextReconnectTry_ [private] |
Definition at line 121 of file EventRetriever.h.
stor::utils::TimePoint_t smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::nextRequestTime_ [private] |
Definition at line 104 of file EventRetriever.h.
EventServers::iterator smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::nextSMtoUse_ [private] |
Definition at line 115 of file EventRetriever.h.
stor::QueueIDs smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::queueIDs_ [private] |
Definition at line 123 of file EventRetriever.h.
Referenced by smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::getQueueIDs().
boost::mutex smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::queueIDsLock_ [mutable, private] |
Definition at line 124 of file EventRetriever.h.
size_t smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::retrieverCount_ [static, private] |
Definition at line 108 of file EventRetriever.h.
StateMachine* smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::stateMachine_ [private] |
Definition at line 100 of file EventRetriever.h.
boost::scoped_ptr<boost::thread> smproxy::EventRetriever< RegInfo, QueueCollectionPtr >::thread_ [private] |
Definition at line 107 of file EventRetriever.h.