@ThreadSafe public static interface NameResolver.Listener
All methods are expected to return quickly.
| Modifier and Type | Method and Description |
|---|---|
void |
onError(Status error)
Handles an error from the resolver.
|
void |
onUpdate(List<ResolvedServerInfo> servers,
Attributes config)
Handles updates on resolved addresses and config.
|
void onUpdate(List<ResolvedServerInfo> servers, Attributes config)
Implementations will not modify the given servers.
void onError(Status error)
error - a non-OK status