Definition at line 81 of file TFileAdaptor.cc.
References addType(), StorageFactory::CACHE_HINT_APPLICATION, StorageFactory::CACHE_HINT_AUTO_DETECT, StorageFactory::CACHE_HINT_LAZY_DOWNLOAD, StorageFactory::CACHE_HINT_STORAGE, cacheHint_, edm::SiteLocalConfig::debugLevel(), debugLevel_, doStats_, StorageFactory::enableAccounting(), enabled_, edm::SiteLocalConfig::enablePrefetching(), enablePrefetching_, edm::hlt::Exception, f, StorageFactory::get(), edm::ParameterSet::getUntrackedParameter(), edm::Service< T >::isAvailable(), minFree_, native(), native_, AlCaHLTBitMon_ParallelJobs::p, StorageFactory::READ_HINT_AUTO, StorageFactory::READ_HINT_READAHEAD, StorageFactory::READ_HINT_UNBUFFERED, readHint_, StorageFactory::setCacheHint(), StorageFactory::setDebugLevel(), StorageFactory::setReadHint(), StorageFactory::setTempDir(), StorageFactory::setTimeout(), edm::SiteLocalConfig::sourceCacheHint(), edm::SiteLocalConfig::sourceCacheMinFree(), edm::SiteLocalConfig::sourceCacheTempDir(), edm::SiteLocalConfig::sourceNativeProtocols(), edm::SiteLocalConfig::sourceReadHint(), edm::SiteLocalConfig::sourceTimeout(), AlCaHLTBitMon_QueryRunRegistry::string, tempDir_, StorageFactory::tempMinFree(), StorageFactory::tempPath(), termination(), timeout_, and edm::ActivityRegistry::watchPostEndJob().
106 native_ = pset.getUntrackedParameter<std::vector<std::string> >(
"native",
native_);
137 if ((
enablePrefetching_) && ((cacheHint_ ==
"storage-only") || (cacheHint_ ==
"auto-detect")))
138 cacheHint_ =
"application-only";
141 if (cacheHint_ ==
"application-only")
143 else if (cacheHint_ ==
"storage-only")
145 else if (cacheHint_ ==
"lazy-download")
147 else if (cacheHint_ ==
"auto-detect")
151 <<
"Unrecognised 'cacheHint' value '" << cacheHint_
152 <<
"', recognised values are 'application-only',"
153 <<
" 'storage-only', 'lazy-download', 'auto-detect'";
155 if (readHint_ ==
"direct-unbuffered")
157 else if (readHint_ ==
"read-ahead-buffered")
159 else if (readHint_ ==
"auto-detect")
163 <<
"Unrecognised 'readHint' value '" << readHint_
164 <<
"', recognised values are 'direct-unbuffered',"
165 <<
" 'read-ahead-buffered', 'auto-detect'";
177 TPluginManager* mgr = gROOT->GetPluginManager();
bool enableAccounting(bool enabled)
bool native(char const *proto) const
void watchPostEndJob(PostEndJob::slot_type const &iSlot)
std::string tempPath(void) const
void setTimeout(unsigned int timeout)
void setReadHint(ReadHint value)
double tempMinFree(void) const
virtual bool enablePrefetching() const =0
static StorageFactory * get(void)
virtual std::string const * sourceCacheTempDir() const =0
virtual unsigned int const * sourceTimeout() const =0
void setDebugLevel(unsigned int level)
virtual unsigned int debugLevel() const =0
std::vector< std::string > native_
static void addType(TPluginManager *mgr, char const *type, int altType=0)
virtual std::vector< std::string > const * sourceNativeProtocols() const =0
void setTempDir(const std::string &s, double minFreeSpace)
void setCacheHint(CacheHint value)
virtual double const * sourceCacheMinFree() const =0
virtual std::string const * sourceCacheHint() const =0
virtual std::string const * sourceReadHint() const =0
void termination(void) const