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;
80 tbb::concurrent_unordered_map<std::string, std::string>
m_urlToLfn;
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 &)
void fillUDP(const std::string &site, const FileInfo &fileinfo, bool, std::string &) const
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
FileInfo(std::string const &iLFN, edm::InputType)
std::string m_clientdomain
StatisticsSenderService(edm::ParameterSet const &pset, edm::ActivityRegistry &ar)
ssize_t m_read_vector_count_square
FileInfo(FileInfo &&iInfo)
tuple size
Write out results.
std::atomic< int > m_openCount
void filePostCloseEvent(std::string const &lfn, bool usedFallback)