#include <StoreFSufs.h>

Inheritance diagram for Fs::Ufs::StoreFSufs< TheSwapDir >:
Collaboration diagram for Fs::Ufs::StoreFSufs< TheSwapDir >:

Public Types

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

Public Member Functions

 StoreFSufs (char const *DefaultModuleType, char const *label)
 
virtual ~StoreFSufs ()
 
virtual char const * type () const
 
virtual SwapDircreateSwapDir ()
 
virtual void done ()
 
virtual void setup ()
 
 StoreFSufs (StoreFSufs const &)
 
StoreFSufsoperator= (StoreFSufs const &)
 

Static Public Member Functions

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

DiskIOModuleIO
 
char const * moduleName
 
char const * label
 
bool initialised
 

Detailed Description

template<class TheSwapDir>
class Fs::Ufs::StoreFSufs< TheSwapDir >

,

Core UFS class. This template provides compile time aliases for ufs/aufs/diskd to ease configuration conversion - each becomes a StoreFS module whose createSwapDir method parameterises the common UFSSwapDir with an IO module instance.

Definition at line 34 of file StoreFSufs.h.

Member Typedef Documentation

Definition at line 97 of file StoreFileSystem.h.

Constructor & Destructor Documentation

template<class C >
Fs::Ufs::StoreFSufs< C >::StoreFSufs ( char const *  DefaultModuleType,
char const *  label 
)

Definition at line 56 of file StoreFSufs.h.

References StoreFileSystem::FsAdd().

template<class TheSwapDir>
virtual Fs::Ufs::StoreFSufs< TheSwapDir >::~StoreFSufs ( )
inlinevirtual

Definition at line 39 of file StoreFSufs.h.

template<class TheSwapDir>
Fs::Ufs::StoreFSufs< TheSwapDir >::StoreFSufs ( StoreFSufs< TheSwapDir > const &  )

Not implemented

Member Function Documentation

template<class C >
SwapDir * Fs::Ufs::StoreFSufs< C >::createSwapDir ( )
virtual

Implements StoreFileSystem.

Definition at line 70 of file StoreFSufs.h.

References C, and type.

template<class C >
void Fs::Ufs::StoreFSufs< C >::done ( void  )
virtual

Implements StoreFileSystem.

Definition at line 78 of file StoreFSufs.h.

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

Definition at line 45 of file StoreFileSystem.cc.

References StoreFileSystem::GetFileSystems().

Referenced by find_fstype(), and parse_cachedir().

void StoreFileSystem::FreeAllFs ( )
staticinherited

Definition at line 64 of file StoreFileSystem.cc.

References StoreFileSystem::done(), and StoreFileSystem::GetFileSystems().

Referenced by SquidShutdown().

void StoreFileSystem::FsAdd ( StoreFileSystem instance)
staticinherited
template<class TheSwapDir>
static StoreFileSystem& Fs::Ufs::StoreFSufs< TheSwapDir >::GetInstance ( )
static
template<class TheSwapDir>
StoreFSufs& Fs::Ufs::StoreFSufs< TheSwapDir >::operator= ( StoreFSufs< TheSwapDir > const &  )
void StoreFileSystem::registerWithCacheManager ( void  )
protectedvirtualinherited

Reimplemented in Rock::StoreFileSystem.

Definition at line 75 of file StoreFileSystem.cc.

template<class C >
void Fs::Ufs::StoreFSufs< C >::setup ( )
virtual

Implements StoreFileSystem.

Definition at line 85 of file StoreFSufs.h.

References assert.

void StoreFileSystem::SetupAllFs ( )
staticinherited

Definition at line 24 of file StoreFileSystem.cc.

References StoreFileSystem::GetFileSystems(), and i.

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

template<class C >
char const * Fs::Ufs::StoreFSufs< C >::type ( ) const
virtual

Implements StoreFileSystem.

Definition at line 63 of file StoreFSufs.h.

Member Data Documentation

bool StoreFileSystem::initialised
protectedinherited

Definition at line 112 of file StoreFileSystem.h.

template<class TheSwapDir>
DiskIOModule* Fs::Ufs::StoreFSufs< TheSwapDir >::IO
protected

Definition at line 50 of file StoreFSufs.h.

template<class TheSwapDir>
char const* Fs::Ufs::StoreFSufs< TheSwapDir >::label
protected

Definition at line 52 of file StoreFSufs.h.

template<class TheSwapDir>
char const* Fs::Ufs::StoreFSufs< TheSwapDir >::moduleName
protected

Definition at line 51 of file StoreFSufs.h.


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors