#include <DiskDaemonDiskIOModule.h>

Inheritance diagram for DiskDaemonDiskIOModule:
Collaboration diagram for DiskDaemonDiskIOModule:

Public Types

typedef std::vector
< DiskIOModule * >::iterator 
iterator
 
typedef std::vector
< DiskIOModule * >
::const_iterator 
const_iterator
 

Public Member Functions

 DiskDaemonDiskIOModule ()
 
virtual void init ()
 
virtual void gracefulShutdown ()
 
virtual char const * type () const
 
virtual DiskIOStrategycreateStrategy ()
 

Static Public Member Functions

static DiskDaemonDiskIOModuleGetInstance ()
 
static void SetupAllModules ()
 
static void ModuleAdd (DiskIOModule &)
 
static void FreeAllModules ()
 
static DiskIOModuleFind (char const *type)
 
static DiskIOModuleFindDefault ()
 
static std::vector
< DiskIOModule * > const & 
Modules ()
 

Static Protected Member Functions

static void RegisterAllModulesWithCacheManager (void)
 

Private Member Functions

void registerWithCacheManager (void)
 

Private Attributes

bool initialised
 

Static Private Attributes

static DiskDaemonDiskIOModule Instance
 

Detailed Description

Definition at line 14 of file DiskDaemonDiskIOModule.h.

Member Typedef Documentation

Definition at line 37 of file DiskIOModule.h.

Definition at line 36 of file DiskIOModule.h.

Constructor & Destructor Documentation

DiskDaemonDiskIOModule::DiskDaemonDiskIOModule ( )

Definition at line 16 of file DiskDaemonDiskIOModule.cc.

References DiskIOModule::ModuleAdd().

Member Function Documentation

DiskIOStrategy * DiskDaemonDiskIOModule::createStrategy ( )
virtual

Implements DiskIOModule.

Definition at line 65 of file DiskDaemonDiskIOModule.cc.

DiskIOModule * DiskIOModule::FindDefault ( )
staticinherited

Find any usable disk module. This will look for the 'best' available module for this system.

Best IO options are in order:

Definition at line 124 of file DiskIOModule.cc.

References DiskIOModule::Find(), and NULL.

Referenced by testDiskIO::testFindDefault().

void DiskIOModule::FreeAllModules ( )
staticinherited

Called when a graceful shutdown is to occur of each fs module.

Definition at line 104 of file DiskIOModule.cc.

References DiskIOModule::GetModules(), and DiskIOModule::gracefulShutdown().

Referenced by SquidShutdown().

DiskDaemonDiskIOModule & DiskDaemonDiskIOModule::GetInstance ( )
static

Definition at line 22 of file DiskDaemonDiskIOModule.cc.

References Instance.

Referenced by DiskIOModule::SetupAllModules().

void DiskDaemonDiskIOModule::gracefulShutdown ( )
virtual

Implements DiskIOModule.

Definition at line 59 of file DiskDaemonDiskIOModule.cc.

References initialised.

void DiskDaemonDiskIOModule::init ( )
virtual
std::vector< DiskIOModule * > const & DiskIOModule::Modules ( )
staticinherited

Definition at line 85 of file DiskIOModule.cc.

References DiskIOModule::GetModules().

static void DiskIOModule::RegisterAllModulesWithCacheManager ( void  )
staticprotectedinherited
void DiskDaemonDiskIOModule::registerWithCacheManager ( void  )
private

Definition at line 53 of file DiskDaemonDiskIOModule.cc.

References DiskdAction::Create(), and Mgr::RegisterAction().

Referenced by init().

void DiskIOModule::SetupAllModules ( )
staticinherited
char const * DiskDaemonDiskIOModule::type ( ) const
virtual

Implements DiskIOModule.

Definition at line 73 of file DiskDaemonDiskIOModule.cc.

Member Data Documentation

bool DiskDaemonDiskIOModule::initialised
private

Definition at line 27 of file DiskDaemonDiskIOModule.h.

Referenced by gracefulShutdown(), and init().

DiskDaemonDiskIOModule DiskDaemonDiskIOModule::Instance
staticprivate

Definition at line 26 of file DiskDaemonDiskIOModule.h.

Referenced by GetInstance().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors