Registry / networking / netty-transport-classes-kqueue

netty-transport-classes-kqueue

JSON →
library4.1.134.Finaljavamavenunverified

Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers and clients.

<dependency> <groupId>io.netty</groupId> <artifactId>netty-transport-classes-kqueue</artifactId> <version>4.1.134.Final</version> </dependency>
INSTALL
IMPORT
SIG · NETTY-TRANSPORT-CL
N
netty-transport-classes-kqueue
networkingjavav4.1.134.Final
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

KQueue
io.netty.channel.kqueue.KQueue

Minimal KQueue-based Netty server setup.

import io.netty.channel.kqueue.KQueue; import io.netty.channel.kqueue.KQueueServerSocketChannel; import io.netty.bootstrap.ServerBootstrap; public class KQueueServer { public static void main(String[] args) { EventLoopGroup group = new KQueueEventLoopGroup(); try { ServerBootstrap b = new ServerBootstrap(); b.group(group) .channel(KQueueServerSocketChannel.class) .childHandler(new ChannelInitializer<SocketChannel>() { @Override public void initChannel(SocketChannel ch) {} }); b.bind(8080).sync().channel().closeFuture().sync(); } finally { group.shutdownGracefully(); } } }
Debug
Known issues
breakingKQueue is only available on macOS; using it on other platforms will throw an UnsatisfiedLinkError.
fix
Use io.netty.channel.epoll.Epoll on Linux or io.netty.channel.nio.NioEventLoopGroup for cross-platform compatibility.
affects: all
Upgrade
Version history
4.1.134.Finallatest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
netty-transport-classes-kqueue — mvn dependency:get netty-transport-classes-kqueue · libregistry