Home / Function/ appendCatchExceptionAfter() — netty Function Reference

appendCatchExceptionAfter() — netty Function Reference

Architecture documentation for the appendCatchExceptionAfter() function in AppendableCharSequenceBenchmark.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  9b423d87_ba24_dd04_87b0_9b3de906b5d0["appendCatchExceptionAfter()"]
  a2f3b91a_9f96_cb74_48f7_69352371a5b0["AppendableCharSequenceBenchmark"]
  9b423d87_ba24_dd04_87b0_9b3de906b5d0 -->|defined in| a2f3b91a_9f96_cb74_48f7_69352371a5b0
  849927dd_3af4_a929_39a1_87103e3c3526["checkReset()"]
  9b423d87_ba24_dd04_87b0_9b3de906b5d0 -->|calls| 849927dd_3af4_a929_39a1_87103e3c3526
  3e478c86_6ed0_8712_9805_c9b9733d3636["expand()"]
  9b423d87_ba24_dd04_87b0_9b3de906b5d0 -->|calls| 3e478c86_6ed0_8712_9805_c9b9733d3636
  style 9b423d87_ba24_dd04_87b0_9b3de906b5d0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

microbench/src/main/java/io/netty/microbenchmark/common/AppendableCharSequenceBenchmark.java lines 59–68

    @Benchmark
    public void appendCatchExceptionAfter() {
        checkReset();
        try {
            chars[pos++] = simulatedData;
        } catch (IndexOutOfBoundsException e) {
            expand();
            chars[pos - 1] = simulatedData;
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does appendCatchExceptionAfter() do?
appendCatchExceptionAfter() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/microbenchmark/common/AppendableCharSequenceBenchmark.java.
Where is appendCatchExceptionAfter() defined?
appendCatchExceptionAfter() is defined in microbench/src/main/java/io/netty/microbenchmark/common/AppendableCharSequenceBenchmark.java at line 59.
What does appendCatchExceptionAfter() call?
appendCatchExceptionAfter() calls 2 function(s): checkReset, expand.

Analyze Your Own Codebase

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

Try Supermodel Free