Skip to content

Add diagnostic method pooledCount() in RecyclerPool #1262

@cowtowncoder

Description

@cowtowncoder

Currently there is no way to get an estimate number of recyclable entries in a RecyclerPool.
This is fine for regular use, but for operational reasons, and (more importantly), testing purposes it would be good to have a way to get even just an estimation.
So let's add something like RecyclerPool.pooledCount() to support this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    2.18Issues planned at earliest for 2.18

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions