Definition at line 53 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_, doStats_, StorageFactory::enableAccounting(), enabled_, edm::hlt::Exception, f, StorageFactory::get(), edm::ParameterSet::getUntrackedParameter(), edm::Service< T >::isAvailable(), minFree_, native(), native_, L1TEmulatorMonitor_cff::p, StorageFactory::READ_HINT_AUTO, StorageFactory::READ_HINT_READAHEAD, StorageFactory::READ_HINT_UNBUFFERED, readHint_, StorageFactory::setCacheHint(), StorageFactory::setReadHint(), StorageFactory::setTempDir(), StorageFactory::setTimeout(), edm::SiteLocalConfig::sourceCacheHint(), edm::SiteLocalConfig::sourceCacheMinFree(), edm::SiteLocalConfig::sourceCacheTempDir(), edm::SiteLocalConfig::sourceNativeProtocols(), edm::SiteLocalConfig::sourceReadHint(), edm::SiteLocalConfig::sourceTimeout(), tempDir_, StorageFactory::tempMinFree(), StorageFactory::tempPath(), termination(), timeout_, and edm::ActivityRegistry::watchPostEndJob().
105 if (cacheHint_ ==
"application-only")
107 else if (cacheHint_ ==
"storage-only")
109 else if (cacheHint_ ==
"lazy-download")
111 else if (cacheHint_ ==
"auto-detect")
115 <<
"Unrecognised 'cacheHint' value '" << cacheHint_
116 <<
"', recognised values are 'application-only',"
117 <<
" 'storage-only', 'lazy-download', 'auto-detect'";
119 if (readHint_ ==
"direct-unbuffered")
121 else if (readHint_ ==
"read-ahead-buffered")
123 else if (readHint_ ==
"auto-detect")
127 <<
"Unrecognised 'readHint' value '" << readHint_
128 <<
"', recognised values are 'direct-unbuffered',"
129 <<
" 'read-ahead-buffered', 'auto-detect'";
140 TPluginManager *mgr = gROOT->GetPluginManager();
141 mgr->LoadHandlersFromPluginDirs();
T getUntrackedParameter(std::string const &, T const &) const
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
static StorageFactory * get(void)
virtual std::string const * sourceCacheTempDir() const =0
virtual unsigned int const * sourceTimeout() const =0
static void addType(TPluginManager *mgr, char const *type)
std::vector< std::string > native_
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