Package io.netty.channel.epoll
Class NativeStaticallyReferencedJniMethods
- java.lang.Object
-
- io.netty.channel.epoll.NativeStaticallyReferencedJniMethods
-
final class NativeStaticallyReferencedJniMethods extends java.lang.ObjectThis 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.
-
-
Constructor Summary
Constructors Modifier Constructor Description privateNativeStaticallyReferencedJniMethods()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static intepollerr()(package private) static intepollet()(package private) static intepollin()(package private) static intepollout()(package private) static intepollrdhup()(package private) static booleanisSupportingRecvmmsg()(package private) static booleanisSupportingSendmmsg()(package private) static java.lang.StringkernelVersion()(package private) static inttcpFastopenMode()(package private) static inttcpMd5SigMaxKeyLen()
-
-
-
Method Detail
-
epollin
static int epollin()
-
epollout
static int epollout()
-
epollrdhup
static int epollrdhup()
-
epollet
static int epollet()
-
epollerr
static int epollerr()
-
tcpMd5SigMaxKeyLen
static int tcpMd5SigMaxKeyLen()
-
isSupportingSendmmsg
static boolean isSupportingSendmmsg()
-
isSupportingRecvmmsg
static boolean isSupportingRecvmmsg()
-
tcpFastopenMode
static int tcpFastopenMode()
-
kernelVersion
static java.lang.String kernelVersion()
-
-