4 #ifndef DMLITE_CPP_POOLMANAGER_H 5 #define DMLITE_CPP_POOLMANAGER_H 7 #include "dmlite/common/config.h" 91 virtual void getDirSpaces(
const std::string& path, int64_t &totalfree, int64_t &used) ;
128 #endif // DMLITE_CPP_POOLMANAGER_H virtual Location whereToRead(const std::string &path)
std::string name
Definition: poolmanager.h:24
virtual void newPool(const Pool &pool)
Create a new pool.
bool operator<(const Pool &) const
Base class for interfaces.
Definition: base.h:18
Represent the complete location of a file.
Definition: pooldriver.h:50
C wrapper for DMLite Pool API.
Plug-ins must implement a concrete factory to be instantiated.
Definition: poolmanager.h:109
PoolAvailability
Definition: poolmanager.h:43
Definition: poolmanager.h:43
virtual DmStatus fileCopyPull(const std::string &localdestpath, const std::string &remotesrcurl, int cksumcheck, char *cksumtype, dmlite_xferinfo *progressdata)
static PoolManager * createPoolManager(PoolManagerFactory *factory, PluginManager *pm)
Children of PoolManagerFactory are allowed to instantiate too (decorator)
std::string type
Definition: poolmanager.h:25
CatalogInterface can only be instantiated through this class.
Definition: dmlite.h:42
Interface for pool types.
Definition: poolmanager.h:41
virtual std::vector< Pool > getPools(PoolAvailability availability=kAny)
struct dmlite::xferprogmarker xferprogmarker
Progress markers for file copies. FTS jargon calls these "FTS performance markers" beware...
virtual DmStatus fileCopyPush(const std::string &localsrcpath, const std::string &remotedesturl, int cksumcheck, char *cksumtype, dmlite_xferinfo *progressdata)
Progress markers for file copies. FTS jargon calls these "FTS performance markers".
Definition: pool.h:73
Progress markers for file copies. FTS jargon calls these "FTS performance markers" beware...
Definition: poolmanager.h:35
virtual ~PoolManagerFactory()
Virtual destructor.
virtual void getDirSpaces(const std::string &path, int64_t &totalfree, int64_t &used)
Exceptions used by the API.
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.
Extensible types (hold metadata).
Helpful typedef for KeyValue containers.
Definition: extensible.h:20
Definition: poolmanager.h:43
Internal interface for handling pool metadata.
Definition: poolmanager.h:22
bool operator==(const Pool &) const
virtual void deletePool(const Pool &pool)
Remove a pool.
virtual Location whereToWrite(const std::string &path)
Definition: poolmanager.h:43
Definition: poolmanager.h:43
virtual void cancelWrite(const Location &loc)
virtual Location chooseServer(const std::string &path)
Definition: poolmanager.h:43
bool operator!=(const Pool &) const
int64_t xferred
Definition: poolmanager.h:36
Namespace for the dmlite C++ API.
Definition: authn.h:16
virtual Pool getPool(const std::string &poolname)
Get a specific pool.