#include <SonicClientBase.h>
Public Member Functions | |
const std::string & | clientName () const |
const std::string & | debugName () const |
virtual void | dispatch (edm::WaitingTaskWithArenaHolder holder) |
virtual void | dispatch () |
SonicMode | mode () const |
virtual void | reset () |
SonicClientBase (const edm::ParameterSet ¶ms, const std::string &debugName, const std::string &clientName) | |
virtual | ~SonicClientBase ()=default |
Static Public Member Functions | |
static void | fillBasePSetDescription (edm::ParameterSetDescription &desc, bool allowRetry=true) |
Protected Member Functions | |
virtual void | evaluate ()=0 |
void | finish (bool success, std::exception_ptr eptr=std::exception_ptr{}) |
void | setMode (SonicMode mode) |
void | start (edm::WaitingTaskWithArenaHolder holder) |
void | start () |
Protected Attributes | |
unsigned | allowedTries_ |
std::string | clientName_ |
std::string | debugName_ |
std::unique_ptr< SonicDispatcher > | dispatcher_ |
std::string | fullDebugName_ |
std::optional< edm::WaitingTaskWithArenaHolder > | holder_ |
SonicMode | mode_ |
unsigned | tries_ |
bool | verbose_ |
Friends | |
class | SonicDispatcher |
class | SonicDispatcherPseudoAsync |
Definition at line 18 of file SonicClientBase.h.
SonicClientBase::SonicClientBase | ( | const edm::ParameterSet & | params, |
const std::string & | debugName, | ||
const std::string & | clientName | ||
) |
Definition at line 5 of file SonicClientBase.cc.
References Async, clientName_, Exception, fullDebugName_, submitPVValidationJobs::params, PseudoAsync, setMode(), AlCaHLTBitMon_QueryRunRegistry::string, and Sync.
|
virtualdefault |
|
inline |
|
inline |
|
inlinevirtual |
Definition at line 31 of file SonicClientBase.h.
References dispatcher_, and eostools::move().
|
inlinevirtual |
Definition at line 34 of file SonicClientBase.h.
References dispatcher_.
|
protectedpure virtual |
Implemented in TritonClient.
Referenced by SonicDispatcher::dispatch(), finish(), and SonicDispatcherPseudoAsync::waitForNext().
|
static |
Definition at line 73 of file SonicClientBase.cc.
References submitPVResolutionJobs::desc.
Referenced by TritonClient::fillPSetDescription().
|
protected |
Definition at line 45 of file SonicClientBase.cc.
References allowedTries_, evaluate(), edm::errors::ExternalFailure, holder_, reset(), summarizeEdmComparisonLogfiles::success, and tries_.
Referenced by progressbar.ProgressBar::__next__(), TritonClient::evaluate(), and TritonClient::handle_exception().
|
inline |
|
inlinevirtual |
Reimplemented in TritonClient.
Definition at line 37 of file SonicClientBase.h.
Referenced by finish().
|
protected |
Definition at line 26 of file SonicClientBase.cc.
References Async, dispatcher_, mode(), mode_, or, PseudoAsync, and Sync.
Referenced by SonicClientBase(), and TritonClient::TritonClient().
|
protected |
Definition at line 38 of file SonicClientBase.cc.
References holder_, eostools::move(), and start().
Referenced by progressbar.ProgressBar::__next__(), SonicDispatcher::dispatch(), and SonicDispatcherPseudoAsync::dispatch().
|
protected |
Definition at line 43 of file SonicClientBase.cc.
References tries_.
Referenced by progressbar.ProgressBar::__next__(), and start().
|
friend |
Definition at line 63 of file SonicClientBase.h.
|
friend |
Definition at line 64 of file SonicClientBase.h.
|
protected |
Definition at line 57 of file SonicClientBase.h.
Referenced by finish().
|
protected |
Definition at line 61 of file SonicClientBase.h.
Referenced by clientName(), and SonicClientBase().
|
protected |
Definition at line 61 of file SonicClientBase.h.
Referenced by debugName(), TritonClient::reportServerSideStats(), and TritonClient::TritonClient().
|
protected |
Definition at line 56 of file SonicClientBase.h.
Referenced by dispatch(), and setMode().
|
protected |
Definition at line 61 of file SonicClientBase.h.
Referenced by TritonClient::reportServerSideStats(), SonicClientBase(), and TritonClient::TritonClient().
|
protected |
Definition at line 58 of file SonicClientBase.h.
|
protected |
Definition at line 54 of file SonicClientBase.h.
Referenced by TritonClient::evaluate(), mode(), and setMode().
|
protected |
Definition at line 57 of file SonicClientBase.h.
Referenced by TritonClient::evaluate(), finish(), and start().
|
protected |
Definition at line 55 of file SonicClientBase.h.