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, Ping::stats, store_entry_count, and swap.
Member Data Documentation
◆ mem
Mem StoreInfoStats::mem |
Definition at line 48 of file StoreStats.h.
Referenced by operator+=().
◆ mem_object_count
double StoreInfoStats::mem_object_count = 0.0 |
Definition at line 52 of file StoreStats.h.
Referenced by operator+=().
◆ store_entry_count
double StoreInfoStats::store_entry_count = 0.0 |
Definition at line 51 of file StoreStats.h.
Referenced by operator+=().
◆ swap
Swap StoreInfoStats::swap |
Definition at line 47 of file StoreStats.h.
Referenced by operator+=().
The documentation for this class was generated from the following files:
- src/StoreStats.h
- src/StoreStats.cc
- src/tests/stub_store_stats.cc