Home / Function/ getMaxMessagesPerRead() — netty Function Reference

getMaxMessagesPerRead() — netty Function Reference

Architecture documentation for the getMaxMessagesPerRead() function in DefaultChannelConfig.java from the netty codebase.

Function java Buffer Search called by 1

Entity Profile

Dependency Diagram

graph TD
  a3126cbb_7fb0_1e6d_0120_48cca64b8b45["getMaxMessagesPerRead()"]
  13466572_b18b_f364_a7fa_7c3db65248c3["DefaultChannelConfig"]
  a3126cbb_7fb0_1e6d_0120_48cca64b8b45 -->|defined in| 13466572_b18b_f364_a7fa_7c3db65248c3
  a6209262_552e_c68f_af6c_a3ac31780733["T()"]
  a6209262_552e_c68f_af6c_a3ac31780733 -->|calls| a3126cbb_7fb0_1e6d_0120_48cca64b8b45
  style a3126cbb_7fb0_1e6d_0120_48cca64b8b45 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/main/java/io/netty/channel/DefaultChannelConfig.java lines 227–237

    @Override
    @Deprecated
    public int getMaxMessagesPerRead() {
        try {
            MaxMessagesRecvByteBufAllocator allocator = getRecvByteBufAllocator();
            return allocator.maxMessagesPerRead();
        } catch (ClassCastException e) {
            throw new IllegalStateException("getRecvByteBufAllocator() must return an object of type " +
                    "MaxMessagesRecvByteBufAllocator", e);
        }
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does getMaxMessagesPerRead() do?
getMaxMessagesPerRead() is a function in the netty codebase, defined in transport/src/main/java/io/netty/channel/DefaultChannelConfig.java.
Where is getMaxMessagesPerRead() defined?
getMaxMessagesPerRead() is defined in transport/src/main/java/io/netty/channel/DefaultChannelConfig.java at line 227.
What calls getMaxMessagesPerRead()?
getMaxMessagesPerRead() is called by 1 function(s): T.

Analyze Your Own Codebase

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

Try Supermodel Free