public static interface MultiHostConnectionStrategy.HostSelector
SocketAddress and MultiHostConnectionStrategy.HostStatus.| Modifier and Type | Method and Description |
|---|---|
boolean |
test(SocketAddress address,
MultiHostConnectionStrategy.HostStatus hostStatus)
Perform a check and return
true whether the given host qualifies as target server. |
boolean test(SocketAddress address, MultiHostConnectionStrategy.HostStatus hostStatus)
true whether the given host qualifies as target server.address - must not be nullhostStatus - must not be nulltrue if the given host qualifies as target server; false otherwise.Copyright © 2023. All rights reserved.