BloombergLP::bdlcc::SharedObjectPool::numObjects

Return the number of objects currently managed by this pool.

Synopsis

Declared in <bdlcc_sharedobjectpool.h>

int
numObjects() const;

Description

Return the (instantaneous) number of objects managed by this pool. This includes both the objects available in the pool and the objects that were allocated from the pool and not yet released.

Return Value

instantaneous number of objects managed by this pool