Interface SdkChannelPool
-
- All Superinterfaces:
AutoCloseable,io.netty.channel.pool.ChannelPool,Closeable
- All Known Implementing Classes:
BetterFixedChannelPool,CancellableAcquireChannelPool,HealthCheckedChannelPool,Http2MultiplexedChannelPool,HttpOrHttp2ChannelPool,IdleConnectionCountingChannelPool,ListenerInvokingChannelPool,ReleaseOnceChannelPool
public interface SdkChannelPool extends io.netty.channel.pool.ChannelPoolAChannelPoolimplementation that allows a caller to asynchronously retrieve channel-pool related metrics viacollectChannelPoolMetrics(MetricCollector).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompletableFuture<Void>collectChannelPoolMetrics(MetricCollector metrics)Collect channel pool metrics into the providedMetricCollectorcollection, completing the returned future when all metric publishing is complete.
-
-
-
Method Detail
-
collectChannelPoolMetrics
CompletableFuture<Void> collectChannelPoolMetrics(MetricCollector metrics)
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.
-
-