T() — netty Function Reference
Architecture documentation for the T() function in IoUringSocketChannelConfig.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD d284361e_4f07_d2cd_020c_7903d399bae6["T()"] 484d4b16_5cd0_ceda_ec98_1e750f432535["IoUringSocketChannelConfig"] d284361e_4f07_d2cd_020c_7903d399bae6 -->|defined in| 484d4b16_5cd0_ceda_ec98_1e750f432535 61d1dc7e_e8e8_8562_bc38_770fdc49d7e5["getReceiveBufferSize()"] d284361e_4f07_d2cd_020c_7903d399bae6 -->|calls| 61d1dc7e_e8e8_8562_bc38_770fdc49d7e5 6a0cc6d7_9b72_41ad_b744_f8d5ac75e989["getSendBufferSize()"] d284361e_4f07_d2cd_020c_7903d399bae6 -->|calls| 6a0cc6d7_9b72_41ad_b744_f8d5ac75e989 d178e852_8df3_7a85_c65b_8d0678ae8813["isTcpNoDelay()"] d284361e_4f07_d2cd_020c_7903d399bae6 -->|calls| d178e852_8df3_7a85_c65b_8d0678ae8813 3067a199_839f_86c1_e70a_a2528dc54f8d["isKeepAlive()"] d284361e_4f07_d2cd_020c_7903d399bae6 -->|calls| 3067a199_839f_86c1_e70a_a2528dc54f8d 910c9501_6d97_1e1b_c5c0_965e17a2abba["isReuseAddress()"] d284361e_4f07_d2cd_020c_7903d399bae6 -->|calls| 910c9501_6d97_1e1b_c5c0_965e17a2abba 88805a81_025e_a57d_ff65_b026b343da9c["getSoLinger()"] d284361e_4f07_d2cd_020c_7903d399bae6 -->|calls| 88805a81_025e_a57d_ff65_b026b343da9c 2fea1f25_4929_fa68_6b4c_90f874722a0a["getTrafficClass()"] d284361e_4f07_d2cd_020c_7903d399bae6 -->|calls| 2fea1f25_4929_fa68_6b4c_90f874722a0a c2ad390f_0ea5_b517_d1fc_2c263902ae98["isAllowHalfClosure()"] d284361e_4f07_d2cd_020c_7903d399bae6 -->|calls| c2ad390f_0ea5_b517_d1fc_2c263902ae98 4db00806_fa61_e6a8_0e47_b4833b0659b4["isTcpCork()"] d284361e_4f07_d2cd_020c_7903d399bae6 -->|calls| 4db00806_fa61_e6a8_0e47_b4833b0659b4 1bcd3566_6806_7e29_c375_8c91ff84906a["getTcpNotSentLowAt()"] d284361e_4f07_d2cd_020c_7903d399bae6 -->|calls| 1bcd3566_6806_7e29_c375_8c91ff84906a 66ea9bfb_8c43_3e42_8cec_b5f23bdc6934["getTcpKeepIdle()"] d284361e_4f07_d2cd_020c_7903d399bae6 -->|calls| 66ea9bfb_8c43_3e42_8cec_b5f23bdc6934 ced2561f_308b_314f_9181_433e78b5d539["getTcpKeepIntvl()"] d284361e_4f07_d2cd_020c_7903d399bae6 -->|calls| ced2561f_308b_314f_9181_433e78b5d539 74813ec4_36ce_5aa5_87b6_af16af8a1def["getTcpKeepCnt()"] d284361e_4f07_d2cd_020c_7903d399bae6 -->|calls| 74813ec4_36ce_5aa5_87b6_af16af8a1def style d284361e_4f07_d2cd_020c_7903d399bae6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport-classes-io_uring/src/main/java/io/netty/channel/uring/IoUringSocketChannelConfig.java lines 59–117
@SuppressWarnings("unchecked")
@Override
public <T> T getOption(ChannelOption<T> option) {
if (option == SO_RCVBUF) {
return (T) Integer.valueOf(getReceiveBufferSize());
}
if (option == SO_SNDBUF) {
return (T) Integer.valueOf(getSendBufferSize());
}
if (option == TCP_NODELAY) {
return (T) Boolean.valueOf(isTcpNoDelay());
}
if (option == SO_KEEPALIVE) {
return (T) Boolean.valueOf(isKeepAlive());
}
if (option == SO_REUSEADDR) {
return (T) Boolean.valueOf(isReuseAddress());
}
if (option == SO_LINGER) {
return (T) Integer.valueOf(getSoLinger());
}
if (option == IP_TOS) {
return (T) Integer.valueOf(getTrafficClass());
}
if (option == ALLOW_HALF_CLOSURE) {
return (T) Boolean.valueOf(isAllowHalfClosure());
}
if (option == IoUringChannelOption.TCP_CORK) {
return (T) Boolean.valueOf(isTcpCork());
}
if (option == IoUringChannelOption.TCP_NOTSENT_LOWAT) {
return (T) Long.valueOf(getTcpNotSentLowAt());
}
if (option == IoUringChannelOption.TCP_KEEPIDLE) {
return (T) Integer.valueOf(getTcpKeepIdle());
}
if (option == IoUringChannelOption.TCP_KEEPINTVL) {
return (T) Integer.valueOf(getTcpKeepIntvl());
}
if (option == IoUringChannelOption.TCP_KEEPCNT) {
return (T) Integer.valueOf(getTcpKeepCnt());
}
if (option == IoUringChannelOption.TCP_USER_TIMEOUT) {
return (T) Integer.valueOf(getTcpUserTimeout());
}
if (option == IoUringChannelOption.TCP_QUICKACK) {
return (T) Boolean.valueOf(isTcpQuickAck());
}
if (option == IoUringChannelOption.IP_TRANSPARENT) {
return (T) Boolean.valueOf(isIpTransparent());
}
if (option == ChannelOption.TCP_FASTOPEN_CONNECT) {
return (T) Boolean.valueOf(isTcpFastOpenConnect());
}
if (option == IoUringChannelOption.IO_URING_WRITE_ZERO_COPY_THRESHOLD) {
return (T) Integer.valueOf(getWriteZeroCopyThreshold());
}
return super.getOption(option);
}
Domain
Subdomains
Defined In
Calls
- getReceiveBufferSize()
- getSendBufferSize()
- getSoLinger()
- getTcpKeepCnt()
- getTcpKeepIdle()
- getTcpKeepIntvl()
- getTcpNotSentLowAt()
- getTcpUserTimeout()
- getTrafficClass()
- getWriteZeroCopyThreshold()
- isAllowHalfClosure()
- isIpTransparent()
- isKeepAlive()
- isReuseAddress()
- isTcpCork()
- isTcpFastOpenConnect()
- isTcpNoDelay()
- isTcpQuickAck()
Source
Frequently Asked Questions
What does T() do?
T() is a function in the netty codebase, defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/IoUringSocketChannelConfig.java.
Where is T() defined?
T() is defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/IoUringSocketChannelConfig.java at line 59.
What does T() call?
T() calls 18 function(s): getReceiveBufferSize, getSendBufferSize, getSoLinger, getTcpKeepCnt, getTcpKeepIdle, getTcpKeepIntvl, getTcpNotSentLowAt, getTcpUserTimeout, and 10 more.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free