Home / Function/ MqttQoS() — netty Function Reference

MqttQoS() — netty Function Reference

Architecture documentation for the MqttQoS() function in MqttQoSValueOfBench.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  7e81341f_6d7e_597b_8342_673cd2ebe9e8["MqttQoS()"]
  0c48f3fa_dcc4_727d_b867_370c48d09c33["MqttQoSValueOfBench"]
  7e81341f_6d7e_597b_8342_673cd2ebe9e8 -->|defined in| 0c48f3fa_dcc4_727d_b867_370c48d09c33
  style 7e81341f_6d7e_597b_8342_673cd2ebe9e8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

microbench/src/main/java/io/netty/handler/codec/mqtt/MqttQoSValueOfBench.java lines 87–94

    @Benchmark
    public MqttQoS getViaArray() {
        long next = this.next;
        int nextIndex = (int) (next & mask);
        MqttQoS mqttQoS = arrayValueOf(types[nextIndex]);
        this.next = next + 1;
        return mqttQoS;
    }

Domain

Subdomains

Frequently Asked Questions

What does MqttQoS() do?
MqttQoS() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/handler/codec/mqtt/MqttQoSValueOfBench.java.
Where is MqttQoS() defined?
MqttQoS() is defined in microbench/src/main/java/io/netty/handler/codec/mqtt/MqttQoSValueOfBench.java at line 87.

Analyze Your Own Codebase

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

Try Supermodel Free