IpcIoIOStrategy Class Reference

#include <IpcIoIOStrategy.h>

Inheritance diagram for IpcIoIOStrategy:
Collaboration diagram for IpcIoIOStrategy:

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 13 of file IpcIoIOStrategy.h.

Member Function Documentation

◆ callback()

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 Fs::Ufs::UFSStrategy::callback().

◆ getOptionTree()

virtual ConfigOption* DiskIOStrategy::getOptionTree ( ) const
inlinevirtualinherited

module specific options

Reimplemented in SingletonIOStrategy, and DiskdIOStrategy.

Definition at line 53 of file DiskIOStrategy.h.

References NULL.

◆ init()

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 Fs::Ufs::UFSStrategy::init(), and Rock::SwapDir::init().

◆ load()

int IpcIoIOStrategy::load ( )
virtual

What is the current load? 999 = 99.9%

Implements DiskIOStrategy.

Definition at line 23 of file IpcIoIOStrategy.cc.

◆ newFile()

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

Return a handle for performing IO operations

Implements DiskIOStrategy.

Definition at line 30 of file IpcIoIOStrategy.cc.

◆ shedLoad()

bool IpcIoIOStrategy::shedLoad ( )
virtual

Can the IO Strategy handle more requests ?

Implements DiskIOStrategy.

Definition at line 17 of file IpcIoIOStrategy.cc.

◆ statfs()

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 Fs::Ufs::UFSStrategy::statfs().

◆ sync()

virtual void DiskIOStrategy::sync ( )
inlinevirtualinherited

flush all IO operations

Reimplemented in SingletonIOStrategy, DiskdIOStrategy, and DiskThreadsIOStrategy.

Definition at line 35 of file DiskIOStrategy.h.

References DiskIOStrategy::unlinkdUseful(), and DiskIOStrategy::unlinkFile().

Referenced by Fs::Ufs::UFSStrategy::sync().

◆ unlinkdUseful()

bool IpcIoIOStrategy::unlinkdUseful ( ) const
virtual

whether the IO Strategy can use unlinkd

Implements DiskIOStrategy.

Definition at line 36 of file IpcIoIOStrategy.cc.

◆ unlinkFile()

void IpcIoIOStrategy::unlinkFile ( char const *  )
virtual

unlink a file by path

Implements DiskIOStrategy.

Definition at line 42 of file IpcIoIOStrategy.cc.

References unlinkdUnlink().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors