netty5/transport/src/main/java/io/netty
Tyler Rockwood 34b25dc94c Expose channel count for FixedChannelPool (#8059)
Motivation:

We use FixedChannelPool in production, and we believe we have a leak that doesn't return sockets to the pool (but they should be closed), thus blocking us from creating new connections when we need them. I haven't confirmed this yet, but right now I have to resort to reflection to access this field which makes me sad.

Modification:

Expose the acquiredChannelCount field through a getter method.

Result:

Allows introspection of the pool size in FixedChannelPool.
2018-06-28 08:12:26 +02:00
..
bootstrap fix grammar in javadoc 2018-06-20 10:45:49 +02:00
channel Expose channel count for FixedChannelPool (#8059) 2018-06-28 08:12:26 +02:00