Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add diagnostic method pooledCount() in RecyclerPool #1262

Closed
cowtowncoder opened this issue Apr 16, 2024 · 1 comment
Closed

Add diagnostic method pooledCount() in RecyclerPool #1262

cowtowncoder opened this issue Apr 16, 2024 · 1 comment
Labels
2.18 Issues planned at earliest for 2.18
Milestone

Comments

@cowtowncoder
Copy link
Member

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.

@cowtowncoder cowtowncoder added the 2.18 Issues planned at earliest for 2.18 label Apr 16, 2024
cowtowncoder added a commit that referenced this issue Apr 18, 2024
@cowtowncoder cowtowncoder added this to the 2.18.0 milestone Apr 18, 2024
@cowtowncoder
Copy link
Member Author

Also backport in 2.17(.1) for testing purposes although officially only part of 2.18 API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.18 Issues planned at earliest for 2.18
Projects
None yet
Development

No branches or pull requests

1 participant