Inheritance diagram for UFSCleanLog:
Collaboration diagram for UFSCleanLog:

Public Member Functions

 UFSCleanLog (SwapDir *aSwapDir)
 
const StoreEntrynextEntry () override
 Get the next entry that is a candidate for clean log writing. More...
 
void write (StoreEntry const &) override
 "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 42 of file UFSSwapDir.cc.

Constructor & Destructor Documentation

◆ UFSCleanLog()

UFSCleanLog::UFSCleanLog ( SwapDir aSwapDir)
inline

Definition at line 46 of file UFSSwapDir.cc.

Member Function Documentation

◆ nextEntry()

const StoreEntry * UFSCleanLog::nextEntry ( )
overridevirtual

Implements Store::Disk::CleanLog.

Definition at line 65 of file UFSSwapDir.cc.

References RemovalPolicyWalker::Next, and walker.

◆ write()

Member Data Documentation

◆ cln

SBuf UFSCleanLog::cln

◆ cur

SBuf UFSCleanLog::cur

◆ fd

int UFSCleanLog::fd = -1

◆ newLog

SBuf UFSCleanLog::newLog

◆ outbuf

char* UFSCleanLog::outbuf = nullptr

◆ outbuf_offset

off_t UFSCleanLog::outbuf_offset = 0

◆ sd

SwapDir* UFSCleanLog::sd = nullptr

Definition at line 61 of file UFSSwapDir.cc.

Referenced by write().

◆ walker

RemovalPolicyWalker* UFSCleanLog::walker = nullptr

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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors