- java.lang.Object
-
- io.netty5.channel.epoll.EpollEventArray
-
@UnstableApi public final class EpollEventArray extends Object
This is an internal datastructure which can be directly passed to epoll_wait to reduce the overhead. typedef union epoll_data { void *ptr; int fd; uint32_t u32; uint64_t u64; } epoll_data_t; struct epoll_event { uint32_t events; // Epoll events epoll_data_t data; // User data variable }; We usefd
if theepoll_data union
to store the actual file descriptor of anAbstractEpollChannel
and so be able to map it later.