run() — netty Function Reference
Architecture documentation for the run() function in Cache.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD bd693175_180f_1e1a_9d33_3ba960b9541f["run()"] 0a5c7e5a_0868_706c_64ef_570d8eda93ed["Entries"] bd693175_180f_1e1a_9d33_3ba960b9541f -->|defined in| 0a5c7e5a_0868_706c_64ef_570d8eda93ed 49907d70_83f6_65fd_265c_73a9a8cba80a["clearAndCancel()"] bd693175_180f_1e1a_9d33_3ba960b9541f -->|calls| 49907d70_83f6_65fd_265c_73a9a8cba80a style bd693175_180f_1e1a_9d33_3ba960b9541f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
resolver-dns/src/main/java/io/netty/resolver/dns/Cache.java lines 276–290
@Override
public void run() {
// We always remove all entries for a hostname once one entry expire. This is not the
// most efficient to do but this way we can guarantee that if a DnsResolver
// be configured to prefer one ip family over the other we will not return unexpected
// results to the enduser if one of the A or AAAA records has different TTL settings.
//
// As a TTL is just a hint of the maximum time a cache is allowed to cache stuff it's
// completely fine to remove the entry even if the TTL is not reached yet.
//
// See https://github.com/netty/netty/issues/7329
resolveCache.remove(hostname, this);
clearAndCancel();
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does run() do?
run() is a function in the netty codebase, defined in resolver-dns/src/main/java/io/netty/resolver/dns/Cache.java.
Where is run() defined?
run() is defined in resolver-dns/src/main/java/io/netty/resolver/dns/Cache.java at line 276.
What does run() call?
run() calls 1 function(s): clearAndCancel.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free