NativeIO.POSIX.Pmem (Apache Hadoop Common 3.5.0 API)
Description: declaration: package: org.apache.hadoop.io.nativeio, class: NativeIO, class: POSIX, class: Pmem

Package org.apache.hadoop.io.nativeio

# Class NativeIO.POSIX.Pmem

java.lang.Object
org.apache.hadoop.io.nativeio.NativeIO.POSIX.Pmem

Enclosing class:
  NativeIO.POSIX

public static class NativeIO.POSIX.Pmem extends Object
JNI wrapper of persist memory operations.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Pmem()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static String`
  `getPmdkLibPath()`
  `static boolean`
  `isPmem(long address, long length)`
  `static NativeIO.POSIX.PmemMappedRegion`
  `mapBlock(String path, long length, boolean isFileExist)`
  `static void`
  `memCopy(byte[] src, long dest, boolean isPmem, long length)`
  `static void`
  `memSync(NativeIO.POSIX.PmemMappedRegion region)`
  `static boolean`
  `unmapBlock(long address, long length)`

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

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

- ## Constructor Details

  - ### Pmem

    public Pmem()

- ## Method Details

  - ### isPmem

    public static boolean isPmem(long address, long length)

  - ### mapBlock

    public static NativeIO.POSIX.PmemMappedRegion mapBlock(String path, long length, boolean isFileExist)

  - ### unmapBlock

    public static boolean unmapBlock(long address, long length)

  - ### memCopy

    public static void memCopy(byte[] src, long dest, boolean isPmem, long length)

  - ### memSync

    public static void memSync(NativeIO.POSIX.PmemMappedRegion region)

  - ### getPmdkLibPath

    public static String getPmdkLibPath()