Inheritance diagram for UFSCleanLog:
Collaboration diagram for UFSCleanLog:

Public Member Functions

 UFSCleanLog (SwapDir *aSwapDir)
 
virtual const StoreEntrynextEntry ()
 Get the next entry that is a candidate for clean log writing. More...
 
virtual void write (StoreEntry const &)
 "write" an entry to the clean log file. More...
 

Public Attributes

SBuf cur
 
SBuf newLog
 
SBuf cln
 
char * outbuf = nullptr
 
off_t outbuf_offset = 0
 
int fd = -1
 
RemovalPolicyWalkerwalker = nullptr
 
SwapDirsd = nullptr
 

Detailed Description

Definition at line 44 of file UFSSwapDir.cc.

Constructor & Destructor Documentation

UFSCleanLog::UFSCleanLog ( SwapDir aSwapDir)
inline

Definition at line 48 of file UFSSwapDir.cc.

Member Function Documentation

const StoreEntry * UFSCleanLog::nextEntry ( )
virtual

Implements Store::Disk::CleanLog.

Definition at line 67 of file UFSSwapDir.cc.

References RemovalPolicyWalker::Next, NULL, and walker.

Member Data Documentation

SBuf UFSCleanLog::cln
SBuf UFSCleanLog::cur
int UFSCleanLog::fd = -1
SBuf UFSCleanLog::newLog
char* UFSCleanLog::outbuf = nullptr
off_t UFSCleanLog::outbuf_offset = 0
SwapDir* UFSCleanLog::sd = nullptr

Definition at line 63 of file UFSSwapDir.cc.

Referenced by write().

RemovalPolicyWalker* UFSCleanLog::walker = nullptr

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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors