1 #ifndef STORAGE_FACTORY_STORAGE_FACTORY_H
2 #define STORAGE_FACTORY_STORAGE_FACTORY_H
10 #include "tbb/concurrent_unordered_map.h"
12 namespace edm::storage {
38 unsigned int timeout(
void)
const;
58 typedef tbb::concurrent_unordered_map<std::string, std::shared_ptr<StorageMaker>>
MakerTable;
78 #endif // STORAGE_FACTORY_STORAGE_FACTORY_H
std::string tempDir(void) const
double tempMinFree(void) const
void setReadHint(ReadHint value)
unsigned int m_debugLevel
void setTimeout(unsigned int timeout)
ReadHint readHint(void) const
unsigned int debugLevel(void) const
CacheHint cacheHint(void) const
void setTempDir(const std::string &s, double minFreeSpace)
unsigned int timeout(void) const
bool check(const std::string &url, IOOffset *size=nullptr) const
std::unique_ptr< Storage > wrapNonLocalFile(std::unique_ptr< Storage > s, const std::string &proto, const std::string &path, int mode) const
bool enableAccounting(bool enabled)
static StorageFactory s_instance
StorageMaker * getMaker(const std::string &proto) const
std::string m_unusableDirWarnings
void setCacheHint(CacheHint value)
static StorageFactory * getToModify(void)
bool accounting(void) const
tbb::concurrent_unordered_map< std::string, std::shared_ptr< StorageMaker > > MakerTable
std::unique_ptr< Storage > open(const std::string &url, int mode=IOFlags::OpenRead) const
void setDebugLevel(unsigned int level)
void stagein(const std::string &url) const
tuple size
Write out results.
std::string tempPath(void) const