#include <BlockingIOStrategy.h>
Public Member Functions | |
bool | shedLoad () override |
int | load () override |
RefCount< DiskFile > | newFile (char const *path) override |
bool | unlinkdUseful () const override |
void | unlinkFile (char const *) override |
virtual void | sync () |
virtual int | callback () |
virtual void | init () |
virtual void | statfs (StoreEntry &) const |
virtual ConfigOption * | getOptionTree () const |
Detailed Description
Definition at line 15 of file BlockingIOStrategy.h.
Member Function Documentation
◆ callback()
|
inlinevirtualinherited |
perform any pending callbacks
Reimplemented in DiskdIOStrategy, SingletonIOStrategy, and DiskThreadsIOStrategy.
Definition at line 44 of file DiskIOStrategy.h.
Referenced by SingletonIOStrategy::callback().
◆ getOptionTree()
|
inlinevirtualinherited |
module specific options
Reimplemented in DiskdIOStrategy, and SingletonIOStrategy.
Definition at line 53 of file DiskIOStrategy.h.
Referenced by SingletonIOStrategy::getOptionTree().
◆ init()
|
inlinevirtualinherited |
Init per-instance logic
Reimplemented in DiskdIOStrategy, SingletonIOStrategy, and DiskThreadsIOStrategy.
Definition at line 47 of file DiskIOStrategy.h.
Referenced by SingletonIOStrategy::init().
◆ load()
|
overridevirtual |
What is the current load? 999 = 99.9%
Implements DiskIOStrategy.
Definition at line 23 of file BlockingIOStrategy.cc.
◆ newFile()
|
overridevirtual |
Return a handle for performing IO operations
Implements DiskIOStrategy.
Definition at line 30 of file BlockingIOStrategy.cc.
◆ shedLoad()
|
overridevirtual |
Can the IO Strategy handle more requests ?
Implements DiskIOStrategy.
Definition at line 17 of file BlockingIOStrategy.cc.
◆ statfs()
|
inlinevirtualinherited |
cachemgr output on the IO instance stats
Reimplemented in DiskdIOStrategy, and SingletonIOStrategy.
Definition at line 50 of file DiskIOStrategy.h.
Referenced by SingletonIOStrategy::statfs().
◆ sync()
|
inlinevirtualinherited |
flush all IO operations
Reimplemented in DiskdIOStrategy, SingletonIOStrategy, and DiskThreadsIOStrategy.
Definition at line 35 of file DiskIOStrategy.h.
Referenced by SingletonIOStrategy::sync().
◆ unlinkdUseful()
|
overridevirtual |
whether the IO Strategy can use unlinkd
Implements DiskIOStrategy.
Definition at line 36 of file BlockingIOStrategy.cc.
◆ unlinkFile()
|
overridevirtual |
unlink a file by path
Implements DiskIOStrategy.
Definition at line 42 of file BlockingIOStrategy.cc.
References unlinkdUnlink().
The documentation for this class was generated from the following files:
- src/DiskIO/Blocking/BlockingIOStrategy.h
- src/DiskIO/Blocking/BlockingIOStrategy.cc