Public Member Functions | |
bool | check (const std::string &proto, const std::string &path, const AuxSettings &aux, IOOffset *size=0) const override |
std::unique_ptr< Storage > | open (const std::string &proto, const std::string &path, int mode, AuxSettings const &aux) const override |
void | stagein (const std::string &proto, const std::string &path, const AuxSettings &aux) const override |
Public Member Functions inherited from StorageMaker | |
virtual std::unique_ptr< Storage > | open (const std::string &proto, const std::string &path, int mode, const AuxSettings &aux) const =0 |
StorageMaker ()=default | |
virtual | ~StorageMaker ()=default |
Private Member Functions | |
void | setTimeout (unsigned int timeout) const |
Static Private Member Functions | |
static std::string | normalise (const std::string &proto, const std::string &path) |
Definition at line 9 of file DCacheStorageMaker.cc.
|
inlineoverridevirtual |
Reimplemented from StorageMaker.
Definition at line 59 of file DCacheStorageMaker.cc.
References normalise(), setTimeout(), findQualityFiles::size, AlCaHLTBitMon_QueryRunRegistry::string, and StorageMaker::AuxSettings::timeout.
|
inlinestaticprivate |
Return appropriate path for use with dcap library. If the path is in the URL form ([gsi]dcap://host:port/path), return the full URL as it is. If the path is /pnfs form (dcap:/pnfs/path), return only the path part, unless the protocol is 'gsidcap', in which case return the whole thing.
Definition at line 14 of file DCacheStorageMaker.cc.
References AlCaHLTBitMon_ParallelJobs::p.
Referenced by check(), open(), and stagein().
|
inlineoverride |
Open a storage object for the given URL (protocol + path), using the mode bits. No temporary files are downloaded.
Definition at line 29 of file DCacheStorageMaker.cc.
References StorageFactory::CACHE_HINT_STORAGE, StorageFactory::cacheHint(), f, FrontierConditions_GlobalTag_cff::file, StorageFactory::get(), ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, eostools::move(), normalise(), IOFlags::OpenUnbuffered, StorageFactory::READ_HINT_UNBUFFERED, StorageFactory::readHint(), setTimeout(), AlCaHLTBitMon_QueryRunRegistry::string, StorageMaker::AuxSettings::timeout, and StorageFactory::wrapNonLocalFile().
|
inlineprivate |
Definition at line 80 of file DCacheStorageMaker.cc.
References DEFINE_EDM_PLUGIN.
|
inlineoverridevirtual |
Reimplemented from StorageMaker.
Definition at line 47 of file DCacheStorageMaker.cc.
References cms::Exception::addContext(), normalise(), setTimeout(), AlCaHLTBitMon_QueryRunRegistry::string, and StorageMaker::AuxSettings::timeout.