Class NativeIOImpl

  • All Implemented Interfaces:
    NativeIO

    public class NativeIOImpl
    extends java.lang.Object
    implements NativeIO
    NativeIOImpl.
    • Constructor Summary

      Constructors 
      Constructor Description
      NativeIOImpl()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int close​(int fd)  
      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.
      void free​(long pointer)  
      int fsync​(int fd)  
      long lseek​(int fd, long offset, int whence)  
      int open​(java.lang.String pathname, int flags, int mode)  
      int posix_fadvise​(int fd, long offset, long len, int flag)
      posix_fadvise is a linux-only syscall, so callers must handle the possibility that it does not exist.
      long posix_memalign​(int alignment, int size)  
      long pread​(int fd, long pointer, long size, long offset)  
      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