@FunctionalInterface public interface ServerAddressResolver
| Modifier and Type | Method and Description |
|---|---|
Set<ServerAddress> |
resolve(ServerAddress address)
Resolve the given address to a set of other addresses.
|
Set<ServerAddress> resolve(ServerAddress address)
LinkedHashSet to reserve the iteration order of a set.
Exceptions thrown by this method will be logged and driver will continue using the original address.address - the address to resolve.