Module org.neo4j.driver
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
-
Field Summary
Fields inherited from interface io.netty.channel.pool.ChannelHealthChecker
ACTIVE
-
Constructor Summary
ConstructorsConstructorDescriptionNettyChannelHealthChecker
(PoolSettings poolSettings, Clock clock, Logging logging) -
Method Summary
-
Constructor Details
-
NettyChannelHealthChecker
-
-
Method Details
-
isHealthy
- Specified by:
isHealthy
in interfaceio.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 interfaceAuthorizationStateListener
-