Class NativeIOJni

java.lang.Object
org.apache.bookkeeper.common.util.nativeio.NativeIOJni

class NativeIOJni extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) static int
    close(int fd)
     
    (package private) static int
    fallocate(int fd, int mode, long offset, long len)
    fallocate is a linux-only syscall, so callers must handle the possibility that it does not exist.
    (package private) static void
    free(long pointer)
     
    (package private) static int
    fsync(int fd)
     
    (package private) static long
    lseek(int fd, long offset, int whence)
     
    (package private) static int
    open(String pathname, int flags, int mode)
     
    (package private) static int
    posix_fadvise(int fd, long offset, long len, int flag)
     
    (package private) static long
    posix_memalign(int alignment, int size)
     
    (package private) static long
    pread(int fd, long pointer, long size, long offset)
     
    (package private) static int
    pwrite(int fd, long pointer, int count, long offset)
     

    Methods inherited from class java.lang.Object

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