Squid Web Cache master
Loading...
Searching...
No Matches
StoreInfoStats::Swap Class Reference

disk cache (all cache_dirs) storage stats More...

#include <StoreStats.h>

Inheritance diagram for StoreInfoStats::Swap:
[legend]
Collaboration diagram for StoreInfoStats::Swap:
[legend]

Public Member Functions

double meanObjectSize () const
 mean size of a cached object
 
double available () const
 number of unused bytes
 

Public Attributes

double open_disk_fd = 0.0
 number of opened disk files
 
double size = 0.0
 bytes currently in use
 
double count = 0.0
 number of cached objects
 
double capacity = 0.0
 the size limit
 

Detailed Description

Definition at line 32 of file StoreStats.h.

Member Function Documentation

◆ available()

double StoreInfoStats::Part::available ( ) const
inlineinherited

Definition at line 28 of file StoreStats.h.

References StoreInfoStats::Part::capacity, and StoreInfoStats::Part::size.

Referenced by DumpInfo().

◆ meanObjectSize()

double StoreInfoStats::Part::meanObjectSize ( ) const
inlineinherited

Definition at line 25 of file StoreStats.h.

References StoreInfoStats::Part::count, and StoreInfoStats::Part::size.

Referenced by DumpInfo().

Member Data Documentation

◆ capacity

◆ count

◆ open_disk_fd

double StoreInfoStats::Swap::open_disk_fd = 0.0

Definition at line 35 of file StoreStats.h.

Referenced by DumpInfo(), Store::Disks::getStats(), and StoreInfoStats::operator+=().

◆ size


The documentation for this class was generated from the following file: