#include <SiteLocalConfigService.h>
Public Member Functions | |
std::vector< edm::CatalogAttributes > const & | dataCatalogs () const override |
unsigned int | debugLevel () const override |
bool | enablePrefetching () const override |
std::string const & | localConnectPrefix () const override |
std::string const & | localConnectSuffix () const override |
std::string const | lookupCalibConnect (std::string const &input) const override |
std::string const | rfioType (void) const override |
SiteLocalConfigService (ParameterSet const &pset) | |
std::string const & | siteName () const override |
std::string const * | sourceCacheHint () const override |
double const * | sourceCacheMinFree () const override |
std::string const * | sourceCacheTempDir () const override |
std::string const * | sourceCloneCacheHint () const override |
std::vector< std::string > const * | sourceNativeProtocols () const override |
std::string const * | sourceReadHint () const override |
unsigned int const * | sourceTimeout () const override |
unsigned int const * | sourceTTreeCacheSize () const override |
struct addrinfo const * | statisticsDestination () const override |
std::set< std::string > const * | statisticsInfo () const override |
std::filesystem::path const | storageDescriptionPath (edm::CatalogAttributes const &aDataCatalog) const override |
std::string const & | subSiteName () const override |
std::vector< std::string > const & | trivialDataCatalogs () const override |
bool | useLocalConnectString () const override |
~SiteLocalConfigService () override | |
Public Member Functions inherited from edm::SiteLocalConfig | |
SiteLocalConfig () | |
virtual | ~SiteLocalConfig () |
Static Public Member Functions | |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
void | computeStatisticsDestination () |
std::string const | frontierConnect (std::string const &servlet) const |
void | getCatalog (tinyxml2::XMLElement const &cat, std::string site, std::string subSite) |
void | parse (std::string const &url) |
Static Private Attributes | |
static const std::string | m_statisticsDefaultPort = "3334" |
Definition at line 34 of file SiteLocalConfigService.h.
|
explicit |
Definition at line 76 of file SiteLocalConfigService.cc.
References computeStatisticsDestination(), mps_splice::entry, m_cacheHint, m_cacheHintPtr, m_cacheMinFree, m_cacheMinFreePtr, m_cacheTempDir, m_cacheTempDirPtr, m_cloneCacheHint, m_cloneCacheHintPtr, m_debugLevel, m_enablePrefetching, m_enablePrefetchingPtr, m_localConnectPrefix, m_localConnectSuffix, m_nativeProtocols, m_nativeProtocolsPtr, m_readHint, m_readHintPtr, m_statisticsDestination, m_statisticsInfo, m_statisticsInfoAvail, m_timeout, m_timeoutPtr, m_ttreeCacheSize, m_ttreeCacheSizePtr, m_url, m_useLocalConnectString, eostools::move(), parse(), muonDTDigis_cfi::pset, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 147 of file SiteLocalConfigService.cc.
References m_statisticsAddrInfo.
|
private |
Definition at line 557 of file SiteLocalConfigService.cc.
References MillePedeFileConverter_cfg::e, query::host, m_statisticsAddrInfo, m_statisticsDefaultPort, m_statisticsDestination, query::port, submitPVValidationJobs::split(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by SiteLocalConfigService().
|
overridevirtual |
Implements edm::SiteLocalConfig.
Definition at line 170 of file SiteLocalConfigService.cc.
References cms::Exception::addContext(), m_connected, m_dataCatalogs, and m_url.
|
overridevirtual |
Implements edm::SiteLocalConfig.
Definition at line 307 of file SiteLocalConfigService.cc.
References m_debugLevel.
|
overridevirtual |
Implements edm::SiteLocalConfig.
Definition at line 303 of file SiteLocalConfigService.cc.
References m_enablePrefetchingPtr.
|
static |
Definition at line 576 of file SiteLocalConfigService.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 220 of file SiteLocalConfigService.cc.
References Exception, m_connected, m_frontierConnect, m_url, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by lookupCalibConnect(), and parse().
|
private |
Definition at line 327 of file SiteLocalConfigService.cc.
References eostools::cat(), m_dataCatalogs, edm::CatalogAttributes::protocol, edm::CatalogAttributes::site, edm::CatalogAttributes::storageSite, AlCaHLTBitMon_QueryRunRegistry::string, edm::CatalogAttributes::subSite, and edm::CatalogAttributes::volume.
Referenced by parse().
|
overridevirtual |
Implements edm::SiteLocalConfig.
Definition at line 324 of file SiteLocalConfigService.cc.
References m_localConnectPrefix.
|
overridevirtual |
Implements edm::SiteLocalConfig.
Definition at line 325 of file SiteLocalConfigService.cc.
References m_localConnectSuffix.
|
overridevirtual |
Implements edm::SiteLocalConfig.
Definition at line 251 of file SiteLocalConfigService.cc.
References frontierConnect(), input, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 343 of file SiteLocalConfigService.cc.
References cms::Exception::addContext(), getEcalConditions_orcoffint2r_cff::catalog, boostedTaus_cff::doc, Exception, frontierConnect(), getCatalog(), m_cacheHint, m_cacheHintPtr, m_cacheMinFree, m_cacheMinFreePtr, m_cacheTempDir, m_cacheTempDirPtr, m_cloneCacheHint, m_cloneCacheHintPtr, m_connected, m_enablePrefetching, m_enablePrefetchingPtr, m_frontierConnect, m_localConnectPrefix, m_localConnectSuffix, m_nativeProtocols, m_nativeProtocolsPtr, m_readHint, m_readHintPtr, m_rfioType, m_siteName, m_statisticsDestination, m_statisticsInfo, m_statisticsInfoAvail, m_subSiteName, m_timeout, m_timeoutPtr, m_trivialDataCatalogs, m_ttreeCacheSize, m_ttreeCacheSizePtr, m_useLocalConnectString, submitPVValidationJobs::split(), AlCaHLTBitMon_QueryRunRegistry::string, and relmon_authenticated_wget::url.
Referenced by SiteLocalConfigService().
|
overridevirtual |
Implements edm::SiteLocalConfig.
Definition at line 287 of file SiteLocalConfigService.cc.
References m_rfioType.
|
overridevirtual |
Implements edm::SiteLocalConfig.
Definition at line 321 of file SiteLocalConfigService.cc.
References m_siteName.
|
overridevirtual |
Implements edm::SiteLocalConfig.
Definition at line 293 of file SiteLocalConfigService.cc.
References m_cacheHintPtr.
|
overridevirtual |
Implements edm::SiteLocalConfig.
Definition at line 291 of file SiteLocalConfigService.cc.
References m_cacheMinFreePtr.
|
overridevirtual |
Implements edm::SiteLocalConfig.
Definition at line 289 of file SiteLocalConfigService.cc.
References m_cacheTempDirPtr.
|
overridevirtual |
Implements edm::SiteLocalConfig.
Definition at line 295 of file SiteLocalConfigService.cc.
References m_cloneCacheHintPtr.
|
overridevirtual |
Implements edm::SiteLocalConfig.
Definition at line 309 of file SiteLocalConfigService.cc.
References m_nativeProtocolsPtr.
|
overridevirtual |
Implements edm::SiteLocalConfig.
Definition at line 297 of file SiteLocalConfigService.cc.
References m_readHintPtr.
|
overridevirtual |
Implements edm::SiteLocalConfig.
Definition at line 301 of file SiteLocalConfigService.cc.
References m_timeoutPtr.
|
overridevirtual |
Implements edm::SiteLocalConfig.
Definition at line 299 of file SiteLocalConfigService.cc.
References m_ttreeCacheSizePtr.
|
overridevirtual |
Implements edm::SiteLocalConfig.
Definition at line 313 of file SiteLocalConfigService.cc.
References m_statisticsAddrInfo.
|
overridevirtual |
Implements edm::SiteLocalConfig.
Definition at line 317 of file SiteLocalConfigService.cc.
References m_statisticsInfo, and m_statisticsInfoAvail.
|
overridevirtual |
Implements edm::SiteLocalConfig.
Definition at line 186 of file SiteLocalConfigService.cc.
References cms::Exception::addContext(), MillePedeFileConverter_cfg::e, cppFunctionSkipper::exception, castor_dqm_sourceclient_file_cfg::path, edm::CatalogAttributes::site, edm::CatalogAttributes::storageSite, AlCaHLTBitMon_QueryRunRegistry::string, and edm::CatalogAttributes::subSite.
|
overridevirtual |
Implements edm::SiteLocalConfig.
Definition at line 322 of file SiteLocalConfigService.cc.
References m_subSiteName.
|
overridevirtual |
Implements edm::SiteLocalConfig.
Definition at line 154 of file SiteLocalConfigService.cc.
References cms::Exception::addContext(), m_connected, m_trivialDataCatalogs, m_url, and createJobs::tmp.
|
overridevirtual |
Implements edm::SiteLocalConfig.
Definition at line 323 of file SiteLocalConfigService.cc.
References m_useLocalConnectString.
|
private |
Definition at line 83 of file SiteLocalConfigService.h.
Referenced by parse(), and SiteLocalConfigService().
|
private |
Definition at line 84 of file SiteLocalConfigService.h.
Referenced by parse(), SiteLocalConfigService(), and sourceCacheHint().
|
private |
Definition at line 81 of file SiteLocalConfigService.h.
Referenced by parse(), and SiteLocalConfigService().
|
private |
Definition at line 82 of file SiteLocalConfigService.h.
Referenced by parse(), SiteLocalConfigService(), and sourceCacheMinFree().
|
private |
Definition at line 79 of file SiteLocalConfigService.h.
Referenced by parse(), and SiteLocalConfigService().
|
private |
Definition at line 80 of file SiteLocalConfigService.h.
Referenced by parse(), SiteLocalConfigService(), and sourceCacheTempDir().
|
private |
Definition at line 85 of file SiteLocalConfigService.h.
Referenced by parse(), and SiteLocalConfigService().
|
private |
Definition at line 86 of file SiteLocalConfigService.h.
Referenced by parse(), SiteLocalConfigService(), and sourceCloneCacheHint().
|
private |
Definition at line 78 of file SiteLocalConfigService.h.
Referenced by dataCatalogs(), frontierConnect(), parse(), and trivialDataCatalogs().
|
private |
Definition at line 75 of file SiteLocalConfigService.h.
Referenced by dataCatalogs(), and getCatalog().
|
private |
Definition at line 93 of file SiteLocalConfigService.h.
Referenced by debugLevel(), and SiteLocalConfigService().
|
private |
Definition at line 94 of file SiteLocalConfigService.h.
Referenced by parse(), and SiteLocalConfigService().
|
private |
Definition at line 95 of file SiteLocalConfigService.h.
Referenced by enablePrefetching(), parse(), and SiteLocalConfigService().
|
private |
Definition at line 76 of file SiteLocalConfigService.h.
Referenced by frontierConnect(), and parse().
|
private |
Definition at line 106 of file SiteLocalConfigService.h.
Referenced by localConnectPrefix(), parse(), and SiteLocalConfigService().
|
private |
Definition at line 107 of file SiteLocalConfigService.h.
Referenced by localConnectSuffix(), parse(), and SiteLocalConfigService().
|
private |
Definition at line 96 of file SiteLocalConfigService.h.
Referenced by parse(), and SiteLocalConfigService().
|
private |
Definition at line 97 of file SiteLocalConfigService.h.
Referenced by parse(), SiteLocalConfigService(), and sourceNativeProtocols().
|
private |
Definition at line 87 of file SiteLocalConfigService.h.
Referenced by parse(), and SiteLocalConfigService().
|
private |
Definition at line 88 of file SiteLocalConfigService.h.
Referenced by parse(), SiteLocalConfigService(), and sourceReadHint().
|
private |
Definition at line 77 of file SiteLocalConfigService.h.
Referenced by parse(), and rfioType().
|
private |
Definition at line 103 of file SiteLocalConfigService.h.
Referenced by parse(), and siteName().
|
private |
Definition at line 99 of file SiteLocalConfigService.h.
Referenced by computeStatisticsDestination(), statisticsDestination(), and ~SiteLocalConfigService().
|
staticprivate |
Definition at line 100 of file SiteLocalConfigService.h.
Referenced by computeStatisticsDestination().
|
private |
Definition at line 98 of file SiteLocalConfigService.h.
Referenced by computeStatisticsDestination(), parse(), and SiteLocalConfigService().
|
private |
Definition at line 101 of file SiteLocalConfigService.h.
Referenced by parse(), SiteLocalConfigService(), and statisticsInfo().
|
private |
Definition at line 102 of file SiteLocalConfigService.h.
Referenced by parse(), SiteLocalConfigService(), and statisticsInfo().
|
private |
Definition at line 104 of file SiteLocalConfigService.h.
Referenced by parse(), and subSiteName().
|
private |
Definition at line 91 of file SiteLocalConfigService.h.
Referenced by parse(), and SiteLocalConfigService().
|
private |
Definition at line 92 of file SiteLocalConfigService.h.
Referenced by parse(), SiteLocalConfigService(), and sourceTimeout().
|
private |
Definition at line 74 of file SiteLocalConfigService.h.
Referenced by parse(), and trivialDataCatalogs().
|
private |
Definition at line 89 of file SiteLocalConfigService.h.
Referenced by parse(), and SiteLocalConfigService().
|
private |
Definition at line 90 of file SiteLocalConfigService.h.
Referenced by parse(), SiteLocalConfigService(), and sourceTTreeCacheSize().
|
private |
Definition at line 73 of file SiteLocalConfigService.h.
Referenced by dataCatalogs(), frontierConnect(), SiteLocalConfigService(), and trivialDataCatalogs().
|
private |
Definition at line 105 of file SiteLocalConfigService.h.
Referenced by parse(), SiteLocalConfigService(), and useLocalConnectString().