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.ChannelPool
A ChannelPool implementation that allows a caller to asynchronously retrieve channel-pool related metrics via collectChannelPoolMetrics(MetricCollector).
  • Method Summary

    Modifier and Type
    Method
    Description
    Collect channel pool metrics into the provided MetricCollector collection, 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

      CompletableFuture<Void> collectChannelPoolMetrics(MetricCollector metrics)
      Collect channel pool metrics into the provided MetricCollector collection, 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.