DiskFile.h
Go to the documentation of this file.
#define RefCountable
The locking interface for use on Reference-Counted classes.
Definition: Lock.h:66
generally useful configuration options supported by some children
Definition: DiskFile.h:28
time_msec_t ioTimeout
canRead/Write should return false if expected I/O delay exceeds it
Definition: DiskFile.h:33
Definition: DiskFile.h:22
virtual void read(ReadRequest *)=0
virtual void close()=0
virtual bool ioInProgress() const =0
virtual void open(int flags, mode_t mode, RefCount< IORequestor > callback)=0
virtual void configure(const Config &)
notes supported configuration options; kids must call this first
Definition: DiskFile.h:42
virtual bool canRead() const =0
virtual void write(WriteRequest *)=0
virtual void create(int flags, mode_t mode, RefCount< IORequestor > callback)=0
virtual bool error() const =0
Definition: IORequestor.h:19
Definition: ReadRequest.h:16
Definition: WriteRequest.h:17