Package com.linecorp.armeria.common.util
Class NativeLibraries
- java.lang.Object
-
- com.linecorp.armeria.common.util.NativeLibraries
-
@Deprecated public final class NativeLibraries extends Object
Deprecated.UseFlags
instead.Reports the availability of the native libraries used by Armeria.
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static boolean
isEpollAvailable()
Deprecated.UseFlags.useEpoll()
instead.static boolean
isOpenSslAvailable()
Deprecated.UseFlags.useOpenSsl()
instead.static void
report()
Deprecated.This method will be removed without a replacement, because the information about the availability of the native libraries are now logged automatically byFlags
.
-
-
-
Method Detail
-
report
@Deprecated public static void report()
Deprecated.This method will be removed without a replacement, because the information about the availability of the native libraries are now logged automatically byFlags
.This method does nothing.
-
isEpollAvailable
@Deprecated public static boolean isEpollAvailable()
Deprecated.UseFlags.useEpoll()
instead.Returns whether the JNI-based/dev/epoll
socket I/O is enabled. When enabled on Linux, Armeria uses/dev/epoll
directly for socket I/O. When disabled,java.nio
socket API is used instead.
-
isOpenSslAvailable
@Deprecated public static boolean isOpenSslAvailable()
Deprecated.UseFlags.useOpenSsl()
instead.Returns whether the JNI-based TLS support with OpenSSL is enabled. When enabled, Armeria uses OpenSSL for processing TLS connections. When disabled, the current JVM's defaultSSLEngine
is used instead.
-
-