Home / Function/ awaitSettings() — netty Function Reference

awaitSettings() — netty Function Reference

Architecture documentation for the awaitSettings() function in Http2SettingsHandler.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  26516a05_d929_8080_14f1_9b302714ca6a["awaitSettings()"]
  e6d1b4f0_4504_7033_9b12_8cc050126b17["Http2SettingsHandler"]
  26516a05_d929_8080_14f1_9b302714ca6a -->|defined in| e6d1b4f0_4504_7033_9b12_8cc050126b17
  style 26516a05_d929_8080_14f1_9b302714ca6a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

example/src/main/java/io/netty/example/http2/helloworld/client/Http2SettingsHandler.java lines 47–54

    public void awaitSettings(long timeout, TimeUnit unit) throws Exception {
        if (!promise.awaitUninterruptibly(timeout, unit)) {
            throw new IllegalStateException("Timed out waiting for settings");
        }
        if (!promise.isSuccess()) {
            throw new RuntimeException(promise.cause());
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does awaitSettings() do?
awaitSettings() is a function in the netty codebase, defined in example/src/main/java/io/netty/example/http2/helloworld/client/Http2SettingsHandler.java.
Where is awaitSettings() defined?
awaitSettings() is defined in example/src/main/java/io/netty/example/http2/helloworld/client/Http2SettingsHandler.java at line 47.

Analyze Your Own Codebase

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

Try Supermodel Free