Top Description Constructors Methods
io.netty5.channel.unix

pack-priv final Class LimitsStaticallyReferencedJniMethods

extends Object
Class Inheritance

This class is necessary to break the following cyclic dependency:
  1. JNI_OnLoad
  2. JNI Calls FindClass because RegisterNatives (used to register JNI methods) requires a class
  3. FindClass loads the class, but static members variables of that class attempt to call a JNI method which has not yet been registered.
  4. 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!

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
pack-priv static native int
pack-priv static native int
pack-priv static native long
pack-priv static native int
pack-priv static native int
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

LimitsStaticallyReferencedJniMethodsback to summary
private LimitsStaticallyReferencedJniMethods()

Method Detail

iovMaxback to summary
pack-priv static native int iovMax()
sizeOfjlongback to summary
pack-priv static native int sizeOfjlong()
ssizeMaxback to summary
pack-priv static native long ssizeMax()
udsSunPathSizeback to summary
pack-priv static native int udsSunPathSize()
uioMaxIovback to summary
pack-priv static native int uioMaxIov()