VLink  2.0.0
A high-performance communication middleware
vlink::ObjectPoolBase::Stats结构体 参考final

Point-in-time snapshot of internal pool counters. 更多...

#include <object_pool.h>

vlink::ObjectPoolBase::Stats 的协作图:

Public 属性

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

详细描述

Point-in-time snapshot of internal pool counters.

类成员变量说明

◆ 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.


该结构体的文档由以下文件生成: