#include <MemObject.h>
Public Types | |
enum | Decision { swNeedsCheck = 0, swImpossible = -1, swPossible = +1, swStarted } |
Decision states for StoreEntry::swapoutPossible() and related code. More... | |
Public Attributes | |
int64_t | queue_offset = 0 |
number of bytes sent to SwapDir for writing More... | |
StoreIOState::Pointer | sio |
Decision | decision = swNeedsCheck |
current decision state More... | |
Detailed Description
Definition at line 158 of file MemObject.h.
Member Enumeration Documentation
◆ Decision
Enumerator | |
---|---|
swNeedsCheck | |
swImpossible | |
swPossible | |
swStarted |
Definition at line 165 of file MemObject.h.
Member Data Documentation
◆ decision
Decision MemObject::SwapOut::decision = swNeedsCheck |
Definition at line 166 of file MemObject.h.
Referenced by StoreEntry::mayStartSwapOut(), StoreEntry::storeWritingCheckpoint(), StoreEntry::swapOut(), StoreEntry::swapOutDecision(), and TestRock::testRockSwapOut().
◆ queue_offset
int64_t MemObject::SwapOut::queue_offset = 0 |
Definition at line 161 of file MemObject.h.
Referenced by MemObject::availableForSwapOut(), doPages(), MemObject::stat(), and StoreEntry::swapOut().
◆ sio
StoreIOState::Pointer MemObject::SwapOut::sio |
Definition at line 162 of file MemObject.h.
Referenced by Rock::SwapDir::disconnect(), doPages(), store_client::fileRead(), Rock::SwapDir::finalizeSwapoutSuccess(), MemObject::objectBytesOnDisk(), MemObject::reset(), MemObject::stat(), statObjectsOpenfdFilter(), storeSwapOutFileClosed(), storeSwapOutStart(), StoreEntry::swapOut(), StoreEntry::swapOutFileClose(), and MemObject::~MemObject().
The documentation for this class was generated from the following file:
- src/MemObject.h
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