2 #ifndef Utilities_StorageFactory_StatisticsSenderService_H 3 #define Utilities_StorageFactory_StatisticsSenderService_H 9 #include <tbb/concurrent_unordered_map.h> 38 void fillUDP(std::ostringstream& os)
const;
57 : m_filelfn(
std::
move(iInfo.m_filelfn)),
58 m_serverhost(
std::
move(iInfo.m_serverhost)),
59 m_serverdomain(
std::
move(iInfo.m_serverdomain)),
61 m_size(iInfo.m_size.
load()),
63 m_openCount(iInfo.m_openCount.
load()) {}
80 tbb::concurrent_unordered_map<std::string, std::string>
m_urlToLfn;
static boost::mutex mutex
ssize_t m_read_single_operations
ssize_t m_read_vector_bytes
void setSize(const std::string &urlOrLfn, size_t size)
void determineHostnames()
FileStatistics m_filestats
ssize_t m_read_single_bytes
static bool getX509Subject(std::string &)
tbb::concurrent_unordered_map< std::string, std::string > m_urlToLfn
ssize_t m_read_vector_count_sum
std::atomic< ssize_t > m_size
std::string const * matchedLfn(std::string const &iURL)
void fillUDP(std::ostringstream &os) const
void openingFile(std::string const &lfn, edm::InputType type, size_t size=-1)
ssize_t m_read_vector_square
void setCurrentServer(const std::string &urlOrLfn, const std::string &servername)
tbb::concurrent_unordered_map< std::string, FileInfo > m_lfnToFileInfo
void closedFile(std::string const &lfn, bool usedFallback)
static const char * getJobID()
ssize_t m_read_single_square
ssize_t m_read_vector_operations
std::string m_serverdomain
std::string m_clientdomain
StatisticsSenderService(edm::ParameterSet const &pset, edm::ActivityRegistry &ar)
ssize_t m_read_vector_count_square
FileInfo(FileInfo &&iInfo)
std::atomic< int > m_openCount
void filePostCloseEvent(std::string const &lfn, bool usedFallback)