Monitoring  3.3.4
O2 Monitoring library
o2::monitoring::MonitoringFactory Class Reference

Monitoring and monitoring backends factory. More...

#include <MonitoringFactory.h>

Collaboration diagram for o2::monitoring::MonitoringFactory:

Public Member Functions

MonitoringFactoryoperator= (const MonitoringFactory &)=delete
 Disables copy constructor.
 
 MonitoringFactory (const MonitoringFactory &)=delete
 

Static Public Member Functions

static std::unique_ptr< MonitoringGet (std::string urlsString) noexcept(false)
 
static std::unique_ptr< BackendGetBackend (std::string &url)
 

Detailed Description

Monitoring and monitoring backends factory.

Member Function Documentation

std::unique_ptr< Monitoring > o2::monitoring::MonitoringFactory::Get ( std::string  urlsString)
staticnoexcept

Provides single instance on Monitoring Monitoring (singleton)

Returns
renerence to Monitoring instance
Exceptions
MonitoringExceptionwhen backend initialisation failed
std::unique_ptr< Backend > o2::monitoring::MonitoringFactory::GetBackend ( std::string &  url)
static

Provides a Monitoring backend based on the URL

Returns
monitoring backend
Exceptions
MonitoringExceptionwhen backend initialisation failed

The documentation for this class was generated from the following files: