Class Unix

java.lang.Object
io.netty.channel.unix.Unix

public final class Unix extends java.lang.Object
Tells if netty-transport-native-unix is supported.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final java.util.concurrent.atomic.AtomicBoolean
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    Deprecated.
    static boolean
    Deprecated.
    static void
    registerInternal(java.lang.Runnable registerTask)
    Internal method...
    static java.lang.Throwable
    Deprecated.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • registered

      private static final java.util.concurrent.atomic.AtomicBoolean registered
  • Constructor Details

    • Unix

      private Unix()
  • Method Details

    • registerInternal

      @UnstableApi public static void registerInternal(java.lang.Runnable registerTask)
      Internal method... Should never be called from the user.
      Parameters:
      registerTask -
    • isAvailable

      @Deprecated public static boolean isAvailable()
      Deprecated.
      Returns true if and only if the netty_transport_native_unix is available.
    • ensureAvailability

      @Deprecated public static void ensureAvailability()
      Deprecated.
      Ensure that netty_transport_native_unix is available.
      Throws:
      java.lang.UnsatisfiedLinkError - if unavailable
    • unavailabilityCause

      @Deprecated public static java.lang.Throwable unavailabilityCause()
      Deprecated.
      Returns the cause of unavailability of netty_transport_native_unix.
      Returns:
      the cause if unavailable. null if available.