dmlite
0.6
|
Interface for a pool driver. More...
#include <pooldriver.h>
Public Member Functions | |
virtual | ~PoolDriver () |
Destructor. More... | |
virtual PoolHandler * | createPoolHandler (const std::string &poolName) throw (DmException) |
Create a handler. More... | |
virtual void | toBeCreated (const Pool &pool) throw (DmException) |
virtual void | justCreated (const Pool &pool) throw (DmException) |
Called just after a pool is added to the database. More... | |
virtual void | update (const Pool &pool) throw (DmException) |
Called when updating a pool. More... | |
virtual void | toBeDeleted (const Pool &pool) throw (DmException) |
![]() | |
virtual | ~BaseInterface () |
Virtual destructor. More... | |
virtual std::string | getImplId (void) const =0 throw () |
String ID of the implementation. More... | |
Additional Inherited Members | |
![]() | |
virtual void | setStackInstance (StackInstance *si) throw (DmException) |
virtual void | setSecurityContext (const SecurityContext *ctx) throw (DmException) |
Set the security context. More... | |
![]() | |
static void | setStackInstance (BaseInterface *i, StackInstance *si) throw (DmException) |
These method allows plugins to call other plugins setStackInstance and setSecurityContext. More... | |
static void | setSecurityContext (BaseInterface *i, const SecurityContext *ctx) throw (DmException) |
Interface for a pool driver.
|
virtual |
Destructor.
|
virtual |
Create a handler.
|
virtual |
Called just after a pool is added to the database.
|
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 |
Called just before a pool of this type is removed.
|
virtual |
Called when updating a pool.