Skip to content

Conversation

@arturobernalg
Copy link
Member

Add optional ConnPoolListener callbacks to RouteSegmentedConnPool to keep pool event subscription consistent across pool implementations.

Callbacks are invoked on successful lease and on release. When no listener is configured (default), the hot path is a single null-check.

Listener failures are ignored to avoid affecting pool correctness.

Add optional ConnPoolListener callbacks to RouteSegmentedConnPool to keep
pool event subscription consistent across pool implementations.

Callbacks are invoked on successful lease and on release. When no listener
is configured (default), the hot path is a single null-check.

Listener failures are ignored to avoid affecting pool correctness.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants