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>
10 //<<<<<< PUBLIC DEFINES >>>>>>
11 //<<<<<< PUBLIC CONSTANTS >>>>>>
12 //<<<<<< PUBLIC TYPES >>>>>>
13 namespace edm {
14  class ParameterSet;
15 }
16 
17 //<<<<<< PUBLIC VARIABLES >>>>>>
18 //<<<<<< PUBLIC FUNCTIONS >>>>>>
19 //<<<<<< CLASS DECLARATIONS >>>>>>
20 
21 namespace edm {
23  namespace service {
25  public:
26  explicit SiteLocalConfigService(ParameterSet const& pset);
27 
28  std::string const dataCatalog(void) const override;
29  std::string const fallbackDataCatalog(void) const override;
30  std::string const lookupCalibConnect(std::string const& input) const override;
31  std::string const rfioType(void) const override;
32 
33  std::string const* sourceCacheTempDir() const override;
34  double const* sourceCacheMinFree() const override;
35  std::string const* sourceCacheHint() const override;
36  std::string const* sourceCloneCacheHint() const override;
37  std::string const* sourceReadHint() const override;
38  unsigned int const* sourceTTreeCacheSize() const override;
39  unsigned int const* sourceTimeout() const override;
40  bool enablePrefetching() const override;
41  unsigned int debugLevel() const override;
42  std::vector<std::string> const* sourceNativeProtocols() const override;
43  struct addrinfo const* statisticsDestination() const override;
44  std::set<std::string> const* statisticsInfo() const override;
45  std::string const& siteName() const override;
46 
47  // implicit copy constructor
48  // implicit assignment operator
50 
51  static void fillDescriptions(ConfigurationDescriptions& descriptions);
52 
53  private:
54  void parse (std::string const& url);
56  std::string const frontierConnect(std::string const& servlet) const;
66  double const* m_cacheMinFreePtr;
73  unsigned int m_ttreeCacheSize;
74  unsigned int const* m_ttreeCacheSizePtr;
75  unsigned int m_timeout;
76  unsigned int const* m_timeoutPtr;
77  unsigned int m_debugLevel;
79  bool const * m_enablePrefetchingPtr;
80  std::vector<std::string> m_nativeProtocols;
81  std::vector<std::string> const* m_nativeProtocolsPtr;
85  std::set<std::string> m_statisticsInfo;
88  };
89 
90  inline
92  return true;
93  }
94  }
95 }
96 
97 //<<<<<< INLINE PUBLIC FUNCTIONS >>>>>>
98 //<<<<<< INLINE MEMBER FUNCTIONS >>>>>>
99 
100 #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:44
std::string const * sourceCacheTempDir() const override
edm::propagate_const< struct addrinfo * > m_statisticsAddrInfo
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