CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiteLocalConfigService.h
Go to the documentation of this file.
1 #ifndef FWCore_Services_SiteLocalConfigService_H
2 #define FWCore_Services_SiteLocalConfigService_H
3 
4 //<<<<<< INCLUDES >>>>>>
5 #include <string>
6 #include <list>
7 #include <vector>
9 //<<<<<< PUBLIC DEFINES >>>>>>
10 //<<<<<< PUBLIC CONSTANTS >>>>>>
11 //<<<<<< PUBLIC TYPES >>>>>>
12 namespace edm {
13  class ParameterSet;
14 }
15 
16 //<<<<<< PUBLIC VARIABLES >>>>>>
17 //<<<<<< PUBLIC FUNCTIONS >>>>>>
18 //<<<<<< CLASS DECLARATIONS >>>>>>
19 
20 namespace edm {
22  namespace service {
24  public:
25  explicit SiteLocalConfigService(ParameterSet const& pset);
26 
27  std::string const dataCatalog(void) const;
28  std::string const fallbackDataCatalog(void) const;
29  std::string const lookupCalibConnect(std::string const& input) const;
30  std::string const rfioType(void) const;
31 
32  std::string const* sourceCacheTempDir() const;
33  double const* sourceCacheMinFree() const;
34  std::string const* sourceCacheHint() const;
35  std::string const* sourceReadHint() const;
36  unsigned int const* sourceTTreeCacheSize() const;
37  unsigned int const* sourceTimeout() const;
38  bool enablePrefetching() const;
39  unsigned int debugLevel() const;
40  std::vector<std::string> const* sourceNativeProtocols() const;
41  struct addrinfo const* statisticsDestination() const;
42  std::string const& siteName() const;
43 
44  // implicit copy constructor
45  // implicit assignment operator
47 
48  static void fillDescriptions(ConfigurationDescriptions& descriptions);
49 
50  private:
51  void parse (std::string const& url);
53  std::string const frontierConnect(std::string const& servlet) const;
63  double const* m_cacheMinFreePtr;
68  unsigned int m_ttreeCacheSize;
69  unsigned int const* m_ttreeCacheSizePtr;
70  unsigned int m_timeout;
71  unsigned int const* m_timeoutPtr;
72  unsigned int m_debugLevel;
74  bool const * m_enablePrefetchingPtr;
75  std::vector<std::string> m_nativeProtocols;
76  std::vector<std::string> const* m_nativeProtocolsPtr;
78  struct addrinfo * m_statisticsAddrInfo;
81  };
82 
83  inline
85  return true;
86  }
87  }
88 }
89 
90 //<<<<<< INLINE PUBLIC FUNCTIONS >>>>>>
91 //<<<<<< INLINE MEMBER FUNCTIONS >>>>>>
92 
93 #endif // FRAMEWORK_SITE_LOCAL_CONFIG_H
std::string const fallbackDataCatalog(void) const
static void fillDescriptions(ConfigurationDescriptions &descriptions)
std::string const rfioType(void) const
static const std::string m_statisticsDefaultPort
bool isProcessWideService(TFileService const *)
Definition: TFileService.h:99
std::string const dataCatalog(void) const
struct addrinfo const * statisticsDestination() const
std::vector< std::string > const * m_nativeProtocolsPtr
static std::string const input
Definition: EdmProvDump.cc:44
std::string const lookupCalibConnect(std::string const &input) const
std::string const * sourceCacheHint() const
std::string const * sourceReadHint() const
std::vector< std::string > m_nativeProtocols
SiteLocalConfigService(ParameterSet const &pset)
std::string const * sourceCacheTempDir() const
unsigned int const * sourceTimeout() const
std::string const frontierConnect(std::string const &servlet) const
std::vector< std::string > const * sourceNativeProtocols() const
unsigned int const * sourceTTreeCacheSize() const