#include <StoreFSufs.h>


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 SwapDir * | createSwapDir () |
virtual void | done () |
virtual void | setup () |
StoreFSufs (StoreFSufs const &) | |
StoreFSufs & | operator= (StoreFSufs const &) |
Static Public Member Functions | |
static StoreFileSystem & | GetInstance () |
static void | SetupAllFs () |
static void | FsAdd (StoreFileSystem &) |
static void | FreeAllFs () |
static StoreFileSystem * | FindByType (const char *type) |
static std::vector< StoreFileSystem * > const & | FileSystems () |
Protected Member Functions | |
virtual void | registerWithCacheManager (void) |
Protected Attributes | |
DiskIOModule * | IO |
char const * | moduleName |
char const * | label |
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
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
◆ const_iterator
|
inherited |
Definition at line 99 of file StoreFileSystem.h.
◆ iterator
|
inherited |
Definition at line 98 of file StoreFileSystem.h.
Constructor & Destructor Documentation
◆ StoreFSufs() [1/2]
Fs::Ufs::StoreFSufs< C >::StoreFSufs | ( | char const * | DefaultModuleType, |
char const * | label | ||
) |
Definition at line 56 of file StoreFSufs.h.
References StoreFileSystem::FsAdd().
◆ ~StoreFSufs()
|
inlinevirtual |
Definition at line 39 of file StoreFSufs.h.
◆ StoreFSufs() [2/2]
Fs::Ufs::StoreFSufs< TheSwapDir >::StoreFSufs | ( | StoreFSufs< TheSwapDir > const & | ) |
Not implemented
Member Function Documentation
◆ createSwapDir()
|
virtual |
◆ done()
|
virtual |
Implements StoreFileSystem.
Definition at line 78 of file StoreFSufs.h.
◆ FileSystems()
|
staticinherited |
Definition at line 45 of file StoreFileSystem.cc.
References StoreFileSystem::GetFileSystems().
Referenced by StoreFileSystem::FindByType().
◆ FindByType()
|
staticinherited |
Definition at line 74 of file StoreFileSystem.cc.
References StoreFileSystem::FileSystems(), and StoreFileSystem::type().
Referenced by Store::Disks::Parse().
◆ FreeAllFs()
|
staticinherited |
Definition at line 64 of file StoreFileSystem.cc.
References StoreFileSystem::done(), and StoreFileSystem::GetFileSystems().
Referenced by SquidShutdown().
◆ FsAdd()
|
staticinherited |
Definition at line 32 of file StoreFileSystem.cc.
References assert, StoreFileSystem::GetFileSystems(), and instance.
Referenced by Rock::StoreFileSystem::StoreFileSystem(), and Fs::Ufs::StoreFSufs< TheSwapDir >::StoreFSufs().
◆ GetFileSystems()
|
staticprivateinherited |
Definition at line 51 of file StoreFileSystem.cc.
References StoreFileSystem::_FileSystems.
Referenced by StoreFileSystem::FileSystems(), StoreFileSystem::FreeAllFs(), StoreFileSystem::FsAdd(), StoreFileSystem::RegisterAllFsWithCacheManager(), and StoreFileSystem::SetupAllFs().
◆ GetInstance()
|
static |
◆ operator=()
StoreFSufs& Fs::Ufs::StoreFSufs< TheSwapDir >::operator= | ( | StoreFSufs< TheSwapDir > const & | ) |
◆ RegisterAllFsWithCacheManager()
|
staticprivateinherited |
Definition at line 17 of file StoreFileSystem.cc.
References StoreFileSystem::GetFileSystems().
◆ registerWithCacheManager()
|
protectedvirtualinherited |
Reimplemented in Rock::StoreFileSystem.
Definition at line 85 of file StoreFileSystem.cc.
◆ setup()
|
virtual |
◆ SetupAllFs()
|
staticinherited |
Definition at line 24 of file StoreFileSystem.cc.
References StoreFileSystem::GetFileSystems().
Referenced by testRock::commonInit(), and SquidMain().
◆ type()
|
virtual |
Implements StoreFileSystem.
Definition at line 63 of file StoreFSufs.h.
Member Data Documentation
◆ _FileSystems
|
staticprivateinherited |
Definition at line 118 of file StoreFileSystem.h.
Referenced by StoreFileSystem::GetFileSystems().
◆ initialised
|
protectedinherited |
Definition at line 113 of file StoreFileSystem.h.
◆ IO
|
protected |
Definition at line 50 of file StoreFSufs.h.
◆ label
|
protected |
Definition at line 52 of file StoreFSufs.h.
◆ moduleName
|
protected |
Definition at line 51 of file StoreFSufs.h.
The documentation for this class was generated from the following file:
- src/fs/ufs/StoreFSufs.h