Home / Function/ T() — netty Function Reference

T() — netty Function Reference

Architecture documentation for the T() function in IoUringServerSocketChannelConfig.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  a3ab4ec2_4522_71be_bd42_c8ef1b5e3b39["T()"]
  0002af80_d567_2dae_91b9_d7ecc7afe1eb["IoUringServerSocketChannelConfig"]
  a3ab4ec2_4522_71be_bd42_c8ef1b5e3b39 -->|defined in| 0002af80_d567_2dae_91b9_d7ecc7afe1eb
  0cceca3d_337f_de6a_3dc1_1ec917c4bbe5["getReceiveBufferSize()"]
  a3ab4ec2_4522_71be_bd42_c8ef1b5e3b39 -->|calls| 0cceca3d_337f_de6a_3dc1_1ec917c4bbe5
  bd2a0016_3a7e_d769_7937_7e395a44d1f8["isReuseAddress()"]
  a3ab4ec2_4522_71be_bd42_c8ef1b5e3b39 -->|calls| bd2a0016_3a7e_d769_7937_7e395a44d1f8
  2804eea3_7023_2b47_f2a1_d87013b03390["getBacklog()"]
  a3ab4ec2_4522_71be_bd42_c8ef1b5e3b39 -->|calls| 2804eea3_7023_2b47_f2a1_d87013b03390
  235c564c_ea2e_aac0_52f7_ebd8dd154a2d["isReusePort()"]
  a3ab4ec2_4522_71be_bd42_c8ef1b5e3b39 -->|calls| 235c564c_ea2e_aac0_52f7_ebd8dd154a2d
  613b6590_0791_93ec_1559_b860f5887264["isFreeBind()"]
  a3ab4ec2_4522_71be_bd42_c8ef1b5e3b39 -->|calls| 613b6590_0791_93ec_1559_b860f5887264
  36bd286d_68b0_43a3_3966_0c904651de56["isIpTransparent()"]
  a3ab4ec2_4522_71be_bd42_c8ef1b5e3b39 -->|calls| 36bd286d_68b0_43a3_3966_0c904651de56
  b2a00c30_745c_3211_d6b9_8703881f2b27["getTcpDeferAccept()"]
  a3ab4ec2_4522_71be_bd42_c8ef1b5e3b39 -->|calls| b2a00c30_745c_3211_d6b9_8703881f2b27
  3c9d068d_1a82_bc72_804a_9530ce0279f6["getTcpFastopen()"]
  a3ab4ec2_4522_71be_bd42_c8ef1b5e3b39 -->|calls| 3c9d068d_1a82_bc72_804a_9530ce0279f6
  style a3ab4ec2_4522_71be_bd42_c8ef1b5e3b39 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-classes-io_uring/src/main/java/io/netty/channel/uring/IoUringServerSocketChannelConfig.java lines 50–78

    @SuppressWarnings("unchecked")
    @Override
    public <T> T getOption(ChannelOption<T> option) {
        if (option == ChannelOption.SO_RCVBUF) {
            return (T) Integer.valueOf(getReceiveBufferSize());
        }
        if (option == ChannelOption.SO_REUSEADDR) {
            return (T) Boolean.valueOf(isReuseAddress());
        }
        if (option == ChannelOption.SO_BACKLOG) {
            return (T) Integer.valueOf(getBacklog());
        }
        if (option == IoUringChannelOption.SO_REUSEPORT) {
            return (T) Boolean.valueOf(isReusePort());
        }
        if (option == IoUringChannelOption.IP_FREEBIND) {
            return (T) Boolean.valueOf(isFreeBind());
        }
        if (option == IoUringChannelOption.IP_TRANSPARENT) {
            return (T) Boolean.valueOf(isIpTransparent());
        }
        if (option == IoUringChannelOption.TCP_DEFER_ACCEPT) {
            return (T) Integer.valueOf(getTcpDeferAccept());
        }
        if (option == TCP_FASTOPEN) {
            return (T) Integer.valueOf(getTcpFastopen());
        }
        return super.getOption(option);
    }

Domain

Subdomains

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/IoUringServerSocketChannelConfig.java.
Where is T() defined?
T() is defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/IoUringServerSocketChannelConfig.java at line 50.
What does T() call?
T() calls 8 function(s): getBacklog, getReceiveBufferSize, getTcpDeferAccept, getTcpFastopen, isFreeBind, isIpTransparent, isReuseAddress, isReusePort.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free