#include <TFileAdaptor.h>
Public Member Functions | |
TFileAdaptor (edm::ParameterSet const &pset, edm::ActivityRegistry &ar) | |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Private Member Functions | |
bool | native (char const *proto) const |
void | stats (std::ostream &o) const |
void | statsXML (std::map< std::string, std::string > &data) const |
void | termination (void) const |
Static Private Member Functions | |
static void | addType (TPluginManager *mgr, char const *type, int altType=0) |
Private Attributes | |
std::string | cacheHint_ |
unsigned int | debugLevel_ |
bool | doStats_ |
bool | enabled_ |
bool | enablePrefetching_ |
double | minFree_ |
std::vector< std::string > | native_ |
std::string | readHint_ |
std::string | tempDir_ |
unsigned int | timeout_ |
Friends | |
class | TFileAdaptorUI |
Definition at line 17 of file TFileAdaptor.h.
TFileAdaptor::TFileAdaptor | ( | edm::ParameterSet const & | pset, |
edm::ActivityRegistry & | ar | ||
) |
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().
|
staticprivate |
Register TFileAdaptor to be the handler for a given type.
Once registered, URLs matching a specified regexp (for example, ^lstore: to manage files starting with lstore://) will be managed by a TFileAdaptor instance, possibly overriding any built-in ROOT adaptors.
[in] | mgr | The ROOT plugin manager object. |
[in] | type | A regexp-string; URLs matching this string will use TFileAdaptor. |
[in] | altType | Due to a limitation in the TPluginManager, if the type was previously managed by TXNetFile, we must invoke AddHandler with a slightly different syntax. Set this parameter to 1 if this applies to you. Otherwise, leave it at the default (0) |
Definition at line 40 of file TFileAdaptor.cc.
Referenced by TFileAdaptor().
|
static |
Definition at line 199 of file TFileAdaptor.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::addOptionalUntracked(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 76 of file TFileAdaptor.cc.
References spr::find(), and native_.
Referenced by TFileAdaptor().
|
private |
Definition at line 223 of file TFileAdaptor.cc.
References cacheHint_, doStats_, enablePrefetching_, readHint_, and StorageAccount::summaryText().
|
private |
Definition at line 240 of file TFileAdaptor.cc.
References cacheHint_, doStats_, enablePrefetching_, StorageAccount::fillSummary(), alignCSCRings::r, readHint_, and w().
Referenced by termination().
|
private |
Definition at line 213 of file TFileAdaptor.cc.
References data, edm::JobReport::reportPerformanceSummary(), and statsXML().
Referenced by TFileAdaptor().
|
friend |
Definition at line 23 of file TFileAdaptor.h.
|
private |
Definition at line 39 of file TFileAdaptor.h.
Referenced by stats(), statsXML(), and TFileAdaptor().
|
private |
Definition at line 44 of file TFileAdaptor.h.
Referenced by TFileAdaptor().
|
private |
Definition at line 37 of file TFileAdaptor.h.
Referenced by stats(), statsXML(), and TFileAdaptor().
|
private |
Definition at line 36 of file TFileAdaptor.h.
Referenced by TFileAdaptor().
|
private |
Definition at line 38 of file TFileAdaptor.h.
Referenced by stats(), statsXML(), and TFileAdaptor().
|
private |
Definition at line 42 of file TFileAdaptor.h.
Referenced by TFileAdaptor().
|
private |
Definition at line 45 of file TFileAdaptor.h.
Referenced by native(), and TFileAdaptor().
|
private |
Definition at line 40 of file TFileAdaptor.h.
Referenced by stats(), statsXML(), and TFileAdaptor().
|
private |
Definition at line 41 of file TFileAdaptor.h.
Referenced by TFileAdaptor().
|
private |
Definition at line 43 of file TFileAdaptor.h.
Referenced by TFileAdaptor().