Interface NativeIO

  • All Known Implementing Classes:
    NativeIOImpl

    public interface NativeIO
    NativeIO API.
    • Method Summary

      All Methods Instance Methods Abstract 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)