#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 const char * | type () const =0 |
virtual SwapDir * | createSwapDir ()=0 |
Static Public Member Functions | |
static void | FsAdd (StoreFileSystem &) |
static StoreFileSystem * | FindByType (const char *type) |
static const std::vector< StoreFileSystem * > & | 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
Definition at line 98 of file StoreFileSystem.h.
◆ 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 Fs::Ufs::StoreFSufs< TheSwapDir >, and Rock::StoreFileSystem.
◆ 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 type().
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 Fs::Ufs::StoreFSufs< TheSwapDir >, and Rock::StoreFileSystem.
Referenced by FindByType(), and FsAdd().
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
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products