Home / Function/ reset() — netty Function Reference

reset() — netty Function Reference

Architecture documentation for the reset() function in DefaultMaxBytesRecvByteBufAllocator.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  96f3d531_b135_229b_1c7c_d69c01701d90["reset()"]
  410f1c17_73e1_5fa8_7547_955af2229cf5["HandleImpl"]
  96f3d531_b135_229b_1c7c_d69c01701d90 -->|defined in| 410f1c17_73e1_5fa8_7547_955af2229cf5
  e28f8fd4_317f_9494_c541_63c5e8551cfa["maxBytesPerRead()"]
  96f3d531_b135_229b_1c7c_d69c01701d90 -->|calls| e28f8fd4_317f_9494_c541_63c5e8551cfa
  1ea9bc6a_23b6_bb79_891e_6a19cfdbb77f["maxBytesPerIndividualRead()"]
  96f3d531_b135_229b_1c7c_d69c01701d90 -->|calls| 1ea9bc6a_23b6_bb79_891e_6a19cfdbb77f
  style 96f3d531_b135_229b_1c7c_d69c01701d90 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/main/java/io/netty/channel/DefaultMaxBytesRecvByteBufAllocator.java lines 57–61

        @Override
        public void reset(ChannelConfig config) {
            bytesToRead = maxBytesPerRead();
            individualReadMax = maxBytesPerIndividualRead();
        }

Domain

Subdomains

Frequently Asked Questions

What does reset() do?
reset() is a function in the netty codebase, defined in transport/src/main/java/io/netty/channel/DefaultMaxBytesRecvByteBufAllocator.java.
Where is reset() defined?
reset() is defined in transport/src/main/java/io/netty/channel/DefaultMaxBytesRecvByteBufAllocator.java at line 57.
What does reset() call?
reset() calls 2 function(s): maxBytesPerIndividualRead, maxBytesPerRead.

Analyze Your Own Codebase

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

Try Supermodel Free