Home / Function/ awaitAndCheckError() — netty Function Reference

awaitAndCheckError() — netty Function Reference

Architecture documentation for the awaitAndCheckError() function in QuicChannelConnectTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  a887d229_3e28_fe9e_0a77_6b48d0666fc3["awaitAndCheckError()"]
  1e1bc485_1969_4537_ef9b_f28971b2f663["QuicChannelConnectTest"]
  a887d229_3e28_fe9e_0a77_6b48d0666fc3 -->|defined in| 1e1bc485_1969_4537_ef9b_f28971b2f663
  7aa218e9_1379_cb51_497d_5a9d99a4ccd1["testConnectWith0RTT()"]
  7aa218e9_1379_cb51_497d_5a9d99a4ccd1 -->|calls| a887d229_3e28_fe9e_0a77_6b48d0666fc3
  style a887d229_3e28_fe9e_0a77_6b48d0666fc3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-native-quic/src/test/java/io/netty/handler/codec/quic/QuicChannelConnectTest.java lines 985–991

    private static void awaitAndCheckError(CountDownLatch latch, AtomicReference<Throwable> errorRef) throws Throwable {
        while (!latch.await(500, TimeUnit.MILLISECONDS)) {
            if (errorRef.get() != null) {
                throw errorRef.get();
            }
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does awaitAndCheckError() do?
awaitAndCheckError() is a function in the netty codebase, defined in codec-native-quic/src/test/java/io/netty/handler/codec/quic/QuicChannelConnectTest.java.
Where is awaitAndCheckError() defined?
awaitAndCheckError() is defined in codec-native-quic/src/test/java/io/netty/handler/codec/quic/QuicChannelConnectTest.java at line 985.
What calls awaitAndCheckError()?
awaitAndCheckError() is called by 1 function(s): testConnectWith0RTT.

Analyze Your Own Codebase

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

Try Supermodel Free