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 28 of file XrdStorageMaker.cc.
|
inline |
Definition at line 33 of file XrdStorageMaker.cc.
References web.browse_db::env, setDebugLevel(), setTimeout(), and XRD_DEFAULT_TIMEOUT.
|
inlineoverridevirtual |
Reimplemented from StorageMaker.
Definition at line 89 of file XrdStorageMaker.cc.
References StorageMaker::AuxSettings::debugLevel, setDebugLevel(), setTimeout(), findQualityFiles::size, AlCaHLTBitMon_QueryRunRegistry::string, StorageMaker::AuxSettings::timeout, 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 53 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 111 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 151 of file XrdStorageMaker.cc.
References web.browse_db::env, m_envMutex, m_lastTimeout, and XRD_DEFAULT_TIMEOUT.
Referenced by check(), open(), stagein(), and XrdStorageMaker().
|
inlineoverridevirtual |
Reimplemented from StorageMaker.
Definition at line 76 of file XrdStorageMaker.cc.
References StorageMaker::AuxSettings::debugLevel, m_null_handler, setDebugLevel(), setTimeout(), AlCaHLTBitMon_QueryRunRegistry::string, StorageMaker::AuxSettings::timeout, and relmon_authenticated_wget::url.
|
mutableprivate |
Definition at line 184 of file XrdStorageMaker.cc.
Referenced by setDebugLevel(), and setTimeout().
|
mutableprivate |
Definition at line 185 of file XrdStorageMaker.cc.
Referenced by setDebugLevel().
|
mutableprivate |
Definition at line 186 of file XrdStorageMaker.cc.
Referenced by setTimeout().
|
mutableprivate |
Definition at line 183 of file XrdStorageMaker.cc.
Referenced by stagein().
|
static |
Definition at line 31 of file XrdStorageMaker.cc.
Referenced by setTimeout(), and XrdStorageMaker().