calculateMaxBytesPerGatheringWrite() — netty Function Reference
Architecture documentation for the calculateMaxBytesPerGatheringWrite() function in KQueueSocketChannelConfig.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD f7f0f416_ae4b_b6be_1be7_27cb48d92dce["calculateMaxBytesPerGatheringWrite()"] c726b6aa_58c3_c23e_8d70_411bf7bf32b9["KQueueSocketChannelConfig"] f7f0f416_ae4b_b6be_1be7_27cb48d92dce -->|defined in| c726b6aa_58c3_c23e_8d70_411bf7bf32b9 d743937a_ad7e_f8d4_1b08_1e7d443a6e7f["KQueueSocketChannelConfig()"] d743937a_ad7e_f8d4_1b08_1e7d443a6e7f -->|calls| f7f0f416_ae4b_b6be_1be7_27cb48d92dce 291a5b0f_3145_7976_20af_8ecddf946a20["getSendBufferSize()"] f7f0f416_ae4b_b6be_1be7_27cb48d92dce -->|calls| 291a5b0f_3145_7976_20af_8ecddf946a20 style f7f0f416_ae4b_b6be_1be7_27cb48d92dce fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport-classes-kqueue/src/main/java/io/netty/channel/kqueue/KQueueSocketChannelConfig.java lines 406–412
private void calculateMaxBytesPerGatheringWrite() {
// Multiply by 2 to give some extra space in case the OS can process write data faster than we can provide.
int newSendBufferSize = getSendBufferSize() << 1;
if (newSendBufferSize > 0) {
setMaxBytesPerGatheringWrite(newSendBufferSize);
}
}
Domain
Subdomains
Defined In
Calls
Called By
Source
Frequently Asked Questions
What does calculateMaxBytesPerGatheringWrite() do?
calculateMaxBytesPerGatheringWrite() is a function in the netty codebase, defined in transport-classes-kqueue/src/main/java/io/netty/channel/kqueue/KQueueSocketChannelConfig.java.
Where is calculateMaxBytesPerGatheringWrite() defined?
calculateMaxBytesPerGatheringWrite() is defined in transport-classes-kqueue/src/main/java/io/netty/channel/kqueue/KQueueSocketChannelConfig.java at line 406.
What does calculateMaxBytesPerGatheringWrite() call?
calculateMaxBytesPerGatheringWrite() calls 1 function(s): getSendBufferSize.
What calls calculateMaxBytesPerGatheringWrite()?
calculateMaxBytesPerGatheringWrite() is called by 1 function(s): KQueueSocketChannelConfig.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free