Top Description Classes Enums
[default module]

Package io.netty.channel.epoll


Optimized transport for linux which uses EPOLL Edge-Triggered Mode for maximal performance.

Class Summary

Modifier and TypeClass and Description
pack-priv abstract class
public abstract class
public abstract class
public class
Epoll

Tells if netty-transport-native-epoll is supported.

public class
public class
public class
EpollDatagramChannel

DatagramChannel implementation that uses linux EPOLL Edge-Triggered Mode for maximal performance.

public class
public class
public class
public class
public class
public class
EpollEventArray

This is an internal datastructure which can be directly passed to epoll_wait to reduce the overhead.

public class
EpollEventLoop

EventLoop which uses epoll under the covers.

public class
EpollEventLoopGroup

EventLoopGroup which uses epoll under the covers.

pack-priv class
pack-priv class
EpollRecvByteAllocatorStreamingHandle

Deprecated as a consequence of EpollRecvByteAllocatorHandle being deprecated.
public class
public class
public class
EpollServerSocketChannel

ServerSocketChannel implementation that uses linux EPOLL Edge-Triggered Mode for maximal performance.

public class
public class
EpollSocketChannel

SocketChannel implementation that uses linux EPOLL Edge-Triggered Mode for maximal performance.

public class
public class
EpollTcpInfo

struct tcp_info { __u8 tcpi_state; __u8 tcpi_ca_state; __u8 tcpi_retransmits; __u8 tcpi_probes; __u8 tcpi_backoff; __u8 tcpi_options; __u8 tcpi_snd_wscale : 4, tcpi_rcv_wscale : 4; __u32 tcpi_rto; __u32 tcpi_ato; __u32 tcpi_snd_mss; __u32 tcpi_rcv_mss; __u32 tcpi_unacked; __u32 tcpi_sacked; __u32 tcpi_lost; __u32 tcpi_retrans; __u32 tcpi_fackets; __u32 tcpi_last_data_sent; __u32 tcpi_last_ack_sent; __u32 tcpi_last_data_recv; __u32 tcpi_last_ack_recv; __u32 tcpi_pmtu; __u32 tcpi_rcv_ssthresh; __u32 tcpi_rtt; __u32 tcpi_rttvar; __u32 tcpi_snd_ssthresh; __u32 tcpi_snd_cwnd; __u32 tcpi_advmss; __u32 tcpi_reordering; __u32 tcpi_rcv_rtt; __u32 tcpi_rcv_space; __u32 tcpi_total_retrans; };

public class
LinuxSocket

A socket which provides access Linux native methods.

public class
Native

Native helper methods

Internal usage only!

pack-priv class
NativeDatagramPacketArray

Support sendmmsg(...) on linux with GLIBC 2.14+

pack-priv class
NativeStaticallyReferencedJniMethods

This class is necessary to break the following cyclic dependency:

  1. JNI_OnLoad
  2. JNI Calls FindClass because RegisterNatives (used to register JNI methods) requires a class
  3. FindClass loads the class, but static members variables of that class attempt to call a JNI method which has not yet been registered.
  4. java.lang.UnsatisfiedLinkError is thrown because native method has not yet been registered.
public class
pack-priv class
public class

Enum Summary

Modifier and TypeEnum and Description
public enum
EpollMode

The epoll mode to use.