dmlite::DummyPoolManager Class Reference

#include <DummyPool.h>

Inherits dmlite::PoolManager.

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

List of all members.

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.
virtual std::vector< PoolgetPools (PoolAvailability availability) throw (DmException)
virtual Pool getPool (const std::string &poolname) throw (DmException)
 Get a specific pool.
virtual void newPool (const Pool &pool) throw (DmException)
 Create a new pool.
virtual void updatePool (const Pool &pool) throw (DmException)
 Update pool metadata.
virtual void deletePool (const Pool &pool) throw (DmException)
 Remove a pool.
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)

Protected Attributes

PoolManagerdecorated_

Constructor & Destructor Documentation

dmlite::DummyPoolManager::DummyPoolManager ( PoolManager decorated  )  throw (DmException)
virtual dmlite::DummyPoolManager::~DummyPoolManager (  )  [virtual]

Member Function Documentation

virtual void dmlite::DummyPoolManager::deletePool ( const Pool pool  )  throw (DmException) [virtual]

Remove a pool.

Reimplemented from dmlite::PoolManager.

virtual Pool dmlite::DummyPoolManager::getPool ( const std::string &  poolname  )  throw (DmException) [virtual]

Get a specific pool.

Reimplemented from dmlite::PoolManager.

virtual std::vector<Pool> dmlite::DummyPoolManager::getPools ( PoolAvailability  availability  )  throw (DmException) [virtual]

Get the list of pools.

Parameters:
availability Filter by availability.

Reimplemented from dmlite::PoolManager.

virtual void dmlite::DummyPoolManager::newPool ( const Pool pool  )  throw (DmException) [virtual]

Create a new pool.

Reimplemented from dmlite::PoolManager.

virtual void dmlite::DummyPoolManager::setSecurityContext ( const SecurityContext ctx  )  throw (DmException) [virtual]

Set the security context.

Reimplemented from dmlite::BaseInterface.

virtual void dmlite::DummyPoolManager::setStackInstance ( StackInstance si  )  throw (DmException) [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 void dmlite::DummyPoolManager::updatePool ( const Pool pool  )  throw (DmException) [virtual]

Update pool metadata.

Reimplemented from dmlite::PoolManager.

virtual Location dmlite::DummyPoolManager::whereToRead ( const std::string &  path  )  throw (DmException) [virtual]

Get a location for a logical name.

Parameters:
path The path to get.

Reimplemented from dmlite::PoolManager.

virtual Location dmlite::DummyPoolManager::whereToRead ( ino_t  inode  )  throw (DmException) [virtual]

Get a location for an inode

Parameters:
inode The file inode.

Reimplemented from dmlite::PoolManager.

virtual Location dmlite::DummyPoolManager::whereToWrite ( const std::string &  path  )  throw (DmException) [virtual]

Start the PUT of a file.

Parameters:
path The path of the file to create.
Returns:
The physical location where to write.

Reimplemented from dmlite::PoolManager.


Member Data Documentation


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

Generated on 4 May 2016 for dmlite by  doxygen 1.6.1