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::UFSCleanLog ( SwapDir aSwapDir)
inline

Definition at line 48 of file UFSSwapDir.cc.

References nextEntry(), and write().

Member Function Documentation

◆ nextEntry()

const StoreEntry * UFSCleanLog::nextEntry ( )
virtual

Implements Store::Disk::CleanLog.

Definition at line 67 of file UFSSwapDir.cc.

References RemovalPolicyWalker::Next, NULL, and walker.

Referenced by UFSCleanLog().

◆ 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 63 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