dmlite::PoolDriver Class Reference

Interface for a pool driver. More...

#include <pooldriver.h>

Inherits dmlite::BaseInterface.

Collaboration diagram for dmlite::PoolDriver:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual ~PoolDriver ()
 Destructor.
virtual PoolHandlercreatePoolHandler (const std::string &poolName)=0 throw (DmException)
 Create a handler.
virtual void toBeCreated (const Pool &pool)=0 throw (DmException)
virtual void justCreated (const Pool &pool)=0 throw (DmException)
 Called just after a pool is added to the database.
virtual void update (const Pool &pool)=0 throw (DmException)
 Called when updating a pool.
virtual void toBeDeleted (const Pool &pool)=0 throw (DmException)

Detailed Description

Interface for a pool driver.


Constructor & Destructor Documentation

PoolDriver::~PoolDriver (  )  [virtual]

Destructor.


Member Function Documentation

virtual PoolHandler* dmlite::PoolDriver::createPoolHandler ( const std::string &  poolName  )  throw (DmException) [pure virtual]

Create a handler.

virtual void dmlite::PoolDriver::justCreated ( const Pool pool  )  throw (DmException) [pure virtual]

Called just after a pool is added to the database.

virtual void dmlite::PoolDriver::toBeCreated ( const Pool pool  )  throw (DmException) [pure virtual]

Called just before adding the pool to the database. To be used by a plugin, in case it needs to do some previous preparations. (i.e. legacy filesystem will actually create the pool here)

virtual void dmlite::PoolDriver::toBeDeleted ( const Pool pool  )  throw (DmException) [pure virtual]

Called just before a pool of this type is removed.

Note:
The driver may remove the pool itself (i.e. filesystem)
virtual void dmlite::PoolDriver::update ( const Pool pool  )  throw (DmException) [pure virtual]

Called when updating a pool.


The documentation for this class was generated from the following files:

Generated on 6 Mar 2013 for dmlite by  doxygen 1.6.1