1 #ifndef STORAGE_FACTORY_STORAGE_FACTORY_H
2 # define STORAGE_FACTORY_STORAGE_FACTORY_H
10 #include "tbb/concurrent_unordered_map.h"
47 unsigned int timeout(
void)
const;
70 typedef tbb::concurrent_unordered_map<std::string, std::shared_ptr<StorageMaker>>
MakerTable;
91 #endif // STORAGE_FACTORY_STORAGE_FACTORY_H
CacheHint cacheHint(void) const
void stagein(const std::string &url)
bool enableAccounting(bool enabled)
std::string tempPath(void) const
void setTimeout(unsigned int timeout)
void setReadHint(ReadHint value)
Storage * open(const std::string &url, int mode=IOFlags::OpenRead)
bool check(const std::string &url, IOOffset *size=0)
unsigned int m_debugLevel
StorageMaker * getMaker(const std::string &proto)
double tempMinFree(void) const
Storage * wrapNonLocalFile(Storage *s, const std::string &proto, const std::string &path, int mode)
tuple path
else: Piece not in the list, fine.
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)
void activateTimeout(const std::string &url)
tbb::concurrent_unordered_map< std::string, std::shared_ptr< StorageMaker > > MakerTable
tuple size
Write out results.
unsigned int debugLevel(void) const