#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< std::shared_ptr < XrdSiteStatistics > > | m_sites |
Static Private Attributes | |
static std::atomic < XrdSiteStatisticsInformation * > | m_instance |
Friends | |
class | XrdStatisticsService |
Definition at line 44 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 CommonMethods::lock(), m_mutex, and m_sites.
Referenced by if().
|
friend |
Definition at line 46 of file XrdStatistics.h.
|
staticprivate |
Definition at line 56 of file XrdStatistics.h.
Referenced by createInstance(), and getInstance().
|
private |
Definition at line 57 of file XrdStatistics.h.
Referenced by getStatisticsForSite().
|
private |
Definition at line 58 of file XrdStatistics.h.
Referenced by getStatisticsForSite(), and XrdAdaptor::XrdStatisticsService::postEndJob().