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* sourceCloneCacheHint() const override;
36  std::string const* sourceReadHint() const;
37  unsigned int const* sourceTTreeCacheSize() const;
38  unsigned int const* sourceTimeout() const;
39  bool enablePrefetching() const;
40  unsigned int debugLevel() const;
41  std::vector<std::string> const* sourceNativeProtocols() const;
42  struct addrinfo const* statisticsDestination() const;
43  std::string const& siteName() const;
44 
45  // implicit copy constructor
46  // implicit assignment operator
48 
49  static void fillDescriptions(ConfigurationDescriptions& descriptions);
50 
51  private:
52  void parse (std::string const& url);
54  std::string const frontierConnect(std::string const& servlet) const;
64  double const* m_cacheMinFreePtr;
71  unsigned int m_ttreeCacheSize;
72  unsigned int const* m_ttreeCacheSizePtr;
73  unsigned int m_timeout;
74  unsigned int const* m_timeoutPtr;
75  unsigned int m_debugLevel;
77  bool const * m_enablePrefetchingPtr;
78  std::vector<std::string> m_nativeProtocols;
79  std::vector<std::string> const* m_nativeProtocolsPtr;
81  struct addrinfo * m_statisticsAddrInfo;
84  };
85 
86  inline
88  return true;
89  }
90  }
91 }
92 
93 //<<<<<< INLINE PUBLIC FUNCTIONS >>>>>>
94 //<<<<<< INLINE MEMBER FUNCTIONS >>>>>>
95 
96 #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::string const * sourceCloneCacheHint() const override
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