Public Member Functions | |
bool | check (const std::string &proto, const std::string &path, const AuxSettings &aux, IOOffset *size=nullptr) const override |
std::unique_ptr< Storage > | open (const std::string &proto, const std::string &path, int mode, const AuxSettings &aux) const override |
void | setDebugLevel (unsigned int level) const |
void | setTimeout (unsigned int timeout) const |
void | stagein (const std::string &proto, const std::string &path, const AuxSettings &aux) const override |
XrdStorageMaker () | |
Public Member Functions inherited from StorageMaker | |
StorageMaker ()=default | |
virtual | ~StorageMaker ()=default |
Static Public Attributes | |
static const unsigned int | XRD_DEFAULT_TIMEOUT = 3 * 60 |
Private Attributes | |
std::mutex | m_envMutex |
std::atomic< unsigned int > | m_lastDebugLevel |
std::atomic< unsigned int > | m_lastTimeout |
MakerResponseHandler | m_null_handler |
Definition at line 28 of file XrdStorageMaker.cc.
|
inline |
Definition at line 32 of file XrdStorageMaker.cc.
References web.browse_db::env, setDebugLevel(), setTimeout(), and XRD_DEFAULT_TIMEOUT.
|
inlineoverridevirtual |
Reimplemented from StorageMaker.
Definition at line 87 of file XrdStorageMaker.cc.
References printConversionInfo::aux, reco_skim_cfg_mod::fullpath, castor_dqm_sourceclient_file_cfg::path, setDebugLevel(), setTimeout(), findQualityFiles::size, edm_modernize_messagelogger::stat, AlCaHLTBitMon_QueryRunRegistry::string, hcal_runs::URL, and relmon_authenticated_wget::url.
|
inlineoverridevirtual |
Open a storage object for the given URL (protocol + path), using the mode bits. No temporary files are downloaded.
Implements StorageMaker.
Definition at line 50 of file XrdStorageMaker.cc.
References printConversionInfo::aux, StorageFactory::CACHE_HINT_STORAGE, f, FrontierConditions_GlobalTag_cff::file, reco_skim_cfg_mod::fullpath, StorageFactory::get(), ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, eostools::move(), IOFlags::OpenUnbuffered, castor_dqm_sourceclient_file_cfg::path, StorageFactory::READ_HINT_UNBUFFERED, setDebugLevel(), setTimeout(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 108 of file XrdStorageMaker.cc.
References cms::Exception::addContext(), edm::errors::Configuration, personalPlayback::level, m_envMutex, and m_lastDebugLevel.
Referenced by check(), open(), stagein(), and XrdStorageMaker().
|
inline |
Definition at line 146 of file XrdStorageMaker.cc.
References web.browse_db::env, m_envMutex, m_lastTimeout, mps_check::timeout, and XRD_DEFAULT_TIMEOUT.
Referenced by check(), open(), stagein(), and XrdStorageMaker().
|
inlineoverridevirtual |
Reimplemented from StorageMaker.
Definition at line 71 of file XrdStorageMaker.cc.
References printConversionInfo::aux, reco_skim_cfg_mod::fullpath, m_null_handler, castor_dqm_sourceclient_file_cfg::path, setDebugLevel(), setTimeout(), mps_update::status, AlCaHLTBitMon_QueryRunRegistry::string, hcal_runs::URL, and relmon_authenticated_wget::url.
|
mutableprivate |
Definition at line 177 of file XrdStorageMaker.cc.
Referenced by setDebugLevel(), and setTimeout().
|
mutableprivate |
Definition at line 178 of file XrdStorageMaker.cc.
Referenced by setDebugLevel().
|
mutableprivate |
Definition at line 179 of file XrdStorageMaker.cc.
Referenced by setTimeout().
|
mutableprivate |
Definition at line 176 of file XrdStorageMaker.cc.
Referenced by stagein().
|
static |
Definition at line 30 of file XrdStorageMaker.cc.
Referenced by setTimeout(), and XrdStorageMaker().