setRecvByteBufAllocator() — netty Function Reference
Architecture documentation for the setRecvByteBufAllocator() function in DefaultChannelConfig.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD ece07321_dc56_ce1f_2dff_a5313c790382["setRecvByteBufAllocator()"] 13466572_b18b_f364_a7fa_7c3db65248c3["DefaultChannelConfig"] ece07321_dc56_ce1f_2dff_a5313c790382 -->|defined in| 13466572_b18b_f364_a7fa_7c3db65248c3 037d20be_c6e7_606e_2873_4e6d5ff2f290["DefaultChannelConfig()"] 037d20be_c6e7_606e_2873_4e6d5ff2f290 -->|calls| ece07321_dc56_ce1f_2dff_a5313c790382 7ae339e5_a35c_632e_1923_5c9f3c4a5c62["setOption()"] 7ae339e5_a35c_632e_1923_5c9f3c4a5c62 -->|calls| ece07321_dc56_ce1f_2dff_a5313c790382 c5fb1a22_db30_b294_2d12_c5f44facb6a8["ChannelConfig()"] c5fb1a22_db30_b294_2d12_c5f44facb6a8 -->|calls| ece07321_dc56_ce1f_2dff_a5313c790382 style ece07321_dc56_ce1f_2dff_a5313c790382 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport/src/main/java/io/netty/channel/DefaultChannelConfig.java lines 323–330
private void setRecvByteBufAllocator(RecvByteBufAllocator allocator, ChannelMetadata metadata) {
checkNotNull(allocator, "allocator");
checkNotNull(metadata, "metadata");
if (allocator instanceof MaxMessagesRecvByteBufAllocator) {
((MaxMessagesRecvByteBufAllocator) allocator).maxMessagesPerRead(metadata.defaultMaxMessagesPerRead());
}
setRecvByteBufAllocator(allocator);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does setRecvByteBufAllocator() do?
setRecvByteBufAllocator() is a function in the netty codebase, defined in transport/src/main/java/io/netty/channel/DefaultChannelConfig.java.
Where is setRecvByteBufAllocator() defined?
setRecvByteBufAllocator() is defined in transport/src/main/java/io/netty/channel/DefaultChannelConfig.java at line 323.
What calls setRecvByteBufAllocator()?
setRecvByteBufAllocator() is called by 3 function(s): ChannelConfig, DefaultChannelConfig, setOption.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free