#include <StoreFileSystem.h>

Inheritance diagram for StoreFileSystem:
Collaboration diagram for StoreFileSystem:

Public Types

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

Public Member Functions

 StoreFileSystem ()
 
virtual ~StoreFileSystem ()
 
virtual const char * type () const =0
 
virtual SwapDircreateSwapDir ()=0
 
virtual void done ()=0
 
virtual void setup ()=0
 
 StoreFileSystem (StoreFileSystem const &)
 
StoreFileSystemoperator= (StoreFileSystem const &)
 

Static Public Member Functions

static void SetupAllFs ()
 
static void FsAdd (StoreFileSystem &)
 
static void FreeAllFs ()
 
static StoreFileSystemFindByType (const char *type)
 
static const std::vector< StoreFileSystem * > & FileSystems ()
 

Protected Member Functions

virtual void registerWithCacheManager (void)
 

Protected Attributes

bool initialised
 

Static Private Member Functions

static std::vector< StoreFileSystem * > & GetFileSystems ()
 
static void RegisterAllFsWithCacheManager (void)
 

Static Private Attributes

static std::vector< StoreFileSystem * > * _FileSystems = NULL
 

Detailed Description

The core API for storage modules this class provides all the hooks squid uses to interact with a filesystem IO module.

Definition at line 89 of file StoreFileSystem.h.

Member Typedef Documentation

◆ const_iterator

◆ iterator

Constructor & Destructor Documentation

◆ StoreFileSystem() [1/2]

StoreFileSystem::StoreFileSystem ( )
inline

Definition at line 100 of file StoreFileSystem.h.

◆ ~StoreFileSystem()

virtual StoreFileSystem::~StoreFileSystem ( )
inlinevirtual

Reimplemented in Rock::StoreFileSystem.

Definition at line 102 of file StoreFileSystem.h.

◆ StoreFileSystem() [2/2]

StoreFileSystem::StoreFileSystem ( StoreFileSystem const &  )

Member Function Documentation

◆ createSwapDir()

virtual SwapDir* StoreFileSystem::createSwapDir ( )
pure virtual

◆ done()

virtual void StoreFileSystem::done ( )
pure virtual

◆ FileSystems()

const std::vector< StoreFileSystem * > & StoreFileSystem::FileSystems ( )
static

Definition at line 45 of file StoreFileSystem.cc.

References GetFileSystems().

Referenced by FindByType().

◆ FindByType()

StoreFileSystem * StoreFileSystem::FindByType ( const char *  type)
static

Definition at line 74 of file StoreFileSystem.cc.

References FileSystems(), and type().

Referenced by Store::Disks::Parse().

◆ FreeAllFs()

void StoreFileSystem::FreeAllFs ( )
static

Definition at line 64 of file StoreFileSystem.cc.

References done(), and GetFileSystems().

Referenced by SquidShutdown().

◆ FsAdd()

void StoreFileSystem::FsAdd ( StoreFileSystem instance)
static

◆ GetFileSystems()

std::vector< StoreFileSystem * > & StoreFileSystem::GetFileSystems ( )
staticprivate

Definition at line 51 of file StoreFileSystem.cc.

References _FileSystems.

Referenced by FileSystems(), FreeAllFs(), FsAdd(), RegisterAllFsWithCacheManager(), and SetupAllFs().

◆ operator=()

StoreFileSystem& StoreFileSystem::operator= ( StoreFileSystem const &  )

◆ RegisterAllFsWithCacheManager()

void StoreFileSystem::RegisterAllFsWithCacheManager ( void  )
staticprivate

Definition at line 17 of file StoreFileSystem.cc.

References GetFileSystems().

◆ registerWithCacheManager()

void StoreFileSystem::registerWithCacheManager ( void  )
protectedvirtual

Reimplemented in Rock::StoreFileSystem.

Definition at line 85 of file StoreFileSystem.cc.

◆ setup()

virtual void StoreFileSystem::setup ( )
pure virtual

◆ SetupAllFs()

void StoreFileSystem::SetupAllFs ( )
static

Definition at line 24 of file StoreFileSystem.cc.

References GetFileSystems().

Referenced by testRock::commonInit(), and SquidMain().

◆ type()

virtual const char* StoreFileSystem::type ( ) const
pure virtual

Member Data Documentation

◆ _FileSystems

std::vector< StoreFileSystem * > * StoreFileSystem::_FileSystems = NULL
staticprivate

Definition at line 118 of file StoreFileSystem.h.

Referenced by GetFileSystems().

◆ initialised

bool StoreFileSystem::initialised
protected

Definition at line 113 of file StoreFileSystem.h.


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors