Class NativeLibraries


  • @Deprecated
    public final class NativeLibraries
    extends Object
    Deprecated.
    Use Flags instead.
    Reports the availability of the native libraries used by Armeria.
    • 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 by Flags.
        This method does nothing.
      • isEpollAvailable

        @Deprecated
        public static boolean isEpollAvailable()
        Deprecated.
        Use Flags.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.
        Use Flags.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 default SSLEngine is used instead.