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