Home / Function/ update() — netty Function Reference

update() — netty Function Reference

Architecture documentation for the update() function in DnsResolveContext.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  20e320db_4760_d5ed_1331_acfb0409926a["update()"]
  6b6dbdee_b04a_1cf3_d97a_1f91932357e8["AuthoritativeNameServer"]
  20e320db_4760_d5ed_1331_acfb0409926a -->|defined in| 6b6dbdee_b04a_1cf3_d97a_1f91932357e8
  ce863271_9615_37a8_a591_eac4f9ad92d1["handleWithAdditional()"]
  ce863271_9615_37a8_a591_eac4f9ad92d1 -->|calls| 20e320db_4760_d5ed_1331_acfb0409926a
  7da11410_1c67_395f_375c_64155bdbcc56["handleWithoutAdditionals()"]
  7da11410_1c67_395f_375c_64155bdbcc56 -->|calls| 20e320db_4760_d5ed_1331_acfb0409926a
  style 20e320db_4760_d5ed_1331_acfb0409926a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

resolver-dns/src/main/java/io/netty/resolver/dns/DnsResolveContext.java lines 1471–1475

        void update(InetSocketAddress address, long ttl) {
            assert this.address == null || this.address.isUnresolved();
            this.address = address;
            this.ttl = min(this.ttl, ttl);
        }

Subdomains

Frequently Asked Questions

What does update() do?
update() is a function in the netty codebase, defined in resolver-dns/src/main/java/io/netty/resolver/dns/DnsResolveContext.java.
Where is update() defined?
update() is defined in resolver-dns/src/main/java/io/netty/resolver/dns/DnsResolveContext.java at line 1471.
What calls update()?
update() is called by 2 function(s): handleWithAdditional, handleWithoutAdditionals.

Analyze Your Own Codebase

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

Try Supermodel Free