Public Member Functions | |
virtual bool | check (const std::string &proto, const std::string &path, const AuxSettings &aux, IOOffset *size=0) const override |
virtual 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 |
virtual 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 31 of file XrdStorageMaker.cc.
|
inline |
Definition at line 36 of file XrdStorageMaker.cc.
References web.browse_db::env, setDebugLevel(), setTimeout(), and XRD_DEFAULT_TIMEOUT.
|
inlineoverridevirtual |
Reimplemented from StorageMaker.
Definition at line 97 of file XrdStorageMaker.cc.
References StorageMaker::AuxSettings::debugLevel, setDebugLevel(), setTimeout(), findQualityFiles::size, AlCaHLTBitMon_QueryRunRegistry::string, StorageMaker::AuxSettings::timeout, util.rrClient::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 56 of file XrdStorageMaker.cc.
References StorageFactory::CACHE_HINT_STORAGE, StorageFactory::cacheHint(), StorageMaker::AuxSettings::debugLevel, f, mergeVDriftHistosByStation::file, StorageFactory::get(), alignBH_cfg::mode, eostools::move(), IOFlags::OpenUnbuffered, StorageFactory::READ_HINT_UNBUFFERED, StorageFactory::readHint(), setDebugLevel(), setTimeout(), AlCaHLTBitMon_QueryRunRegistry::string, StorageMaker::AuxSettings::timeout, and StorageFactory::wrapNonLocalFile().
|
inline |
Definition at line 119 of file XrdStorageMaker.cc.
References cms::Exception::addContext(), edm::errors::Configuration, testEve_cfg::level, m_envMutex, and m_lastDebugLevel.
Referenced by check(), open(), stagein(), and XrdStorageMaker().
|
inline |
Definition at line 159 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 79 of file XrdStorageMaker.cc.
References StorageMaker::AuxSettings::debugLevel, m_null_handler, setDebugLevel(), setTimeout(), mps_update::status, AlCaHLTBitMon_QueryRunRegistry::string, StorageMaker::AuxSettings::timeout, util.rrClient::URL, and relmon_authenticated_wget::url.
|
mutableprivate |
Definition at line 192 of file XrdStorageMaker.cc.
Referenced by setDebugLevel(), and setTimeout().
|
mutableprivate |
Definition at line 193 of file XrdStorageMaker.cc.
Referenced by setDebugLevel().
|
mutableprivate |
Definition at line 194 of file XrdStorageMaker.cc.
Referenced by setTimeout().
|
mutableprivate |
Definition at line 191 of file XrdStorageMaker.cc.
Referenced by stagein().
|
static |
Definition at line 34 of file XrdStorageMaker.cc.
Referenced by setTimeout(), and XrdStorageMaker().