#include <XrdStatistics.h>
Public Member Functions | |
std::shared_ptr< XrdSiteStatistics > | getStatisticsForSite (std::string const &site) |
Static Public Member Functions | |
static XrdSiteStatisticsInformation * | getInstance () |
Static Private Member Functions | |
static void | createInstance () |
Private Attributes | |
std::mutex | m_mutex |
std::vector< edm::propagate_const< std::shared_ptr< XrdSiteStatistics > > > | m_sites |
Static Private Attributes | |
static std::atomic< XrdSiteStatisticsInformation * > | m_instance |
Friends | |
class | XrdStatisticsService |
Definition at line 48 of file XrdStatistics.h.
|
staticprivate |
Definition at line 62 of file XrdStatistics.cc.
References tmp.
Referenced by XrdAdaptor::XrdStatisticsService::XrdStatisticsService().
|
static |
Definition at line 76 of file XrdStatistics.cc.
Referenced by XrdAdaptor::XrdStatisticsService::postEndJob(), and XrdAdaptor::Source::Source().
std::shared_ptr< XrdSiteStatistics > XrdSiteStatisticsInformation::getStatisticsForSite | ( | std::string const & | site | ) |
Definition at line 49 of file XrdStatistics.cc.
References edm::get_underlying_safe(), and CommonMethods::lock().
|
friend |
Definition at line 50 of file XrdStatistics.h.
|
staticprivate |
Definition at line 60 of file XrdStatistics.h.
|
private |
Definition at line 61 of file XrdStatistics.h.
|
private |
Definition at line 62 of file XrdStatistics.h.
Referenced by XrdAdaptor::XrdStatisticsService::postEndJob().