#include <StoreFileSystem.h>
Public Types | |
typedef std::vector< StoreFileSystem * >::iterator | iterator |
typedef std::vector< StoreFileSystem * >::const_iterator | const_iterator |
Public Member Functions | |
StoreFileSystem ()=default | |
StoreFileSystem (StoreFileSystem &&)=delete | |
virtual char const * | type () const =0 |
virtual SwapDir * | createSwapDir ()=0 |
Static Public Member Functions | |
static void | FsAdd (StoreFileSystem &) |
static StoreFileSystem * | FindByType (const char *type) |
static std::vector< StoreFileSystem * > const & | FileSystems () |
Static Private Member Functions | |
static std::vector< StoreFileSystem * > & | GetFileSystems () |
Static Private Attributes | |
static std::vector< StoreFileSystem * > * | _FileSystems = nullptr |
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 90 of file StoreFileSystem.h.
Member Typedef Documentation
◆ const_iterator
typedef std::vector<StoreFileSystem*>::const_iterator StoreFileSystem::const_iterator |
Definition at line 98 of file StoreFileSystem.h.
◆ iterator
typedef std::vector<StoreFileSystem*>::iterator StoreFileSystem::iterator |
Definition at line 97 of file StoreFileSystem.h.
Constructor & Destructor Documentation
◆ StoreFileSystem() [1/2]
|
default |
◆ StoreFileSystem() [2/2]
|
delete |
Member Function Documentation
◆ createSwapDir()
|
pure virtual |
Implemented in Rock::StoreFileSystem, and Fs::Ufs::StoreFSufs< TheSwapDir >.
◆ FileSystems()
|
static |
Definition at line 30 of file StoreFileSystem.cc.
References GetFileSystems().
Referenced by FindByType().
◆ FindByType()
|
static |
Definition at line 45 of file StoreFileSystem.cc.
References FileSystems(), and type().
Referenced by Store::Disks::Parse().
◆ FsAdd()
|
static |
Definition at line 17 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 36 of file StoreFileSystem.cc.
References _FileSystems.
Referenced by FileSystems(), and FsAdd().
◆ type()
|
pure virtual |
Implemented in Rock::StoreFileSystem, and Fs::Ufs::StoreFSufs< TheSwapDir >.
Referenced by FindByType().
Member Data Documentation
◆ _FileSystems
|
staticprivate |
Definition at line 108 of file StoreFileSystem.h.
Referenced by GetFileSystems().
The documentation for this class was generated from the following files:
- src/StoreFileSystem.h
- src/StoreFileSystem.cc