| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final ConcurrentMap | |
| private static final Logger | |
| pack-priv final ChannelMetricsRecorder | |
| pack-priv final AddressResolverGroup |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static AddressResolverGroupMetrics | |
| protected AddressResolver | newResolver(EventExecutor executor)
Implements abstract io. getResolver(EventExecutor) to create a new AddressResolver.
|
| cache | back to summary |
|---|---|
| pack-priv static final ConcurrentMap<Integer, AddressResolverGroupMetrics<?>> cache | |
| log | back to summary |
|---|---|
| private static final Logger log | |
| recorder | back to summary |
|---|---|
| pack-priv final ChannelMetricsRecorder recorder | |
| resolverGroup | back to summary |
|---|---|
| pack-priv final AddressResolverGroup<T> resolverGroup | |
| AddressResolverGroupMetrics | back to summary |
|---|---|
| pack-priv AddressResolverGroupMetrics(AddressResolverGroup<T> resolverGroup, ChannelMetricsRecorder recorder) | |
| getOrCreate | back to summary |
|---|---|
| pack-priv static AddressResolverGroupMetrics | |
| newResolver | back to summary |
|---|---|
| protected AddressResolver Implements abstract io. Doc from io. Invoked by
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final ChannelMetricsRecorder | |
| pack-priv final AddressResolver |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Implements io. |
| public boolean | isResolved(SocketAddress address)
Implements io. true if and only if the specified address has been resolved.
|
| public boolean | isSupported(SocketAddress address)
Implements io. true if and only if the specified address is supported by this resolved.
|
| pack-priv void | |
| public Future | resolve(SocketAddress
the address to resolve address)Implements io. |
| public Future | resolve(SocketAddress
the address to resolve address, Promise<T> the promise)Promise which will be fulfilled when the name resolution is finishedImplements io. |
| public Future | resolveAll(SocketAddress
the address to resolve address)Implements io. |
| public Future | resolveAll(SocketAddress
the address to resolve address, Promise<List<T>> the promise)Promise which will be fulfilled when the name resolution is finishedImplements io. |
| pack-priv Future | |
| pack-priv Future |
| recorder | back to summary |
|---|---|
| pack-priv final ChannelMetricsRecorder recorder | |
| resolver | back to summary |
|---|---|
| pack-priv final AddressResolver<T> resolver | |
| DelegatingAddressResolver | back to summary |
|---|---|
| pack-priv DelegatingAddressResolver(ChannelMetricsRecorder recorder, AddressResolver<T> resolver) | |
| close | back to summary |
|---|---|
| public void close() Implements io. Doc from io. Closes all the resources allocated and used by this resolver.
| |
| isResolved | back to summary |
|---|---|
| public boolean isResolved(SocketAddress address) Implements io. Doc from io. Returns
| |
| isSupported | back to summary |
|---|---|
| public boolean isSupported(SocketAddress address) Implements io. Doc from io. Returns
| |
| record | back to summary |
|---|---|
| pack-priv void record(long resolveTimeStart, String status, SocketAddress remoteAddress) | |
| resolve | back to summary |
|---|---|
| public Future Implements io. Doc from io. Resolves the specified address. If the specified address is resolved already, this method does nothing but returning the original address.
| |
| resolve | back to summary |
|---|---|
| public Future Implements io. Doc from io. Resolves the specified address. If the specified address is resolved already, this method does nothing but returning the original address.
| |
| resolveAll | back to summary |
|---|---|
| public Future Implements io. Doc from io. Resolves the specified address. If the specified address is resolved already, this method does nothing but returning the original address.
| |
| resolveAll | back to summary |
|---|---|
| public Future Implements io. Doc from io. Resolves the specified address. If the specified address is resolved already, this method does nothing but returning the original address.
| |
| resolveAllInternal | back to summary |
|---|---|
| pack-priv Future | |
| resolveInternal | back to summary |
|---|---|
| pack-priv Future | |