#include <StoreFileSystem.h>


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 SwapDir * | createSwapDir ()=0 |
virtual void | done ()=0 |
virtual void | setup ()=0 |
StoreFileSystem (StoreFileSystem const &) | |
StoreFileSystem & | operator= (StoreFileSystem const &) |
Static Public Member Functions | |
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 | |
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
Definition at line 99 of file StoreFileSystem.h.
◆ iterator
Definition at line 98 of file StoreFileSystem.h.
Constructor & Destructor Documentation
◆ StoreFileSystem() [1/2]
|
inline |
Definition at line 100 of file StoreFileSystem.h.
◆ ~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()
|
pure virtual |
Implemented in Fs::Ufs::StoreFSufs< TheSwapDir >, and Rock::StoreFileSystem.
◆ done()
|
pure virtual |
Implemented in Fs::Ufs::StoreFSufs< TheSwapDir >, and Rock::StoreFileSystem.
Referenced by FreeAllFs().
◆ FileSystems()
|
static |
Definition at line 45 of file StoreFileSystem.cc.
References GetFileSystems().
Referenced by FindByType().
◆ FindByType()
|
static |
Definition at line 74 of file StoreFileSystem.cc.
References FileSystems(), and type().
Referenced by Store::Disks::Parse().
◆ FreeAllFs()
|
static |
Definition at line 64 of file StoreFileSystem.cc.
References done(), and GetFileSystems().
Referenced by SquidShutdown().
◆ FsAdd()
|
static |
Definition at line 32 of file StoreFileSystem.cc.
References assert, GetFileSystems(), and instance.
Referenced by Rock::StoreFileSystem::StoreFileSystem(), and Fs::Ufs::StoreFSufs< TheSwapDir >::StoreFSufs().
◆ 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()
|
staticprivate |
Definition at line 17 of file StoreFileSystem.cc.
References GetFileSystems().
◆ registerWithCacheManager()
|
protectedvirtual |
Reimplemented in Rock::StoreFileSystem.
Definition at line 85 of file StoreFileSystem.cc.
◆ setup()
|
pure virtual |
Implemented in Fs::Ufs::StoreFSufs< TheSwapDir >, and Rock::StoreFileSystem.
◆ SetupAllFs()
|
static |
Definition at line 24 of file StoreFileSystem.cc.
References GetFileSystems().
Referenced by testRock::commonInit(), and SquidMain().
◆ type()
|
pure virtual |
Implemented in Fs::Ufs::StoreFSufs< TheSwapDir >, and Rock::StoreFileSystem.
Referenced by FindByType().
Member Data Documentation
◆ _FileSystems
|
staticprivate |
Definition at line 118 of file StoreFileSystem.h.
Referenced by GetFileSystems().
◆ initialised
|
protected |
Definition at line 113 of file StoreFileSystem.h.
The documentation for this class was generated from the following files:
- src/StoreFileSystem.h
- src/StoreFileSystem.cc