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