| Modifier and Type | Field and Description |
|---|---|
| private final NameResolver | |
| private final EventExecutor | |
| private final ConcurrentMap | |
| private final ConcurrentMap |
| Access | Constructor and Description |
|---|---|
| pack-priv | InflightNameResolver(EventExecutor executor, NameResolver<T> delegate, ConcurrentMap<String, Promise<T>> resolvesInProgress, ConcurrentMap<String, Promise<List<T>>> resolveAllsInProgress)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Implements io. |
| public Future | resolve(String
the name to resolve inetHost)Implements io. |
| public Promise | resolve(String
the name to resolve inetHost, Promise<T> the promise)Promise which will be fulfilled when the name resolution is finishedImplements io. |
| private <U> Promise | |
| public Future | resolveAll(String
the name to resolve inetHost)Implements io. |
| public Promise | resolveAll(String
the name to resolve inetHost, Promise<List<T>> the promise)Promise which will be fulfilled when the name resolution is finishedImplements io. |
| public String | |
| private static <T> void |
| delegate | back to summary |
|---|---|
| private final NameResolver<T> delegate | |
| executor | back to summary |
|---|---|
| private final EventExecutor executor | |
| resolveAllsInProgress | back to summary |
|---|---|
| private final ConcurrentMap<String, Promise<List<T>>> resolveAllsInProgress | |
| resolvesInProgress | back to summary |
|---|---|
| private final ConcurrentMap<String, Promise<T>> resolvesInProgress | |
| InflightNameResolver | back to summary |
|---|---|
| pack-priv InflightNameResolver(EventExecutor executor, NameResolver<T> delegate, ConcurrentMap<String, Promise<T>> resolvesInProgress, ConcurrentMap<String, Promise<List<T>>> resolveAllsInProgress) | |
| close | back to summary |
|---|---|
| public void close() Implements io. Doc from io. Closes all the resources allocated and used by this resolver.
| |
| resolve | back to summary |
|---|---|
| public Future Implements io. Doc from io. Resolves the specified name into an address. | |
| resolve | back to summary |
|---|---|
| public Promise Implements io. Doc from io. Resolves the specified name into an address. | |
| resolve | back to summary |
|---|---|
| private <U> Promise | |
| resolveAll | back to summary |
|---|---|
| public Future Implements io. Doc from io. Resolves the specified host name and port into a list of address. | |
| resolveAll | back to summary |
|---|---|
| public Promise Implements io. Doc from io. Resolves the specified host name and port into a list of address. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| transferResult | back to summary |
|---|---|
| private static <T> void transferResult(Future<T> src, Promise<T> dst) | |