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

Constructor & Destructor Documentation

UFSCleanLog::UFSCleanLog ( SwapDir aSwapDir)

Definition at line 48 of file

Member Function Documentation

const StoreEntry * UFSCleanLog::nextEntry ( )

Implements Store::Disk::CleanLog.

Definition at line 67 of file

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

Referenced by write().

RemovalPolicyWalker* UFSCleanLog::walker = nullptr

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






Web Site Translations