#include <IpcIoDiskIOModule.h>

Inheritance diagram for IpcIoDiskIOModule:
Collaboration diagram for IpcIoDiskIOModule:

Public Types

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

Public Member Functions

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

Static Public Member Functions

static IpcIoDiskIOModuleGetInstance ()
 
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)
 

Static Private Attributes

static IpcIoDiskIOModule Instance
 

Detailed Description

Definition at line 14 of file IpcIoDiskIOModule.h.

Member Typedef Documentation

Definition at line 37 of file DiskIOModule.h.

Definition at line 36 of file DiskIOModule.h.

Constructor & Destructor Documentation

IpcIoDiskIOModule::IpcIoDiskIOModule ( )

Definition at line 13 of file IpcIoDiskIOModule.cc.

References DiskIOModule::ModuleAdd().

Member Function Documentation

DiskIOStrategy * IpcIoDiskIOModule::createStrategy ( )
virtual

Implements DiskIOModule.

Definition at line 33 of file IpcIoDiskIOModule.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().

IpcIoDiskIOModule & IpcIoDiskIOModule::GetInstance ( )
static

Definition at line 19 of file IpcIoDiskIOModule.cc.

References Instance.

Referenced by DiskIOModule::SetupAllModules().

void IpcIoDiskIOModule::gracefulShutdown ( )
virtual

Implements DiskIOModule.

Definition at line 29 of file IpcIoDiskIOModule.cc.

void IpcIoDiskIOModule::init ( void  )
virtual

Implements DiskIOModule.

Definition at line 25 of file IpcIoDiskIOModule.cc.

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 DiskIOModule::SetupAllModules ( )
staticinherited
char const * IpcIoDiskIOModule::type ( ) const
virtual

Implements DiskIOModule.

Definition at line 41 of file IpcIoDiskIOModule.cc.

Member Data Documentation

IpcIoDiskIOModule IpcIoDiskIOModule::Instance
staticprivate

Definition at line 26 of file IpcIoDiskIOModule.h.

Referenced by GetInstance().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors