public interface ChannelHealthChecker
Modifier and Type | Field and Description |
---|---|
static ChannelHealthChecker |
ACTIVE
|
Modifier and Type | Method and Description |
---|---|
Future<Boolean> |
isHealthy(Channel channel)
Check if the given channel is healthy which means it can be used.
|
static final ChannelHealthChecker ACTIVE
Future<Boolean> isHealthy(Channel channel)
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
.Copyright © 2008–2024 The Netty Project. All rights reserved.