VLink  2.0.0
A high-performance communication middleware
vlink::ObjectPoolBase::Stats Struct Referencefinal

Point-in-time snapshot of internal pool counters. More...

#include <object_pool.h>

Collaboration diagram for vlink::ObjectPoolBase::Stats:

Public Attributes

size_t pool_size {0}
 Objects currently idle on the free list. More...
 
size_t borrowed {0}
 Objects currently held by callers. More...
 
size_t total_created {0}
 Cumulative objects ever produced by the factory. More...
 
size_t max_size {0}
 Configured upper bound; 0 means unlimited. More...
 

Detailed Description

Point-in-time snapshot of internal pool counters.

Member Data Documentation

◆ borrowed

size_t vlink::ObjectPoolBase::Stats::borrowed {0}

Objects currently held by callers.

◆ max_size

size_t vlink::ObjectPoolBase::Stats::max_size {0}

Configured upper bound; 0 means unlimited.

◆ pool_size

size_t vlink::ObjectPoolBase::Stats::pool_size {0}

Objects currently idle on the free list.

◆ total_created

size_t vlink::ObjectPoolBase::Stats::total_created {0}

Cumulative objects ever produced by the factory.


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