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