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

Info common to memory and disk parts of the storage. Used inside PODs! More...

#include <StoreStats.h>

Inheritance diagram for StoreInfoStats::Part:
[legend]

Public Member Functions

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

Public Attributes

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 17 of file StoreStats.h.

Member Function Documentation

◆ available()

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

Definition at line 28 of file StoreStats.h.

References capacity, and size.

Referenced by DumpInfo().

◆ meanObjectSize()

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

Definition at line 25 of file StoreStats.h.

References count, and size.

Referenced by DumpInfo().

Member Data Documentation

◆ capacity

◆ count

◆ size


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