|
Squid Web Cache master
|
#include <UFSSwapLogParser.h>
Public Member Functions | |
| UFSSwapLogParser (FILE *fp) | |
| virtual | ~UFSSwapLogParser () |
| virtual bool | ReadRecord (StoreSwapLogData &swapData)=0 |
| int | SwapLogEntries () |
| void | Close () |
Static Public Member Functions | |
| static UFSSwapLogParser * | GetUFSSwapLogParser (FILE *fp) |
Public Attributes | |
| FILE * | log |
| int | log_entries |
| int | record_size |
Definition at line 19 of file UFSSwapLogParser.h.
|
inline |
Definition at line 26 of file UFSSwapLogParser.h.
|
inlinevirtual |
Definition at line 28 of file UFSSwapLogParser.h.
|
inline |
Definition at line 34 of file UFSSwapLogParser.h.
References log.
|
static |
Definition at line 81 of file UFSSwapLogParser.cc.
References assert, DBG_IMPORTANT, debugs, StoreSwapLogHeader::op, StoreSwapLogHeader::record_size, StoreSwapLogHeader::sane(), SWAP_LOG_VERSION, and StoreSwapLogHeader::version.
Referenced by Fs::Ufs::RebuildState::RebuildState().
|
pure virtual |
Implemented in UFSSwapLogParser_v1_32bs, and UFSSwapLogParser_v2.
| int Fs::Ufs::UFSSwapLogParser::SwapLogEntries | ( | ) |
Definition at line 129 of file UFSSwapLogParser.cc.
References log().
| FILE* Fs::Ufs::UFSSwapLogParser::log |
Definition at line 22 of file UFSSwapLogParser.h.
Referenced by Close(), UFSSwapLogParser_v1_32bs::ReadRecord(), and UFSSwapLogParser_v2::ReadRecord().
| int Fs::Ufs::UFSSwapLogParser::log_entries |
Definition at line 23 of file UFSSwapLogParser.h.
| int Fs::Ufs::UFSSwapLogParser::record_size |
Definition at line 24 of file UFSSwapLogParser.h.
Referenced by UFSSwapLogParser_v1_32bs::UFSSwapLogParser_v1_32bs(), and UFSSwapLogParser_v2::UFSSwapLogParser_v2().