![Inheritance graph](classUFSCleanLog__inherit__graph.png)
![Collaboration graph](classUFSCleanLog__coll__graph.png)
Public Member Functions | |
UFSCleanLog (SwapDir *aSwapDir) | |
const StoreEntry * | nextEntry () 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 |
RemovalPolicyWalker * | walker = nullptr |
SwapDir * | sd = nullptr |
Detailed Description
Definition at line 43 of file UFSSwapDir.cc.
Constructor & Destructor Documentation
◆ UFSCleanLog()
|
inline |
Definition at line 47 of file UFSSwapDir.cc.
Member Function Documentation
◆ nextEntry()
|
overridevirtual |
Implements Store::Disk::CleanLog.
Definition at line 66 of file UFSSwapDir.cc.
References RemovalPolicyWalker::Next, and walker.
◆ write()
|
overridevirtual |
Implements Store::Disk::CleanLog.
Definition at line 77 of file UFSSwapDir.cc.
References SBuf::c_str(), CLEAN_BUF_SZ, Store::Disk::cleanLog, DBG_CRITICAL, debugs, StoreSwapLogData::expires, StoreEntry::expires, fd, FD_WRITE_METHOD(), file_close(), StoreSwapLogData::finalize(), StoreSwapLogData::flags, StoreEntry::flags, hash_link::key, StoreSwapLogData::key, StoreSwapLogData::lastmod, StoreEntry::lastModified(), StoreSwapLogData::lastref, StoreEntry::lastref, MYNAME, newLog, StoreSwapLogData::op, outbuf, outbuf_offset, StoreSwapLogData::refcount, StoreEntry::refcount, sd, SQUID_MD5_DIGEST_LENGTH, StoreSwapLogData::swap_file_sz, StoreEntry::swap_file_sz, StoreSwapLogData::swap_filen, StoreEntry::swap_filen, SWAP_LOG_ADD, StoreSwapLogData::timestamp, StoreEntry::timestamp, and xstrerr().
Member Data Documentation
◆ cln
SBuf UFSCleanLog::cln |
Definition at line 57 of file UFSSwapDir.cc.
Referenced by Fs::Ufs::UFSSwapDir::writeCleanDone(), and Fs::Ufs::UFSSwapDir::writeCleanStart().
◆ cur
SBuf UFSCleanLog::cur |
Definition at line 55 of file UFSSwapDir.cc.
Referenced by Fs::Ufs::UFSSwapDir::writeCleanDone(), and Fs::Ufs::UFSSwapDir::writeCleanStart().
◆ fd
int UFSCleanLog::fd = -1 |
Definition at line 60 of file UFSSwapDir.cc.
Referenced by write(), Fs::Ufs::UFSSwapDir::writeCleanDone(), and Fs::Ufs::UFSSwapDir::writeCleanStart().
◆ newLog
SBuf UFSCleanLog::newLog |
Definition at line 56 of file UFSSwapDir.cc.
Referenced by write(), Fs::Ufs::UFSSwapDir::writeCleanDone(), and Fs::Ufs::UFSSwapDir::writeCleanStart().
◆ outbuf
char* UFSCleanLog::outbuf = nullptr |
Definition at line 58 of file UFSSwapDir.cc.
Referenced by write(), Fs::Ufs::UFSSwapDir::writeCleanDone(), and Fs::Ufs::UFSSwapDir::writeCleanStart().
◆ outbuf_offset
off_t UFSCleanLog::outbuf_offset = 0 |
Definition at line 59 of file UFSSwapDir.cc.
Referenced by write(), Fs::Ufs::UFSSwapDir::writeCleanDone(), and Fs::Ufs::UFSSwapDir::writeCleanStart().
◆ sd
SwapDir* UFSCleanLog::sd = nullptr |
Definition at line 62 of file UFSSwapDir.cc.
Referenced by write().
◆ walker
RemovalPolicyWalker* UFSCleanLog::walker = nullptr |
Definition at line 61 of file UFSSwapDir.cc.
Referenced by nextEntry(), Fs::Ufs::UFSSwapDir::writeCleanDone(), and Fs::Ufs::UFSSwapDir::writeCleanStart().
The documentation for this class was generated from the following file:
- src/fs/ufs/UFSSwapDir.cc
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products