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 override;
28  std::string const fallbackDataCatalog(void) const override;
29  std::string const lookupCalibConnect(std::string const& input) const override;
30  std::string const rfioType(void) const override;
31 
32  std::string const* sourceCacheTempDir() const override;
33  double const* sourceCacheMinFree() const override;
34  std::string const* sourceCacheHint() const override;
35  std::string const* sourceCloneCacheHint() const override;
36  std::string const* sourceReadHint() const override;
37  unsigned int const* sourceTTreeCacheSize() const override;
38  unsigned int const* sourceTimeout() const override;
39  bool enablePrefetching() const override;
40  unsigned int debugLevel() const override;
41  std::vector<std::string> const* sourceNativeProtocols() const override;
42  struct addrinfo const* statisticsDestination() const override;
43  std::set<std::string> const* statisticsInfo() const override;
44  std::string const& siteName() const override;
45 
46  // implicit copy constructor
47  // implicit assignment operator
49 
50  static void fillDescriptions(ConfigurationDescriptions& descriptions);
51 
52  private:
53  void parse (std::string const& url);
55  std::string const frontierConnect(std::string const& servlet) const;
65  double const* m_cacheMinFreePtr;
72  unsigned int m_ttreeCacheSize;
73  unsigned int const* m_ttreeCacheSizePtr;
74  unsigned int m_timeout;
75  unsigned int const* m_timeoutPtr;
76  unsigned int m_debugLevel;
78  bool const * m_enablePrefetchingPtr;
79  std::vector<std::string> m_nativeProtocols;
80  std::vector<std::string> const* m_nativeProtocolsPtr;
82  struct addrinfo * m_statisticsAddrInfo;
84  std::set<std::string> m_statisticsInfo;
87  };
88 
89  inline
91  return true;
92  }
93  }
94 }
95 
96 //<<<<<< INLINE PUBLIC FUNCTIONS >>>>>>
97 //<<<<<< INLINE MEMBER FUNCTIONS >>>>>>
98 
99 #endif // FRAMEWORK_SITE_LOCAL_CONFIG_H
static void fillDescriptions(ConfigurationDescriptions &descriptions)
static const std::string m_statisticsDefaultPort
unsigned int const * sourceTTreeCacheSize() const override
bool isProcessWideService(TFileService const *)
Definition: TFileService.h:99
std::string const & siteName() const override
struct addrinfo const * statisticsDestination() const override
std::string const fallbackDataCatalog(void) const override
std::string const * sourceReadHint() const override
std::vector< std::string > const * m_nativeProtocolsPtr
static std::string const input
Definition: EdmProvDump.cc:43
std::string const * sourceCacheTempDir() const override
std::string const rfioType(void) const override
std::string const * sourceCacheHint() const override
std::string const * sourceCloneCacheHint() const override
std::vector< std::string > const * sourceNativeProtocols() const override
std::vector< std::string > m_nativeProtocols
unsigned int const * sourceTimeout() const override
double const * sourceCacheMinFree() const override
std::set< std::string > const * statisticsInfo() const override
unsigned int debugLevel() const override
SiteLocalConfigService(ParameterSet const &pset)
std::string const frontierConnect(std::string const &servlet) const
std::string const lookupCalibConnect(std::string const &input) const override
std::string const dataCatalog(void) const override