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:
Collaboration diagram for StoreInfoStats::Part:

Public Member Functions

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

Public Attributes

double size = 0.0
 bytes currently in use More...
double count = 0.0
 number of cached objects More...
double capacity = 0.0
 the size limit More...

Detailed Description

Definition at line 17 of file StoreStats.h.

Member Function Documentation

◆ available()

double StoreInfoStats::Part::available ( ) const

Definition at line 28 of file StoreStats.h.

References capacity, and size.

◆ meanObjectSize()

double StoreInfoStats::Part::meanObjectSize ( ) const

Definition at line 25 of file StoreStats.h.

References count, and size.

Member Data Documentation

◆ capacity

double StoreInfoStats::Part::capacity = 0.0

Definition at line 22 of file StoreStats.h.

Referenced by available(), and StoreInfoStats::operator+=().

◆ count

double StoreInfoStats::Part::count = 0.0

Definition at line 21 of file StoreStats.h.

Referenced by meanObjectSize(), and StoreInfoStats::operator+=().

◆ size

double StoreInfoStats::Part::size = 0.0

Definition at line 20 of file StoreStats.h.

Referenced by available(), meanObjectSize(), and StoreInfoStats::operator+=().

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






Web Site Translations