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
CacheHint cacheHint(void) 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)
std::string tempPath(void) const
void setTimeout(unsigned int timeout)
void setReadHint(ReadHint value)
unsigned int m_debugLevel
bool check(const std::string &url, IOOffset *size=nullptr) const
double tempMinFree(void) const
StorageMaker * getMaker(const std::string &proto) const
void stagein(const std::string &url) const
std::string tempDir(void) const
unsigned int timeout(void) const
void setDebugLevel(unsigned int level)
ReadHint readHint(void) const
bool accounting(void) const
void setTempDir(const std::string &s, double minFreeSpace)
static StorageFactory s_instance
void setCacheHint(CacheHint value)
tbb::concurrent_unordered_map< std::string, std::shared_ptr< StorageMaker > > MakerTable
std::string m_unusableDirWarnings
static StorageFactory * getToModify(void)
unsigned int debugLevel(void) const
std::unique_ptr< Storage > open(const std::string &url, int mode=IOFlags::OpenRead) const