#include <UFSStrategy.h>

Collaboration diagram for Fs::Ufs::UFSStrategy:

Public Member Functions

 UFSStrategy (DiskIOStrategy *)
 
virtual ~UFSStrategy ()
 
virtual bool shedLoad ()
 
virtual int load ()
 
StoreIOState::Pointer createState (SwapDir *SD, StoreEntry *e, StoreIOState::STIOCB *callback, void *callback_data) const
 
virtual RefCount< DiskFilenewFile (char const *path)
 
StoreIOState::Pointer open (SwapDir *, StoreEntry *, StoreIOState::STFNCB *, StoreIOState::STIOCB *, void *)
 
StoreIOState::Pointer create (SwapDir *, StoreEntry *, StoreIOState::STFNCB *, StoreIOState::STIOCB *, void *)
 
virtual void unlinkFile (char const *)
 
virtual void sync ()
 
virtual int callback ()
 
virtual void init ()
 
virtual void statfs (StoreEntry &sentry) const
 

Public Attributes

DiskIOStrategyio
 

Private Member Functions

 UFSStrategy ()
 
 UFSStrategy (UFSStrategy const &)
 
UFSStrategyoperator= (UFSStrategy const &)
 

Friends

class UFSSwapDir
 

Detailed Description

Definition at line 24 of file UFSStrategy.h.

Constructor & Destructor Documentation

◆ UFSStrategy() [1/3]

Fs::Ufs::UFSStrategy::UFSStrategy ( DiskIOStrategy anIO)

Definition at line 30 of file UFSStrategy.cc.

◆ ~UFSStrategy()

Fs::Ufs::UFSStrategy::~UFSStrategy ( )
virtual

Definition at line 33 of file UFSStrategy.cc.

References io.

◆ UFSStrategy() [2/3]

Fs::Ufs::UFSStrategy::UFSStrategy ( )
private

◆ UFSStrategy() [3/3]

Fs::Ufs::UFSStrategy::UFSStrategy ( UFSStrategy const &  )
private

Member Function Documentation

◆ callback()

int Fs::Ufs::UFSStrategy::callback ( )
virtual

Definition at line 141 of file UFSStrategy.cc.

References DiskIOStrategy::callback(), and io.

Referenced by Fs::Ufs::UFSSwapDir::callback().

◆ create()

◆ createState()

StoreIOState::Pointer Fs::Ufs::UFSStrategy::createState ( SwapDir SD,
StoreEntry e,
StoreIOState::STIOCB callback,
void *  callback_data 
) const

Definition at line 39 of file UFSStrategy.cc.

Referenced by create(), and open().

◆ init()

void Fs::Ufs::UFSStrategy::init ( void  )
virtual

Init per-instance logic

Definition at line 147 of file UFSStrategy.cc.

References DiskIOStrategy::init(), and io.

◆ load()

int Fs::Ufs::UFSStrategy::load ( )
virtual

Definition at line 25 of file UFSStrategy.cc.

References io, and DiskIOStrategy::load().

◆ newFile()

DiskFile::Pointer Fs::Ufs::UFSStrategy::newFile ( char const *  path)
virtual

Definition at line 45 of file UFSStrategy.cc.

References io, and DiskIOStrategy::newFile().

Referenced by create(), and open().

◆ open()

◆ operator=()

UFSStrategy& Fs::Ufs::UFSStrategy::operator= ( UFSStrategy const &  )
private

◆ shedLoad()

bool Fs::Ufs::UFSStrategy::shedLoad ( )
virtual

Definition at line 19 of file UFSStrategy.cc.

References io, and DiskIOStrategy::shedLoad().

◆ statfs()

void Fs::Ufs::UFSStrategy::statfs ( StoreEntry sentry) const
virtual

cachemgr output on the IO instance stats

Definition at line 159 of file UFSStrategy.cc.

References io, and DiskIOStrategy::statfs().

Referenced by Fs::Ufs::UFSSwapDir::statfs().

◆ sync()

void Fs::Ufs::UFSStrategy::sync ( )
virtual

Definition at line 153 of file UFSStrategy.cc.

References io, and DiskIOStrategy::sync().

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

◆ unlinkFile()

void Fs::Ufs::UFSStrategy::unlinkFile ( char const *  path)
virtual

Definition at line 51 of file UFSStrategy.cc.

References io, and DiskIOStrategy::unlinkFile().

Referenced by Fs::Ufs::UFSSwapDir::unlinkFile().

Friends And Related Function Documentation

◆ UFSSwapDir

friend class UFSSwapDir
friend

Definition at line 57 of file UFSStrategy.h.

Member Data Documentation

◆ io

DiskIOStrategy* Fs::Ufs::UFSStrategy::io

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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors