Home / Function/ reset() — netty Function Reference

reset() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  8388fb77_56fa_4418_bb7a_4d34054052be["reset()"]
  210addab_3e2b_6227_c258_ee63bb179515["MaxMessageHandle"]
  8388fb77_56fa_4418_bb7a_4d34054052be -->|defined in| 210addab_3e2b_6227_c258_ee63bb179515
  464cb610_8be3_873a_cf0a_c67da1a30e22["maxMessagesPerRead()"]
  8388fb77_56fa_4418_bb7a_4d34054052be -->|calls| 464cb610_8be3_873a_cf0a_c67da1a30e22
  style 8388fb77_56fa_4418_bb7a_4d34054052be fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/main/java/io/netty/channel/DefaultMaxMessagesRecvByteBufAllocator.java lines 111–116

        @Override
        public void reset(ChannelConfig config) {
            this.config = config;
            maxMessagePerRead = maxMessagesPerRead();
            totalMessages = totalBytesRead = 0;
        }

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/DefaultMaxMessagesRecvByteBufAllocator.java.
Where is reset() defined?
reset() is defined in transport/src/main/java/io/netty/channel/DefaultMaxMessagesRecvByteBufAllocator.java at line 111.
What does reset() call?
reset() calls 1 function(s): maxMessagesPerRead.

Analyze Your Own Codebase

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

Try Supermodel Free