checkMaxBytesPerReadPair() — netty Function Reference
Architecture documentation for the checkMaxBytesPerReadPair() function in DefaultMaxBytesRecvByteBufAllocator.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 7eb09b0b_cb8c_5235_37aa_026e65773764["checkMaxBytesPerReadPair()"] a6fffba9_29a8_b949_2c80_f2125cda627f["DefaultMaxBytesRecvByteBufAllocator"] 7eb09b0b_cb8c_5235_37aa_026e65773764 -->|defined in| a6fffba9_29a8_b949_2c80_f2125cda627f 6515f8a3_c96f_d2db_e34e_fbcc71228ed5["DefaultMaxBytesRecvByteBufAllocator()"] 6515f8a3_c96f_d2db_e34e_fbcc71228ed5 -->|calls| 7eb09b0b_cb8c_5235_37aa_026e65773764 1ea9bc6a_23b6_bb79_891e_6a19cfdbb77f["maxBytesPerIndividualRead()"] 7eb09b0b_cb8c_5235_37aa_026e65773764 -->|calls| 1ea9bc6a_23b6_bb79_891e_6a19cfdbb77f style 7eb09b0b_cb8c_5235_37aa_026e65773764 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport/src/main/java/io/netty/channel/DefaultMaxBytesRecvByteBufAllocator.java lines 173–181
private static void checkMaxBytesPerReadPair(int maxBytesPerRead, int maxBytesPerIndividualRead) {
checkPositive(maxBytesPerRead, "maxBytesPerRead");
checkPositive(maxBytesPerIndividualRead, "maxBytesPerIndividualRead");
if (maxBytesPerRead < maxBytesPerIndividualRead) {
throw new IllegalArgumentException(
"maxBytesPerRead cannot be less than " +
"maxBytesPerIndividualRead (" + maxBytesPerIndividualRead + "): " + maxBytesPerRead);
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does checkMaxBytesPerReadPair() do?
checkMaxBytesPerReadPair() is a function in the netty codebase, defined in transport/src/main/java/io/netty/channel/DefaultMaxBytesRecvByteBufAllocator.java.
Where is checkMaxBytesPerReadPair() defined?
checkMaxBytesPerReadPair() is defined in transport/src/main/java/io/netty/channel/DefaultMaxBytesRecvByteBufAllocator.java at line 173.
What does checkMaxBytesPerReadPair() call?
checkMaxBytesPerReadPair() calls 1 function(s): maxBytesPerIndividualRead.
What calls checkMaxBytesPerReadPair()?
checkMaxBytesPerReadPair() is called by 1 function(s): DefaultMaxBytesRecvByteBufAllocator.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free