Home / Function/ flush() — netty Function Reference

flush() — netty Function Reference

Architecture documentation for the flush() function in ProxyHandler.java from the netty codebase.

Function java Buffer Allocators calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  2d49a670_3970_60e0_a8e9_e3dcb4609aa0["flush()"]
  3f5c9c39_cf82_6deb_e43b_1a9ad5499a99["ProxyHandler"]
  2d49a670_3970_60e0_a8e9_e3dcb4609aa0 -->|defined in| 3f5c9c39_cf82_6deb_e43b_1a9ad5499a99
  cb0b2332_f25d_1f61_9378_a90a595d13ac["setConnectSuccess()"]
  cb0b2332_f25d_1f61_9378_a90a595d13ac -->|calls| 2d49a670_3970_60e0_a8e9_e3dcb4609aa0
  3a0a34d2_5ea7_98c5_9064_2be33b66bcc4["writePendingWrites()"]
  2d49a670_3970_60e0_a8e9_e3dcb4609aa0 -->|calls| 3a0a34d2_5ea7_98c5_9064_2be33b66bcc4
  style 2d49a670_3970_60e0_a8e9_e3dcb4609aa0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler-proxy/src/main/java/io/netty/handler/proxy/ProxyHandler.java lines 408–416

    @Override
    public final void flush(ChannelHandlerContext ctx) throws Exception {
        if (finished) {
            writePendingWrites();
            ctx.flush();
        } else {
            flushedPrematurely = true;
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does flush() do?
flush() is a function in the netty codebase, defined in handler-proxy/src/main/java/io/netty/handler/proxy/ProxyHandler.java.
Where is flush() defined?
flush() is defined in handler-proxy/src/main/java/io/netty/handler/proxy/ProxyHandler.java at line 408.
What does flush() call?
flush() calls 1 function(s): writePendingWrites.
What calls flush()?
flush() is called by 1 function(s): setConnectSuccess.

Analyze Your Own Codebase

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

Try Supermodel Free