dmlite
0.6
|
#include <DummyPool.h>
Public Member Functions | |
DummyPoolManager (PoolManager *decorated) throw (DmException) | |
virtual | ~DummyPoolManager () |
virtual void | setStackInstance (StackInstance *) throw (DmException) |
virtual void | setSecurityContext (const SecurityContext *) throw (DmException) |
Set the security context. More... | |
virtual std::vector< Pool > | getPools (PoolAvailability availability) throw (DmException) |
virtual Pool | getPool (const std::string &poolname) throw (DmException) |
Get a specific pool. More... | |
virtual void | newPool (const Pool &pool) throw (DmException) |
Create a new pool. More... | |
virtual void | updatePool (const Pool &pool) throw (DmException) |
Update pool metadata. More... | |
virtual void | deletePool (const Pool &pool) throw (DmException) |
Remove a pool. More... | |
virtual Location | whereToRead (ino_t inode) throw (DmException) |
virtual Location | whereToRead (const std::string &path) throw (DmException) |
virtual Location | whereToWrite (const std::string &path) throw (DmException) |
![]() | |
virtual | ~PoolManager () |
Destructor. More... | |
virtual void | cancelWrite (const Location &loc) throw (DmException) |
![]() | |
virtual | ~BaseInterface () |
Virtual destructor. More... | |
virtual std::string | getImplId (void) const =0 throw () |
String ID of the implementation. More... | |
Protected Attributes | |
PoolManager * | decorated_ |
Additional Inherited Members | |
![]() | |
enum | PoolAvailability { kAny, kNone, kForRead, kForWrite, kForBoth } |
![]() | |
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) |
dmlite::DummyPoolManager::DummyPoolManager | ( | PoolManager * | decorated | ) | |
throw | ( | DmException | |||
) |
|
virtual |
|
virtual |
Remove a pool.
Reimplemented from dmlite::PoolManager.
|
virtual |
Get a specific pool.
Reimplemented from dmlite::PoolManager.
|
virtual |
Get the list of pools.
availability | Filter by availability. |
Reimplemented from dmlite::PoolManager.
|
virtual |
Create a new pool.
Reimplemented from dmlite::PoolManager.
|
virtual |
Set the security context.
Reimplemented from dmlite::BaseInterface.
|
virtual |
Set the StackInstance. Some plugins may need to access other stacks (i.e. the pool may need the catalog) However, at construction time not all the stacks have been populated, so this will be called once all are instantiated.
Reimplemented from dmlite::BaseInterface.
|
virtual |
Update pool metadata.
Reimplemented from dmlite::PoolManager.
|
virtual |
|
virtual |
Get a location for a logical name.
path | The path to get. |
Reimplemented from dmlite::PoolManager.
|
virtual |
Start the PUT of a file.
path | The path of the file to create. |
Reimplemented from dmlite::PoolManager.
|
protected |