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

◆ ~DiskIOStrategy()

virtual DiskIOStrategy::~DiskIOStrategy ( )
inlinevirtual

Definition at line 23 of file DiskIOStrategy.h.

Member Function Documentation

◆ callback()

virtual int DiskIOStrategy::callback ( )
inlinevirtual

perform any pending callbacks

Reimplemented in DiskdIOStrategy, SingletonIOStrategy, and DiskThreadsIOStrategy.

Definition at line 44 of file DiskIOStrategy.h.

Referenced by SingletonIOStrategy::callback().

◆ getOptionTree()

virtual ConfigOption * DiskIOStrategy::getOptionTree ( ) const
inlinevirtual

module specific options

Reimplemented in DiskdIOStrategy, and SingletonIOStrategy.

Definition at line 53 of file DiskIOStrategy.h.

Referenced by SingletonIOStrategy::getOptionTree().

◆ init()

virtual void DiskIOStrategy::init ( void  )
inlinevirtual

Init per-instance logic

Reimplemented in DiskdIOStrategy, SingletonIOStrategy, and DiskThreadsIOStrategy.

Definition at line 47 of file DiskIOStrategy.h.

Referenced by SingletonIOStrategy::init().

◆ load()

virtual int DiskIOStrategy::load ( )
pure virtual

◆ newFile()

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

Return a handle for performing IO operations

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

Referenced by SingletonIOStrategy::newFile().

◆ shedLoad()

virtual bool DiskIOStrategy::shedLoad ( )
pure virtual

◆ statfs()

virtual void DiskIOStrategy::statfs ( StoreEntry ) const
inlinevirtual

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()

virtual void DiskIOStrategy::sync ( )
inlinevirtual

flush all IO operations

Reimplemented in DiskdIOStrategy, SingletonIOStrategy, and DiskThreadsIOStrategy.

Definition at line 35 of file DiskIOStrategy.h.

Referenced by SingletonIOStrategy::sync().

◆ unlinkdUseful()

virtual bool DiskIOStrategy::unlinkdUseful ( ) const
pure virtual

◆ unlinkFile()

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