#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 61 of file XrdStatistics.h.
|
staticprivate |
Definition at line 83 of file XrdStatistics.cc.
References tmp.
Referenced by XrdAdaptor::XrdStatisticsService::XrdStatisticsService().
|
static |
Definition at line 97 of file XrdStatistics.cc.
Referenced by XrdAdaptor::XrdStatisticsService::condorUpdate(), XrdAdaptor::XrdStatisticsService::postEndJob(), and XrdAdaptor::Source::Source().
std::shared_ptr< XrdSiteStatistics > XrdSiteStatisticsInformation::getStatisticsForSite | ( | std::string const & | site | ) |
Definition at line 70 of file XrdStatistics.cc.
References edm::get_underlying_safe(), and CommonMethods::lock().
|
friend |
Definition at line 63 of file XrdStatistics.h.
|
staticprivate |
Definition at line 73 of file XrdStatistics.h.
|
private |
Definition at line 74 of file XrdStatistics.h.
Referenced by XrdAdaptor::XrdStatisticsService::condorUpdate().
|
private |
Definition at line 75 of file XrdStatistics.h.
Referenced by XrdAdaptor::XrdStatisticsService::condorUpdate(), and XrdAdaptor::XrdStatisticsService::postEndJob().