CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
StatisticsSenderService.h
Go to the documentation of this file.
1 
2 #ifndef Utilities_StorageFactory_StatisticsSenderService_H
3 #define Utilities_StorageFactory_StatisticsSenderService_H
4 
5 #include <string>
6 #include <sstream>
7 
8 namespace edm {
9 
10  class ParameterSet;
11  class ActivityRegistry;
12 
13  namespace storage {
14 
16  public:
18 
19  void setSize(size_t size);
20  void setCurrentServer(const std::string &servername);
21  void filePreCloseEvent(std::string const& lfn, bool usedFallback);
22  static const char * getJobID();
23  static bool getX509Subject(std::string &);
24  private:
25 
27  public:
29  void fillUDP(std::ostringstream &os);
30  private:
40  time_t m_start_time;
41  };
42 
43  void determineHostnames(void);
44  void fillUDP(const std::string&, bool, std::string &);
52  size_t m_counter;
53  ssize_t m_size;
55  };
56 
57 
58  }
59 }
60 
61 #endif
62 
void setCurrentServer(const std::string &servername)
void filePreCloseEvent(std::string const &lfn, bool usedFallback)
void fillUDP(const std::string &, bool, std::string &)
StatisticsSenderService(edm::ParameterSet const &pset, edm::ActivityRegistry &ar)
tuple size
Write out results.