Public Member Functions | |
virtual bool | check (const std::string &proto, const std::string &path, IOOffset *size=0) override |
virtual Storage * | open (const std::string &proto, const std::string &path, int mode) override |
virtual void | setTimeout (unsigned int timeout) override |
virtual void | stagein (const std::string &proto, const std::string &path) override |
Public Member Functions inherited from StorageMaker | |
virtual void | setDebugLevel (unsigned int debugLevel) |
StorageMaker (void) | |
virtual | ~StorageMaker (void) |
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 64 of file DCacheStorageMaker.cc.
References normalise(), findQualityFiles::size, and AlCaHLTBitMon_QueryRunRegistry::string.
|
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 15 of file DCacheStorageMaker.cc.
References AlCaHLTBitMon_ParallelJobs::p.
Referenced by check(), open(), and stagein().
|
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 32 of file DCacheStorageMaker.cc.
References StorageFactory::CACHE_HINT_STORAGE, StorageFactory::cacheHint(), f, mergeVDriftHistosByStation::file, StorageFactory::get(), normalise(), IOFlags::OpenUnbuffered, StorageFactory::READ_HINT_UNBUFFERED, StorageFactory::readHint(), AlCaHLTBitMon_QueryRunRegistry::string, and StorageFactory::wrapNonLocalFile().
|
inlineoverridevirtual |
Reimplemented from StorageMaker.
Definition at line 84 of file DCacheStorageMaker.cc.
|
inlineoverridevirtual |
Reimplemented from StorageMaker.
Definition at line 50 of file DCacheStorageMaker.cc.
References cms::Exception::addContext(), normalise(), and AlCaHLTBitMon_QueryRunRegistry::string.