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:
39  time_t m_start_time;
40  };
41 
42  void determineHostnames(void);
43  void fillUDP(const std::string&, bool, std::string &);
51  size_t m_counter;
52  ssize_t m_size;
54  };
55 
56 
57  }
58 }
59 
60 #endif
61 
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.