Handler for a pool. Works similary to a file handler.
More...
#include <pooldriver.h>
Handler for a pool. Works similary to a file handler.
◆ ~PoolHandler()
virtual dmlite::PoolHandler::~PoolHandler |
( |
| ) |
|
|
virtual |
◆ cancelWrite()
virtual void dmlite::PoolHandler::cancelWrite |
( |
const Location & |
loc | ) |
|
|
virtual |
◆ getFreeSpace()
virtual uint64_t dmlite::PoolHandler::getFreeSpace |
( |
void |
| ) |
|
|
virtual |
Get the free space of this pool.
◆ getPoolName()
virtual std::string dmlite::PoolHandler::getPoolName |
( |
void |
| ) |
|
|
virtual |
Get the pool name of this pool.
◆ getPoolType()
virtual std::string dmlite::PoolHandler::getPoolType |
( |
void |
| ) |
|
|
virtual |
Get the pool type of this pool.
◆ getTotalSpace()
virtual uint64_t dmlite::PoolHandler::getTotalSpace |
( |
void |
| ) |
|
|
virtual |
Get the total space of this pool.
◆ poolIsAvailable()
virtual bool dmlite::PoolHandler::poolIsAvailable |
( |
bool |
write = true | ) |
|
|
virtual |
Check if the pool is actually available.
◆ removeReplica()
virtual void dmlite::PoolHandler::removeReplica |
( |
const Replica & |
replica | ) |
|
|
virtual |
Remove a replica from the pool.
◆ replicaIsAvailable()
virtual bool dmlite::PoolHandler::replicaIsAvailable |
( |
const Replica & |
replica | ) |
|
|
virtual |
Check if a replica is available.
◆ whereToRead()
virtual Location dmlite::PoolHandler::whereToRead |
( |
const Replica & |
replica | ) |
|
|
virtual |
Get the actual location of the file replica. This is pool-specific.
◆ whereToWrite()
virtual Location dmlite::PoolHandler::whereToWrite |
( |
const std::string & |
path | ) |
|
|
virtual |
The documentation for this class was generated from the following file: