#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 char const * 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 std::vector< StoreFileSystem * > const & 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 99 of file StoreFileSystem.h.

Referenced by ~StoreFileSystem().

◆ ~StoreFileSystem()

virtual StoreFileSystem::~StoreFileSystem ( )
inlinevirtual

Reimplemented in Rock::StoreFileSystem.

Definition at line 101 of file StoreFileSystem.h.

References createSwapDir(), done(), operator=(), setup(), StoreFileSystem(), and type().

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

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

Definition at line 45 of file StoreFileSystem.cc.

References GetFileSystems().

Referenced by find_fstype(), and parse_cachedir().

◆ 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 &  )

Referenced by ~StoreFileSystem().

◆ RegisterAllFsWithCacheManager()

void StoreFileSystem::RegisterAllFsWithCacheManager ( void  )
staticprivate

Definition at line 17 of file StoreFileSystem.cc.

References GetFileSystems(), and i.

◆ registerWithCacheManager()

void StoreFileSystem::registerWithCacheManager ( void  )
protectedvirtual

Reimplemented in Rock::StoreFileSystem.

Definition at line 75 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(), and i.

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

◆ type()

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

Member Data Documentation

◆ _FileSystems

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

Definition at line 117 of file StoreFileSystem.h.

Referenced by GetFileSystems().

◆ initialised

bool StoreFileSystem::initialised
protected

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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors