#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 m_instance, and tmp.
Referenced by XrdAdaptor::XrdStatisticsService::XrdStatisticsService().
|
static |
Definition at line 76 of file XrdStatistics.cc.
References m_instance.
Referenced by XrdAdaptor::XrdStatisticsService::postEndJob().
std::shared_ptr< XrdSiteStatistics > XrdSiteStatisticsInformation::getStatisticsForSite | ( | std::string const & | site | ) |
Definition at line 49 of file XrdStatistics.cc.
References edm::get_underlying_safe(), CommonMethods::lock(), m_mutex, and m_sites.
Referenced by if().
|
friend |
Definition at line 50 of file XrdStatistics.h.
|
staticprivate |
Definition at line 60 of file XrdStatistics.h.
Referenced by createInstance(), and getInstance().
|
private |
Definition at line 61 of file XrdStatistics.h.
Referenced by getStatisticsForSite().
|
private |
Definition at line 62 of file XrdStatistics.h.
Referenced by getStatisticsForSite(), and XrdAdaptor::XrdStatisticsService::postEndJob().