Home / Function/ usableIds() — netty Function Reference

usableIds() — netty Function Reference

Architecture documentation for the usableIds() function in DnsQueryIdSpace.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  5f78c1cb_35ba_d688_bc73_8211642b15ff["usableIds()"]
  7fd57a0f_a8fa_aafd_24b0_9510d2efbadc["DnsQueryIdSpace"]
  5f78c1cb_35ba_d688_bc73_8211642b15ff -->|defined in| 7fd57a0f_a8fa_aafd_24b0_9510d2efbadc
  dc747dbe_ee06_49e5_5f1c_82af577c2f27["usableIds()"]
  dc747dbe_ee06_49e5_5f1c_82af577c2f27 -->|calls| 5f78c1cb_35ba_d688_bc73_8211642b15ff
  dc747dbe_ee06_49e5_5f1c_82af577c2f27["usableIds()"]
  5f78c1cb_35ba_d688_bc73_8211642b15ff -->|calls| dc747dbe_ee06_49e5_5f1c_82af577c2f27
  style 5f78c1cb_35ba_d688_bc73_8211642b15ff fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

resolver-dns/src/main/java/io/netty/resolver/dns/DnsQueryIdSpace.java lines 118–125

    int usableIds() {
        int usableIds = 0;
        for (DnsQueryIdRange bucket: idBuckets) {
            // If there is nothing stored in the index yet we can assume the whole bucket is usable
            usableIds += bucket == null ? BUCKET_SIZE : bucket.usableIds();
        }
        return usableIds;
    }

Subdomains

Calls

Called By

Frequently Asked Questions

What does usableIds() do?
usableIds() is a function in the netty codebase, defined in resolver-dns/src/main/java/io/netty/resolver/dns/DnsQueryIdSpace.java.
Where is usableIds() defined?
usableIds() is defined in resolver-dns/src/main/java/io/netty/resolver/dns/DnsQueryIdSpace.java at line 118.
What does usableIds() call?
usableIds() calls 1 function(s): usableIds.
What calls usableIds()?
usableIds() is called by 1 function(s): usableIds.

Analyze Your Own Codebase

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

Try Supermodel Free