4 #ifndef DMLITE_CPP_POOLMANAGER_H
5 #define DMLITE_CPP_POOLMANAGER_H
90 virtual void getDirSpaces(
const std::string& path, int64_t &totalfree, int64_t &used) ;
127 #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
C wrapper for DMLite Pool API.
Plug-ins must implement a concrete factory to be instantiated.
Definition: poolmanager.h:108
PoolAvailability
Definition: poolmanager.h:42
Definition: poolmanager.h:42
Header generated by CMake with the build configuration used.
Represent the complete location of a file.
Definition: pooldriver.h:49
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)
CatalogInterface can only be instantiated through this class.
Definition: dmlite.h:42
Interface for pool types.
Definition: poolmanager.h:40
bool operator==(const Pool &) const
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:34
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
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:42
virtual void deletePool(const Pool &pool)
Remove a pool.
virtual Location whereToWrite(const std::string &path)
Definition: poolmanager.h:42
Definition: poolmanager.h:42
virtual void cancelWrite(const Location &loc)
virtual Location chooseServer(const std::string &path)
Definition: poolmanager.h:42
int64_t xferred
Definition: poolmanager.h:35
bool operator<(const Pool &) const
virtual Pool getPool(const std::string &poolname)
Get a specific pool.