High-level store statistics used by mgr:info action. Used inside PODs! More...
#include <StoreStats.h>

| Classes | |
| class | Mem | 
| memory cache (cache_mem) storage stats  More... | |
| class | Part | 
| Info common to memory and disk parts of the storage. Used inside PODs!  More... | |
| class | Swap | 
| disk cache (all cache_dirs) storage stats  More... | |
| Public Member Functions | |
| StoreInfoStats & | operator+= (const StoreInfoStats &stats) | 
| Public Attributes | |
| Swap | swap | 
| cache_mem stats  More... | |
| Mem | mem | 
| all cache_dirs stats  More... | |
| double | store_entry_count = 0.0 | 
| number of StoreEntry objects in existence  More... | |
| double | mem_object_count = 0.0 | 
| number of MemObject objects in existence  More... | |
Detailed Description
Definition at line 13 of file StoreStats.h.
Member Function Documentation
◆ operator+=()
| StoreInfoStats & StoreInfoStats::operator+= | ( | const StoreInfoStats & | stats | ) | 
Definition at line 16 of file StoreStats.cc.
References StoreInfoStats::Part::capacity, StoreInfoStats::Part::count, mem, mem_object_count, StoreInfoStats::Swap::open_disk_fd, StoreInfoStats::Mem::shared, StoreInfoStats::Part::size, store_entry_count, and swap.
Member Data Documentation
◆ mem
| Mem StoreInfoStats::mem | 
Definition at line 48 of file StoreStats.h.
Referenced by DumpInfo(), Store::Controller::getStats(), MemStore::getStats(), Transients::getStats(), operator+=(), and snmp_prfSysFn().
◆ mem_object_count
| double StoreInfoStats::mem_object_count = 0.0 | 
Definition at line 52 of file StoreStats.h.
Referenced by DumpInfo(), Store::Controller::getStats(), and operator+=().
◆ store_entry_count
| double StoreInfoStats::store_entry_count = 0.0 | 
Definition at line 51 of file StoreStats.h.
Referenced by DumpInfo(), Store::Controller::getStats(), and operator+=().
◆ swap
| Swap StoreInfoStats::swap | 
Definition at line 47 of file StoreStats.h.
Referenced by DumpInfo(), Store::Disks::getStats(), Store::Disk::getStats(), operator+=(), and snmp_prfSysFn().
The documentation for this class was generated from the following files:
- src/StoreStats.h
- src/StoreStats.cc
- src/tests/stub_store_stats.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
