#include <BlockingDiskIOModule.h>

Inheritance diagram for BlockingDiskIOModule:
Collaboration diagram for BlockingDiskIOModule:

Public Types

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

Public Member Functions

 BlockingDiskIOModule ()
 
void init () override
 
void gracefulShutdown () override
 
char const * type () const override
 
DiskIOStrategycreateStrategy () override
 

Static Public Member Functions

static BlockingDiskIOModuleGetInstance ()
 
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 Member Functions

static std::vector< DiskIOModule * > & GetModules ()
 

Static Private Attributes

static BlockingDiskIOModule Instance
 
static std::vector< DiskIOModule * > * _Modules = nullptr
 

Detailed Description

Definition at line 14 of file BlockingDiskIOModule.h.

Member Typedef Documentation

◆ const_iterator

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

Definition at line 37 of file DiskIOModule.h.

◆ iterator

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

Definition at line 36 of file DiskIOModule.h.

Constructor & Destructor Documentation

◆ BlockingDiskIOModule()

BlockingDiskIOModule::BlockingDiskIOModule ( )

Definition at line 13 of file BlockingDiskIOModule.cc.

References DiskIOModule::ModuleAdd().

Member Function Documentation

◆ createStrategy()

DiskIOStrategy * BlockingDiskIOModule::createStrategy ( )
overridevirtual

Implements DiskIOModule.

Definition at line 33 of file BlockingDiskIOModule.cc.

◆ Find()

◆ FindDefault()

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().

Referenced by TestDiskIO::testFindDefault().

◆ FreeAllModules()

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().

◆ GetInstance()

BlockingDiskIOModule & BlockingDiskIOModule::GetInstance ( )
static

Definition at line 19 of file BlockingDiskIOModule.cc.

References Instance.

Referenced by DiskIOModule::SetupAllModules().

◆ GetModules()

std::vector< DiskIOModule * > & DiskIOModule::GetModules ( )
staticprivateinherited

◆ gracefulShutdown()

void BlockingDiskIOModule::gracefulShutdown ( )
overridevirtual

Implements DiskIOModule.

Definition at line 29 of file BlockingDiskIOModule.cc.

◆ init()

void BlockingDiskIOModule::init ( )
overridevirtual

Implements DiskIOModule.

Definition at line 25 of file BlockingDiskIOModule.cc.

◆ ModuleAdd()

◆ Modules()

std::vector< DiskIOModule * > const & DiskIOModule::Modules ( )
staticinherited

Definition at line 85 of file DiskIOModule.cc.

References DiskIOModule::GetModules().

◆ RegisterAllModulesWithCacheManager()

static void DiskIOModule::RegisterAllModulesWithCacheManager ( void  )
staticprotectedinherited

◆ SetupAllModules()

void DiskIOModule::SetupAllModules ( )
staticinherited

◆ type()

char const * BlockingDiskIOModule::type ( ) const
overridevirtual

Implements DiskIOModule.

Definition at line 41 of file BlockingDiskIOModule.cc.

Member Data Documentation

◆ _Modules

std::vector< DiskIOModule * > * DiskIOModule::_Modules = nullptr
staticprivateinherited

Definition at line 57 of file DiskIOModule.h.

Referenced by DiskIOModule::GetModules().

◆ Instance

BlockingDiskIOModule BlockingDiskIOModule::Instance
staticprivate

Definition at line 26 of file BlockingDiskIOModule.h.

Referenced by GetInstance().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors