|
Squid Web Cache master
|
#include <DiskFile.h>
Classes | |
| class | Config |
| generally useful configuration options supported by some children More... | |
Public Types | |
| typedef RefCount< DiskFile > | Pointer |
Public Member Functions | |
| virtual void | configure (const Config &) |
| notes supported configuration options; kids must call this first | |
| virtual void | open (int flags, mode_t mode, RefCount< IORequestor > callback)=0 |
| virtual void | create (int flags, mode_t mode, RefCount< IORequestor > callback)=0 |
| virtual void | read (ReadRequest *)=0 |
| virtual void | write (WriteRequest *)=0 |
| virtual void | close ()=0 |
| virtual bool | canRead () const =0 |
| virtual bool | canWrite () const |
| virtual int | getFD () const |
| virtual bool | error () const =0 |
| virtual bool | ioInProgress () const =0 |
Definition at line 21 of file DiskFile.h.
| typedef RefCount<DiskFile> DiskFile::Pointer |
Definition at line 39 of file DiskFile.h.
|
pure virtual |
Implemented in BlockingFile, DiskdFile, DiskThreadsDiskFile, IpcIoFile, and MmappedFile.
|
inlinevirtual |
Reimplemented in DiskThreadsDiskFile, IpcIoFile, and MmappedFile.
Definition at line 50 of file DiskFile.h.
|
pure virtual |
Implemented in BlockingFile, DiskdFile, DiskThreadsDiskFile, IpcIoFile, and MmappedFile.
|
inlinevirtual |
Reimplemented in IpcIoFile.
Definition at line 42 of file DiskFile.h.
Referenced by IpcIoFile::configure().
|
pure virtual |
Implemented in DiskdFile, BlockingFile, DiskThreadsDiskFile, IpcIoFile, and MmappedFile.
Referenced by Fs::Ufs::UFSStrategy::create().
|
pure virtual |
Implemented in BlockingFile, DiskdFile, DiskThreadsDiskFile, IpcIoFile, and MmappedFile.
Referenced by Fs::Ufs::UFSStrategy::create(), Fs::Ufs::UFSStoreState::ioCompletedNotification(), and Fs::Ufs::UFSStrategy::open().
|
inlinevirtual |
During migration only
Reimplemented in BlockingFile, DiskThreadsDiskFile, IpcIoFile, and MmappedFile.
Definition at line 53 of file DiskFile.h.
|
pure virtual |
Inform callers if there is IO in progress
Implemented in BlockingFile, DiskdFile, DiskThreadsDiskFile, IpcIoFile, and MmappedFile.
|
pure virtual |
Implemented in DiskdFile, BlockingFile, DiskThreadsDiskFile, IpcIoFile, and MmappedFile.
Referenced by Fs::Ufs::UFSStrategy::open().
|
pure virtual |
Implemented in BlockingFile, DiskdFile, DiskThreadsDiskFile, IpcIoFile, and MmappedFile.
|
pure virtual |
Implemented in BlockingFile, DiskdFile, DiskThreadsDiskFile, IpcIoFile, and MmappedFile.