Package io.netty.channel.kqueue
package io.netty.channel.kqueue
BSD specific transport.
-
ClassesClassDescriptionA socket which provides access BSD native methods.If KQueue is available the JNI resources will be loaded when this class loads.Represents an array of kevent structures, backed by offheap memory.
EventLoop
which uses kqueue under the covers.This class is necessary to break the following cyclic dependency: JNI_OnLoad JNI Calls FindClass because RegisterNatives (used to register JNI methods) requires a class FindClass loads the class, but static members variables of that class attempt to call a JNI method which has not yet been registered. java.lang.UnsatisfiedLinkError is thrown because native method has not yet been registered. Static members which call JNI methods must not be declared in this class!Native helper methods