4 #ifndef DMLITE_CPP_POOLMANAGER_H 5 #define DMLITE_CPP_POOLMANAGER_H 101 #endif // DMLITE_CPP_POOLMANAGER_H virtual Location whereToRead(const std::string &path)
virtual void newPool(const Pool &pool)
Create a new pool.
std::string type
Definition: poolmanager.h:24
Base class for interfaces.
Definition: base.h:18
bool operator<(const Pool &) const
Plug-ins must implement a concrete factory to be instantiated.
Definition: poolmanager.h:82
PoolAvailability
Definition: poolmanager.h:35
Definition: poolmanager.h:35
Header generated by CMake with the build configuration used.
Represent the complete location of a file.
Definition: pooldriver.h:42
Base exception class.
Definition: exceptions.h:17
static PoolManager * createPoolManager(PoolManagerFactory *factory, PluginManager *pm)
Children of PoolManagerFactory are allowed to instantiate too (decorator)
CatalogInterface can only be instantiated through this class.
Definition: dmlite.h:42
Interface for pool types.
Definition: poolmanager.h:33
virtual std::vector< Pool > getPools(PoolAvailability availability=kAny)
bool operator==(const Pool &) const
virtual ~PoolManagerFactory()
Virtual destructor.
virtual void getDirSpaces(const std::string &path, int64_t &totalfree, int64_t &used)
Exceptions used by the API.
Helpful typedef for KeyValue containers.
Definition: extensible.h:20
bool operator>(const Pool &) const
Base class for factories.
Definition: base.h:48
bool operator!=(const Pool &) const
virtual ~PoolManager()
Destructor.
virtual void updatePool(const Pool &pool)
Update pool metadata.
std::string name
Definition: poolmanager.h:23
Extensible types (hold metadata).
Internal interface for handling pool metadata.
Definition: poolmanager.h:22
Definition: poolmanager.h:35
virtual void deletePool(const Pool &pool)
Remove a pool.
virtual Location whereToWrite(const std::string &path)
Definition: poolmanager.h:35
Definition: poolmanager.h:35
virtual void cancelWrite(const Location &loc)
Definition: poolmanager.h:35
Namespace for the dmlite C++ API.
Definition: authn.h:15
virtual Pool getPool(const std::string &poolname)
Get a specific pool.