setOption() — netty Function Reference
Architecture documentation for the setOption() function in IoUringServerSocketChannelConfig.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD bd8cf641_1381_2813_2875_e68c7a144e7c["setOption()"] 0002af80_d567_2dae_91b9_d7ecc7afe1eb["IoUringServerSocketChannelConfig"] bd8cf641_1381_2813_2875_e68c7a144e7c -->|defined in| 0002af80_d567_2dae_91b9_d7ecc7afe1eb style bd8cf641_1381_2813_2875_e68c7a144e7c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport-classes-io_uring/src/main/java/io/netty/channel/uring/IoUringServerSocketChannelConfig.java lines 80–104
@Override
public <T> boolean setOption(ChannelOption<T> option, T value) {
validate(option, value);
if (option == ChannelOption.SO_RCVBUF) {
setReceiveBufferSize((Integer) value);
} else if (option == ChannelOption.SO_REUSEADDR) {
setReuseAddress((Boolean) value);
} else if (option == ChannelOption.SO_BACKLOG) {
setBacklog((Integer) value);
} else if (option == IoUringChannelOption.SO_REUSEPORT) {
setReusePort((Boolean) value);
} else if (option == IoUringChannelOption.IP_FREEBIND) {
setFreeBind((Boolean) value);
} else if (option == IoUringChannelOption.IP_TRANSPARENT) {
setIpTransparent((Boolean) value);
} else if (option == IoUringChannelOption.TCP_DEFER_ACCEPT) {
setTcpDeferAccept((Integer) value);
} else if (option == TCP_FASTOPEN) {
setTcpFastopen((Integer) value);
} else {
return super.setOption(option, value);
}
return true;
}
Domain
Subdomains
Source
Frequently Asked Questions
What does setOption() do?
setOption() is a function in the netty codebase, defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/IoUringServerSocketChannelConfig.java.
Where is setOption() defined?
setOption() is defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/IoUringServerSocketChannelConfig.java at line 80.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free