Home / Function/ checkForErrors() — netty Function Reference

checkForErrors() — netty Function Reference

Architecture documentation for the checkForErrors() function in PooledByteBufAllocatorTest.java from the netty codebase.

Function java Buffer Search calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  bfa1f5a5_dead_b949_f82d_244f64efb5d5["checkForErrors()"]
  f8855572_2abf_1bf6_a32b_5cf6d1cf4947["PooledByteBufAllocatorTest"]
  bfa1f5a5_dead_b949_f82d_244f64efb5d5 -->|defined in| f8855572_2abf_1bf6_a32b_5cf6d1cf4947
  df6170b5_52a9_f3ad_7655_7d0e8f7fea0b["testConcurrentUsage()"]
  df6170b5_52a9_f3ad_7655_7d0e8f7fea0b -->|calls| bfa1f5a5_dead_b949_f82d_244f64efb5d5
  0b4808a8_2897_6029_b5b6_96ac29b77599["isFinished()"]
  bfa1f5a5_dead_b949_f82d_244f64efb5d5 -->|calls| 0b4808a8_2897_6029_b5b6_96ac29b77599
  87eef12d_30b1_a2d7_ab7f_769716cfbc02["checkForError()"]
  bfa1f5a5_dead_b949_f82d_244f64efb5d5 -->|calls| 87eef12d_30b1_a2d7_ab7f_769716cfbc02
  style bfa1f5a5_dead_b949_f82d_244f64efb5d5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/test/java/io/netty/buffer/PooledByteBufAllocatorTest.java lines 595–601

    private static void checkForErrors(List<AllocationThread> threads) throws Throwable {
        for (AllocationThread t : threads) {
            if (t.isFinished()) {
                t.checkForError();
            }
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does checkForErrors() do?
checkForErrors() is a function in the netty codebase, defined in buffer/src/test/java/io/netty/buffer/PooledByteBufAllocatorTest.java.
Where is checkForErrors() defined?
checkForErrors() is defined in buffer/src/test/java/io/netty/buffer/PooledByteBufAllocatorTest.java at line 595.
What does checkForErrors() call?
checkForErrors() calls 2 function(s): checkForError, isFinished.
What calls checkForErrors()?
checkForErrors() is called by 1 function(s): testConcurrentUsage.

Analyze Your Own Codebase

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

Try Supermodel Free