Package io.netty.channel.epoll
Class NativeStaticallyReferencedJniMethods
java.lang.Object
io.netty.channel.epoll.NativeStaticallyReferencedJniMethods
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.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static int
epollerr()
(package private) static int
epollet()
(package private) static int
epollin()
(package private) static int
epollout()
(package private) static int
(package private) static int
iovMax()
(package private) static boolean
(package private) static boolean
(package private) static String
(package private) static long
ssizeMax()
(package private) static int
(package private) static int
(package private) static int
-
Constructor Details
-
NativeStaticallyReferencedJniMethods
private NativeStaticallyReferencedJniMethods()
-
-
Method Details
-
epollin
static int epollin() -
epollout
static int epollout() -
epollrdhup
static int epollrdhup() -
epollet
static int epollet() -
epollerr
static int epollerr() -
ssizeMax
static long ssizeMax() -
tcpMd5SigMaxKeyLen
static int tcpMd5SigMaxKeyLen() -
iovMax
static int iovMax() -
uioMaxIov
static int uioMaxIov() -
isSupportingSendmmsg
static boolean isSupportingSendmmsg() -
isSupportingRecvmmsg
static boolean isSupportingRecvmmsg() -
tcpFastopenMode
static int tcpFastopenMode() -
kernelVersion
-