Interface ChannelHealthChecker


public interface ChannelHealthChecker
Called before a Channel will be returned via ChannelPool.acquire() or ChannelPool.acquire(Promise).
  • Field Details

  • Method Details

    • isHealthy

      Future<java.lang.Boolean> isHealthy(Channel channel)
      Check if the given channel is healthy which means it can be used. The returned Future is notified once the check is complete. If notified with Boolean.TRUE it can be used Boolean.FALSE otherwise. This method will be called by the EventLoop of the Channel.