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

memory cache (cache_mem) storage stats More...

#include <StoreStats.h>

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

Public Member Functions

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

Public Attributes

bool shared = false
 whether memory cache is shared among workers
 
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 39 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

◆ shared

bool StoreInfoStats::Mem::shared = false

◆ size


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