Home / Function/ close() — netty Function Reference

close() — netty Function Reference

Architecture documentation for the close() function in UniformStreamByteDistributor.java from the netty codebase.

Function java Buffer Allocators calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  1e906bd4_0f9f_15e3_0931_d67395e16bd9["close()"]
  52e74647_0bb8_efef_82ff_44ea07c3c527["State"]
  1e906bd4_0f9f_15e3_0931_d67395e16bd9 -->|defined in| 52e74647_0bb8_efef_82ff_44ea07c3c527
  85a0db04_bf80_87a7_f9ce_baa702dc7660["UniformStreamByteDistributor()"]
  85a0db04_bf80_87a7_f9ce_baa702dc7660 -->|calls| 1e906bd4_0f9f_15e3_0931_d67395e16bd9
  cf2d15f2_54e5_7731_0ea5_c72b2f0f4148["removeFromQueue()"]
  1e906bd4_0f9f_15e3_0931_d67395e16bd9 -->|calls| cf2d15f2_54e5_7731_0ea5_c72b2f0f4148
  eb6bf10d_b6fd_8515_c69e_9cd09b8d3ba9["updateStreamableBytes()"]
  1e906bd4_0f9f_15e3_0931_d67395e16bd9 -->|calls| eb6bf10d_b6fd_8515_c69e_9cd09b8d3ba9
  style 1e906bd4_0f9f_15e3_0931_d67395e16bd9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/UniformStreamByteDistributor.java lines 194–200

        void close() {
            // Remove this state from the queue.
            removeFromQueue();

            // Clear the streamable bytes.
            updateStreamableBytes(0, false, 0);
        }

Domain

Subdomains

Frequently Asked Questions

What does close() do?
close() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/UniformStreamByteDistributor.java.
Where is close() defined?
close() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/UniformStreamByteDistributor.java at line 194.
What does close() call?
close() calls 2 function(s): removeFromQueue, updateStreamableBytes.
What calls close()?
close() is called by 1 function(s): UniformStreamByteDistributor.

Analyze Your Own Codebase

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

Try Supermodel Free