ErasureCodeNative (Apache Hadoop Common 3.5.0 API)
Description: declaration: package: org.apache.hadoop.io.erasurecode, class: ErasureCodeNative

Package org.apache.hadoop.io.erasurecode

# Class ErasureCodeNative

java.lang.Object
org.apache.hadoop.io.erasurecode.ErasureCodeNative

public final class ErasureCodeNative extends Object
Erasure code native libraries (for now, Intel ISA-L) related utilities.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static void`
  `checkNativeCodeLoaded()`
  Is the native ISA-L library loaded and initialized?
  `static String`
  `getLibraryName()`
  Get the native library name that's available or supported.
  `static String`
  `getLoadingFailureReason()`
  `static boolean`
  `isNativeCodeLoaded()`
  Are native libraries loaded?
  `static void`
  `loadLibrary()`
  Load native library available or supported.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### isNativeCodeLoaded

    public static boolean isNativeCodeLoaded()
    Are native libraries loaded?
    Returns:
      if is native code loaded true,not false.

  - ### checkNativeCodeLoaded

    public static void checkNativeCodeLoaded()
    Is the native ISA-L library loaded and initialized? Throw exception if not.

  - ### loadLibrary

    public static void loadLibrary()
    Load native library available or supported.

  - ### getLibraryName

    public static String getLibraryName()
    Get the native library name that's available or supported.
    Returns:
      library name.

  - ### getLoadingFailureReason

    public static String getLoadingFailureReason()