BlockingIOStrategy Class Reference

#include <BlockingIOStrategy.h>

Inheritance diagram for BlockingIOStrategy:
Collaboration diagram for BlockingIOStrategy:

Public Member Functions

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

Detailed Description

Definition at line 15 of file BlockingIOStrategy.h.

Member Function Documentation

virtual int DiskIOStrategy::callback ( )
inlinevirtualinherited

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
inlinevirtualinherited

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

Init per-instance logic

Reimplemented in SingletonIOStrategy, DiskdIOStrategy, and DiskThreadsIOStrategy.

Definition at line 47 of file DiskIOStrategy.h.

Referenced by SingletonIOStrategy::init().

int BlockingIOStrategy::load ( )
virtual

What is the current load? 999 = 99.9%

Implements DiskIOStrategy.

Definition at line 23 of file BlockingIOStrategy.cc.

DiskFile::Pointer BlockingIOStrategy::newFile ( char const *  path)
virtual

Return a handle for performing IO operations

Implements DiskIOStrategy.

Definition at line 30 of file BlockingIOStrategy.cc.

bool BlockingIOStrategy::shedLoad ( )
virtual

Can the IO Strategy handle more requests ?

Implements DiskIOStrategy.

Definition at line 17 of file BlockingIOStrategy.cc.

virtual void DiskIOStrategy::statfs ( StoreEntry ) const
inlinevirtualinherited

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

flush all IO operations

Reimplemented in SingletonIOStrategy, DiskdIOStrategy, and DiskThreadsIOStrategy.

Definition at line 35 of file DiskIOStrategy.h.

Referenced by SingletonIOStrategy::sync().

bool BlockingIOStrategy::unlinkdUseful ( ) const
virtual

whether the IO Strategy can use unlinkd

Implements DiskIOStrategy.

Definition at line 36 of file BlockingIOStrategy.cc.

void BlockingIOStrategy::unlinkFile ( char const *  )
virtual

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:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors