Class NettyChannelHealthChecker

java.lang.Object
org.neo4j.driver.internal.async.pool.NettyChannelHealthChecker
All Implemented Interfaces:
io.netty.channel.pool.ChannelHealthChecker, AuthorizationStateListener

public class NettyChannelHealthChecker extends Object implements io.netty.channel.pool.ChannelHealthChecker, AuthorizationStateListener
  • Constructor Details

    • NettyChannelHealthChecker

      public NettyChannelHealthChecker(PoolSettings poolSettings, Clock clock, Logging logging)
  • Method Details

    • isHealthy

      public io.netty.util.concurrent.Future<Boolean> isHealthy(io.netty.channel.Channel channel)
      Specified by:
      isHealthy in interface io.netty.channel.pool.ChannelHealthChecker
    • onExpired

      public void onExpired()
      Description copied from interface: AuthorizationStateListener
      Notifies the listener that the credentials stored on the server side have expired.
      Specified by:
      onExpired in interface AuthorizationStateListener