Public Member Functions | Static Public Member Functions

VDRIVE::DistFastRedundantShare Class Reference

#include <DistFastRedundantShare.h>

Inheritance diagram for VDRIVE::DistFastRedundantShare:
Inheritance graph
[legend]
Collaboration diagram for VDRIVE::DistFastRedundantShare:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 DistFastRedundantShare (int argc, char **argv)
 DistFastRedundantShare (xercesc::DOMElement *data)
 DistFastRedundantShare (const DistFastRedundantShare &orig)
virtual ~DistFastRedundantShare ()
virtual std::list< Disk * > * placeExtent (int64_t virtualVolumeId, int64_t position)
virtual void setConfiguration (std::list< Disk * > *disks, int64_t extentsize, int32_t copies)
virtual void setDisks (std::list< Disk * > *disks)
virtual xercesc::DOMElement * toXML (xercesc::DOMDocument *doc) const
virtual std::list< Disk * > * getDisks () const
virtual int64_t getExtentsize () const
virtual int32_t getCopies () const
virtual void setBaseMessage (uint8_t *baseMessage)

Static Public Member Functions

static std::string getXMLRootType ()

Detailed Description

O(k) implementation of RedundantShare. Consumes much memory.

Author:
Sascha Effert <fermat@uni-paderborn.de>

Constructor & Destructor Documentation

DistFastRedundantShare::DistFastRedundantShare ( int  argc,
char **  argv 
)

constructor building an uninitialized Implementation.

DistFastRedundantShare::DistFastRedundantShare ( xercesc::DOMElement *  data )
DistFastRedundantShare::DistFastRedundantShare ( const DistFastRedundantShare orig )
DistFastRedundantShare::~DistFastRedundantShare (  ) [virtual]

Member Function Documentation

virtual int32_t VDRIVE::DistFastRedundantShare::getCopies (  ) const [inline, virtual]
std::list< Disk * > * DistFastRedundantShare::getDisks (  ) const [virtual]
virtual int64_t VDRIVE::DistFastRedundantShare::getExtentsize (  ) const [inline, virtual]
static std::string VDRIVE::DistFastRedundantShare::getXMLRootType (  ) [inline, static]

Get the Root-Type of XML-Elements representing this class.

Returns:
the Root-Type of XML-Elements representing this class.
std::list< Disk * > * DistFastRedundantShare::placeExtent ( int64_t  virtualVolumeId,
int64_t  position 
) [virtual]
void DistFastRedundantShare::setBaseMessage ( uint8_t *  baseMessage ) [virtual]
See also:
Distributor::setBaseMessage

Overridden, so changing the baseMessage here also changes the baseMessage in the underlying Share implementations.

Reimplemented from VDRIVE::Distributor.

void DistFastRedundantShare::setConfiguration ( std::list< Disk * > *  disks,
int64_t  extentsize,
int32_t  copies 
) [virtual]
void DistFastRedundantShare::setDisks ( std::list< Disk * > *  disks ) [virtual]
xercesc::DOMElement * DistFastRedundantShare::toXML ( xercesc::DOMDocument *  doc ) const [virtual]

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