Package io.netty.channel.epoll
Class NativeStaticallyReferencedJniMethods
- java.lang.Object
-
- io.netty.channel.epoll.NativeStaticallyReferencedJniMethods
-
final class NativeStaticallyReferencedJniMethods extends java.lang.Object
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 Modifier Constructor Description private
NativeStaticallyReferencedJniMethods()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static int
epollerr()
(package private) static int
epollet()
(package private) static int
epollin()
(package private) static int
epollout()
(package private) static int
epollrdhup()
(package private) static int
iovMax()
(package private) static boolean
isSupportingRecvmmsg()
(package private) static boolean
isSupportingSendmmsg()
(package private) static java.lang.String
kernelVersion()
(package private) static long
ssizeMax()
(package private) static int
tcpFastopenMode()
(package private) static int
tcpMd5SigMaxKeyLen()
(package private) static int
uioMaxIov()
-
-
-
Method Detail
-
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
static java.lang.String kernelVersion()
-
-