4 #ifndef DMLITE_CPP_POOLMANAGER_H
5 #define DMLITE_CPP_POOLMANAGER_H
45 virtual
Pool getPool(const std::
string& poolname) throw (DmException);
48 virtual
void newPool(const
Pool& pool) throw (DmException);
95 #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
Plug-ins must implement a concrete factory to be instantiated.
Definition: poolmanager.h:76
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
CatalogInterface can only be instantiated through this class.
Definition: dmlite.h:42
Interface for pool types.
Definition: poolmanager.h:33
bool operator==(const Pool &) const
virtual std::vector< Pool > getPools(PoolAvailability availability=kAny)
Exceptions used by the API.
bool operator>(const Pool &) const
Helpful typedef for KeyValue containers.
Definition: extensible.h:20
bool operator!=(const Pool &) const
Base class for factories.
Definition: base.h:48
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
bool operator<(const Pool &) const
virtual Pool getPool(const std::string &poolname)
Get a specific pool.