Public Member Functions |
virtual | ~PoolHandler () |
| Destructor.
|
virtual std::string | getPoolType (void) throw (DmException) |
| Get the pool type of this pool.
|
virtual std::string | getPoolName (void) throw (DmException) |
| Get the pool name of this pool.
|
virtual uint64_t | getTotalSpace (void) throw (DmException) |
| Get the total space of this pool.
|
virtual uint64_t | getFreeSpace (void) throw (DmException) |
| Get the free space of this pool.
|
virtual bool | poolIsAvailable (bool write=true) throw (DmException) |
| Check if the pool is actually available.
|
virtual bool | replicaIsAvailable (const Replica &replica) throw (DmException) |
| Check if a replica is available.
|
virtual Location | whereToRead (const Replica &replica) throw (DmException) |
| Get the actual location of the file replica. This is pool-specific.
|
virtual void | removeReplica (const Replica &replica) throw (DmException) |
| Remove a replica from the pool.
|
virtual Location | whereToWrite (const std::string &path) throw (DmException) |
| Get where to put a file.
|
virtual void | cancelWrite (const Location &loc) throw (DmException) |
| Cancel a write.
|
Handler for a pool. Works similary to a file handler.