Interface SdkChannelPool
- All Superinterfaces:
AutoCloseable,io.netty.channel.pool.ChannelPool,Closeable
- All Known Implementing Classes:
BetterFixedChannelPool,CancellableAcquireChannelPool,HealthCheckedChannelPool,Http2MultiplexedChannelPool,HttpOrHttp2ChannelPool,IdleConnectionCountingChannelPool,ListenerInvokingChannelPool,ReleaseOnceChannelPool
A
ChannelPool implementation that allows a caller to asynchronously retrieve channel-pool related metrics via
collectChannelPoolMetrics(MetricCollector).-
Method Summary
Modifier and TypeMethodDescriptioncollectChannelPoolMetrics(MetricCollector metrics) Collect channel pool metrics into the providedMetricCollectorcollection, completing the returned future when all metric publishing is complete.Methods inherited from interface io.netty.channel.pool.ChannelPool
acquire, acquire, close, release, release
-
Method Details
-
collectChannelPoolMetrics
Collect channel pool metrics into the providedMetricCollectorcollection, completing the returned future when all metric publishing is complete.- Parameters:
metrics- The collection to which all metrics should be added.- Returns:
- A future that is completed when all metric publishing is complete.
-