|
Squid Web Cache master
|
#include <StoreMap.h>
Public Types | |
| typedef Ipc::Mem::Owner< StoreMapAnchors > | Owner |
Public Member Functions | |
| StoreMapAnchors (const int aCapacity) | |
| size_t | sharedMemorySize () const |
Static Public Member Functions | |
| static size_t | SharedMemorySize (const int anAnchorLimit) |
Public Attributes | |
| std::atomic< int32_t > | count |
| current number of entries | |
| std::atomic< uint32_t > | victim |
| starting point for purge search | |
| const int | capacity |
| total number of anchors | |
| Ipc::Mem::FlexibleArray< StoreMapAnchor > | items |
| anchors storage | |
StoreMapAnchors (indexed by fileno) plus sharing-safe basic housekeeping info about Store entries
Definition at line 160 of file StoreMap.h.
Definition at line 163 of file StoreMap.h.
|
explicit |
Definition at line 1054 of file StoreMap.cc.
| size_t Ipc::StoreMapAnchors::sharedMemorySize | ( | ) | const |
Definition at line 1063 of file StoreMap.cc.
Definition at line 1069 of file StoreMap.cc.
| const int Ipc::StoreMapAnchors::capacity |
Definition at line 172 of file StoreMap.h.
| std::atomic<int32_t> Ipc::StoreMapAnchors::count |
Definition at line 170 of file StoreMap.h.
| Ipc::Mem::FlexibleArray<StoreMapAnchor> Ipc::StoreMapAnchors::items |
Definition at line 173 of file StoreMap.h.
| std::atomic<uint32_t> Ipc::StoreMapAnchors::victim |
Definition at line 171 of file StoreMap.h.