DiskIOStrategy Class Referenceabstract

#include <DiskIOStrategy.h>

Inheritance diagram for DiskIOStrategy:

Public Member Functions

virtual ~DiskIOStrategy ()
 
virtual bool shedLoad ()=0
 
virtual int load ()=0
 
virtual RefCount< DiskFilenewFile (char const *path)=0
 
virtual void sync ()
 
virtual bool unlinkdUseful () const =0
 
virtual void unlinkFile (char const *)=0
 
virtual int callback ()
 
virtual void init ()
 
virtual void statfs (StoreEntry &) const
 
virtual ConfigOptiongetOptionTree () const
 

Detailed Description

Definition at line 19 of file DiskIOStrategy.h.

Constructor & Destructor Documentation

virtual DiskIOStrategy::~DiskIOStrategy ( )
inlinevirtual

Definition at line 23 of file DiskIOStrategy.h.

Member Function Documentation

virtual int DiskIOStrategy::callback ( )
inlinevirtual

perform any pending callbacks

Reimplemented in SingletonIOStrategy, DiskdIOStrategy, and DiskThreadsIOStrategy.

Definition at line 44 of file DiskIOStrategy.h.

Referenced by SingletonIOStrategy::callback().

virtual ConfigOption* DiskIOStrategy::getOptionTree ( ) const
inlinevirtual

module specific options

Reimplemented in SingletonIOStrategy, and DiskdIOStrategy.

Definition at line 53 of file DiskIOStrategy.h.

References NULL.

Referenced by SingletonIOStrategy::getOptionTree().

virtual void DiskIOStrategy::init ( void  )
inlinevirtual

Init per-instance logic

Reimplemented in SingletonIOStrategy, DiskdIOStrategy, and DiskThreadsIOStrategy.

Definition at line 47 of file DiskIOStrategy.h.

Referenced by SingletonIOStrategy::init().

virtual int DiskIOStrategy::load ( )
pure virtual
virtual RefCount<DiskFile> DiskIOStrategy::newFile ( char const *  path)
pure virtual

Return a handle for performing IO operations

Implemented in SingletonIOStrategy, DiskdIOStrategy, DiskThreadsIOStrategy, BlockingIOStrategy, IpcIoIOStrategy, and MmappedIOStrategy.

Referenced by SingletonIOStrategy::newFile().

virtual bool DiskIOStrategy::shedLoad ( )
pure virtual
virtual void DiskIOStrategy::statfs ( StoreEntry ) const
inlinevirtual

cachemgr output on the IO instance stats

Reimplemented in SingletonIOStrategy, and DiskdIOStrategy.

Definition at line 50 of file DiskIOStrategy.h.

Referenced by SingletonIOStrategy::statfs().

virtual void DiskIOStrategy::sync ( )
inlinevirtual

flush all IO operations

Reimplemented in SingletonIOStrategy, DiskdIOStrategy, and DiskThreadsIOStrategy.

Definition at line 35 of file DiskIOStrategy.h.

Referenced by SingletonIOStrategy::sync().

virtual bool DiskIOStrategy::unlinkdUseful ( ) const
pure virtual
virtual void DiskIOStrategy::unlinkFile ( char const *  )
pure virtual

The documentation for this class was generated from the following file:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors