1 #ifndef STORAGE_FACTORY_STORAGE_FACTORY_H
2 # define STORAGE_FACTORY_STORAGE_FACTORY_H
10 #include "tbb/concurrent_unordered_map.h"
49 unsigned int timeout(
void)
const;
71 typedef tbb::concurrent_unordered_map<std::string, std::shared_ptr<StorageMaker>>
MakerTable;
93 #endif // STORAGE_FACTORY_STORAGE_FACTORY_H
bool check(const std::string &url, IOOffset *size=0) const
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
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
tuple size
Write out results.
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