This will eventually be an interface class for curl common functions but now is just some common utility.
This class keeps track of a sum of values over a fixed number of samples.
This class keeps track of a sum of values over a fixed period of time.
This class provides functionality to limit events to consumers based on maximum event and data rates.
This class is used to manage the set of INIT messages that have been received by the storage manager and will be sent to event consumers and written to output streams.
This class keeps track of a sum of values over an infinite interval (forever).
This class keeps track of a the average of a value and also the the minimum and maximum values, and the rms.
This class manages the distribution of events to consumers from within the storage manager.
This class manages the distribution of DQMevents to consumers from within the storage manager or SM Proxy Server.
This class is used to manage the subscriptions, DQMevents, and lost connections associated with an DQMevent consumer within the event server part of the storage manager.
This class is used to manage the subscriptions, events, and lost connections associated with an event consumer within the event server part of the storage manager.
Currently, it simply provides a single method to determine the current time, but there may be more functionality that can be factored out later.
In this initial version, a consumer is treated as being in one of three states: active, idle, or disconnected. Operationally, these states are meant to indicate the following:
In this initial version, a consumer is treated as being in one of three states: active, idle, or disconnected. Operationally, these states are meant to indicate the following:
Initial Implementation based on Kurt's ConsumerPipe We can think about a common class later...
Two ways of throttling events are supported: specifying a maximimum allowed rate of accepted events and specifying a fixed prescale. If the fixed prescale value is greater than zero, it takes precendence. That is, the maximum rate is ignored if the prescale is in effect.
Initial Implementation based on Kurt's EventServer we can think about a common class later...
Two ways of throttling events are supported: specifying a maximimum allowed rate of accepted events and specifying a fixed prescale. If the fixed prescale value is greater than zero, it takes precendence. That is, the maximum rate is ignored if the prescale is in effect.
16-Aug-2006 - KAB - Initial Implementation
It provides functionality to track and report rates and averages which is the additional value over a simple integer or double.
As time passes, values that are no longer included in the time window are dropped from the counter.
After a specified number of samples are added to the counter, old values are removed from the counter to make room for the new ones.
typedef std::vector<unsigned char> stor::InitMsgBuffer |
Definition at line 20 of file InitMsgCollection.h.
typedef boost::shared_ptr<InitMsgBuffer> stor::InitMsgSharedPtr |
Definition at line 21 of file InitMsgCollection.h.
string stor::@6906::changeToPhony | ( | const string & | config | ) | [static] |
Definition at line 12 of file SMCurlInterface.cc.
References stor::ReadData::d_.
Referenced by EcalTPGParamBuilder::computeLUT(), HFCherenkov::computeQEff(), stor::ConsumerPipe::ConsumerPipe(), stor::DQMConsumerPipe::DQMConsumerPipe(), pftools::SpaceManager::evolveCoefficient(), IgSoSplineTrack::findRoot(), RPCSimAverageNoiseEff::getClSize(), RPCSimAverageNoise::getClSize(), RPCSimAverage::getClSize(), stor::DataProcessManager::getHeaderFromSM(), edm::DQMHttpSource::getOneDQMEvent(), stor::DataProcessManager::getOneDQMEventFromSM(), edm::OnlineHttpReader::getOneEvent(), edm::EventStreamHttpReader::getOneEvent(), stor::DataProcessManager::getOneEventFromSM(), edm::refitem::GetPtrImpl< C, T, F, KEY >::getPtr_(), pftools::PFClusterCalibration::init(), IgTrace::initialize(), EcalUncalibRecHitFixedAlphaBetaAlgo< C >::PerformAnalyticFit(), stor::ConsumerPipe::pushEvent(), stor::DQMConsumerPipe::pushEvent(), edm::EventStreamHttpReader::readHeader(), edm::OnlineHttpReader::readHeader(), stdcomb::recursive_combination(), edm::DQMHttpSource::registerWithDQMEventServer(), stor::DataProcessManager::registerWithDQMSM(), edm::EventStreamHttpReader::registerWithEventServer(), edm::OnlineHttpReader::registerWithEventServer(), stor::DataProcessManager::registerWithSM(), pftools::PFClusterCalibration::setEvolutionParameters(), IgApplication::startProfiler(), edm::transform_into(), PATStringCutObjectSelector::tryEval(), and PATStringObjectFunction::tryEval().
00013 { 00014 ReadData* rdata = (ReadData*)userp; 00015 size_t sz = size * nmemb; 00016 char* cbuf = (char*)buf; 00017 rdata->d_.insert(rdata->d_.end(),cbuf,cbuf+sz); 00018 return sz; 00019 }
bool stor::getSMFC_exceptionStatus | ( | ) |
Definition at line 45 of file FragmentCollector.cc.
References stor::SMFC_thread_data::exception_in_thread, and SMFragCollThread.
Referenced by stor::StorageManager::addMeasurement(), and stor::StorageManager::monitoring().
00045 { return SMFragCollThread.exception_in_thread; }
std::string stor::getSMFC_reason4Exception | ( | ) |
Definition at line 46 of file FragmentCollector.cc.
References stor::SMFC_thread_data::reason_for_exception, and SMFragCollThread.
Referenced by stor::StorageManager::addMeasurement(), and stor::StorageManager::monitoring().
00046 { return SMFragCollThread.reason_for_exception; }
static const std::string stor::PROXY_SERVER_NAME | ( | "SMProxyServer" | ) | [static] |
Referenced by stor::DataProcessManager::init().
int stor::setopt | ( | Han | han, | |
Opt | opt, | |||
Par | par | |||
) | [inline] |
Definition at line 24 of file SMCurlInterface.h.
References TestMuL1L2Filter_cff::cerr, and lat::endl().
Referenced by stor::ConsumerPipe::ConsumerPipe(), stor::DQMConsumerPipe::DQMConsumerPipe(), stor::DataProcessManager::getHeaderFromSM(), edm::DQMHttpSource::getOneDQMEvent(), stor::DataProcessManager::getOneDQMEventFromSM(), edm::OnlineHttpReader::getOneEvent(), edm::EventStreamHttpReader::getOneEvent(), stor::DataProcessManager::getOneEventFromSM(), stor::ConsumerPipe::pushEvent(), stor::DQMConsumerPipe::pushEvent(), edm::EventStreamHttpReader::readHeader(), edm::OnlineHttpReader::readHeader(), edm::DQMHttpSource::registerWithDQMEventServer(), stor::DataProcessManager::registerWithDQMSM(), edm::EventStreamHttpReader::registerWithEventServer(), edm::OnlineHttpReader::registerWithEventServer(), and stor::DataProcessManager::registerWithSM().
00025 { 00026 if(curl_easy_setopt(han,opt,par)!=0) 00027 { 00028 std::cerr << "could not stor::setopt " << opt << std::endl; 00029 abort(); 00030 } 00031 return 0; 00032 }
SMFC_thread_data stor::SMFragCollThread [static] |
Definition at line 43 of file FragmentCollector.cc.
Referenced by getSMFC_exceptionStatus(), getSMFC_reason4Exception(), and stor::FragmentCollector::run().