Home / Function/ doResolveUncached() — netty Function Reference

doResolveUncached() — netty Function Reference

Architecture documentation for the doResolveUncached() function in DnsNameResolver.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  495e6f3e_fd8f_4c49_8cf2_c9316bf78b03["doResolveUncached()"]
  a8faea52_3f45_7b36_4918_3dfb9bd6ee9b["DnsNameResolver"]
  495e6f3e_fd8f_4c49_8cf2_c9316bf78b03 -->|defined in| a8faea52_3f45_7b36_4918_3dfb9bd6ee9b
  93fb5310_bb1e_e6b4_9f0e_3e1228402758["doResolveNow()"]
  93fb5310_bb1e_e6b4_9f0e_3e1228402758 -->|calls| 495e6f3e_fd8f_4c49_8cf2_c9316bf78b03
  ec46f075_dc46_9735_e431_9f2867daf501["doResolveAllUncached()"]
  495e6f3e_fd8f_4c49_8cf2_c9316bf78b03 -->|calls| ec46f075_dc46_9735_e431_9f2867daf501
  2a3cee87_1d7f_e127_faf9_4222d043bc36["trySuccess()"]
  495e6f3e_fd8f_4c49_8cf2_c9316bf78b03 -->|calls| 2a3cee87_1d7f_e127_faf9_4222d043bc36
  f155e8ba_bafb_afc3_0b7a_9f4916a192be["tryFailure()"]
  495e6f3e_fd8f_4c49_8cf2_c9316bf78b03 -->|calls| f155e8ba_bafb_afc3_0b7a_9f4916a192be
  style 495e6f3e_fd8f_4c49_8cf2_c9316bf78b03 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

resolver-dns/src/main/java/io/netty/resolver/dns/DnsNameResolver.java lines 1103–1118

    private void doResolveUncached(Channel channel,
                                   String hostname,
                                   DnsRecord[] additionals,
                                   final Promise<InetAddress> promise,
                                   DnsCache resolveCache, boolean completeEarlyIfPossible) {
        final Promise<List<InetAddress>> allPromise = executor().newPromise();
        doResolveAllUncached(channel, hostname, additionals, promise, allPromise,
                resolveCache, completeEarlyIfPossible);
        allPromise.addListener((FutureListener<List<InetAddress>>) future -> {
            if (future.isSuccess()) {
                trySuccess(promise, future.getNow().get(0));
            } else {
                tryFailure(promise, future.cause());
            }
        });
    }

Subdomains

Called By

Frequently Asked Questions

What does doResolveUncached() do?
doResolveUncached() is a function in the netty codebase, defined in resolver-dns/src/main/java/io/netty/resolver/dns/DnsNameResolver.java.
Where is doResolveUncached() defined?
doResolveUncached() is defined in resolver-dns/src/main/java/io/netty/resolver/dns/DnsNameResolver.java at line 1103.
What does doResolveUncached() call?
doResolveUncached() calls 3 function(s): doResolveAllUncached, tryFailure, trySuccess.
What calls doResolveUncached()?
doResolveUncached() is called by 1 function(s): doResolveNow.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free