congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
Os.fdatasync
Code IndexAdd Tabnine to your IDE (free)

How to use
fdatasync
method
in
libcore.io.Os

Best Java code snippets using libcore.io.Os.fdatasync (Showing top 20 results out of 315)

origin: robovm/robovm

public void fdatasync(FileDescriptor fd) throws ErrnoException { os.fdatasync(fd); }
public StructStat fstat(FileDescriptor fd) throws ErrnoException { return os.fstat(fd); }
origin: robovm/robovm

@Override public void fdatasync(FileDescriptor fd) throws ErrnoException {
  BlockGuard.getThreadPolicy().onWriteToDisk();
  os.fdatasync(fd);
}
origin: robovm/robovm

public void force(boolean metadata) throws IOException {
  checkOpen();
  if ((mode & O_ACCMODE) != O_RDONLY) {
    try {
      if (metadata) {
        Libcore.os.fsync(fd);
      } else {
        Libcore.os.fdatasync(fd);
      }
    } catch (ErrnoException errnoException) {
      throw errnoException.rethrowAsIOException();
    }
  }
}
origin: com.mobidevelop.robovm/robovm-rt

public void fdatasync(FileDescriptor fd) throws ErrnoException { os.fdatasync(fd); }
public StructStat fstat(FileDescriptor fd) throws ErrnoException { return os.fstat(fd); }
origin: MobiVM/robovm

public void fdatasync(FileDescriptor fd) throws ErrnoException { os.fdatasync(fd); }
public StructStat fstat(FileDescriptor fd) throws ErrnoException { return os.fstat(fd); }
origin: ibinti/bugvm

public void fdatasync(FileDescriptor fd) throws ErrnoException { os.fdatasync(fd); }
public StructStat fstat(FileDescriptor fd) throws ErrnoException { return os.fstat(fd); }
origin: com.gluonhq/robovm-rt

public void fdatasync(FileDescriptor fd) throws ErrnoException { os.fdatasync(fd); }
public StructStat fstat(FileDescriptor fd) throws ErrnoException { return os.fstat(fd); }
origin: com.bugvm/bugvm-rt

public void fdatasync(FileDescriptor fd) throws ErrnoException { os.fdatasync(fd); }
public StructStat fstat(FileDescriptor fd) throws ErrnoException { return os.fstat(fd); }
origin: MobiVM/robovm

@Override public void fdatasync(FileDescriptor fd) throws ErrnoException {
  BlockGuard.getThreadPolicy().onWriteToDisk();
  os.fdatasync(fd);
}
origin: ibinti/bugvm

@Override public void fdatasync(FileDescriptor fd) throws ErrnoException {
  BlockGuard.getThreadPolicy().onWriteToDisk();
  os.fdatasync(fd);
}
origin: com.gluonhq/robovm-rt

@Override public void fdatasync(FileDescriptor fd) throws ErrnoException {
  BlockGuard.getThreadPolicy().onWriteToDisk();
  os.fdatasync(fd);
}
origin: com.mobidevelop.robovm/robovm-rt

@Override public void fdatasync(FileDescriptor fd) throws ErrnoException {
  BlockGuard.getThreadPolicy().onWriteToDisk();
  os.fdatasync(fd);
}
origin: com.bugvm/bugvm-rt

@Override public void fdatasync(FileDescriptor fd) throws ErrnoException {
  BlockGuard.getThreadPolicy().onWriteToDisk();
  os.fdatasync(fd);
}
origin: FlexoVM/flexovm

@Override public void fdatasync(FileDescriptor fd) throws ErrnoException {
  BlockGuard.getThreadPolicy().onWriteToDisk();
  os.fdatasync(fd);
}
origin: com.bugvm/bugvm-rt

public void force(boolean metadata) throws IOException {
  checkOpen();
  if ((mode & O_ACCMODE) != O_RDONLY) {
    try {
      if (metadata) {
        Libcore.os.fsync(fd);
      } else {
        Libcore.os.fdatasync(fd);
      }
    } catch (ErrnoException errnoException) {
      throw errnoException.rethrowAsIOException();
    }
  }
}
origin: MobiVM/robovm

public void force(boolean metadata) throws IOException {
  checkOpen();
  if ((mode & O_ACCMODE) != O_RDONLY) {
    try {
      if (metadata) {
        Libcore.os.fsync(fd);
      } else {
        Libcore.os.fdatasync(fd);
      }
    } catch (ErrnoException errnoException) {
      throw errnoException.rethrowAsIOException();
    }
  }
}
origin: ibinti/bugvm

public void force(boolean metadata) throws IOException {
  checkOpen();
  if ((mode & O_ACCMODE) != O_RDONLY) {
    try {
      if (metadata) {
        Libcore.os.fsync(fd);
      } else {
        Libcore.os.fdatasync(fd);
      }
    } catch (ErrnoException errnoException) {
      throw errnoException.rethrowAsIOException();
    }
  }
}
origin: com.mobidevelop.robovm/robovm-rt

public void force(boolean metadata) throws IOException {
  checkOpen();
  if ((mode & O_ACCMODE) != O_RDONLY) {
    try {
      if (metadata) {
        Libcore.os.fsync(fd);
      } else {
        Libcore.os.fdatasync(fd);
      }
    } catch (ErrnoException errnoException) {
      throw errnoException.rethrowAsIOException();
    }
  }
}
origin: com.gluonhq/robovm-rt

public void force(boolean metadata) throws IOException {
  checkOpen();
  if ((mode & O_ACCMODE) != O_RDONLY) {
    try {
      if (metadata) {
        Libcore.os.fsync(fd);
      } else {
        Libcore.os.fdatasync(fd);
      }
    } catch (ErrnoException errnoException) {
      throw errnoException.rethrowAsIOException();
    }
  }
}
origin: FlexoVM/flexovm

public void force(boolean metadata) throws IOException {
  checkOpen();
  if ((mode & O_ACCMODE) != O_RDONLY) {
    try {
      if (metadata) {
        Libcore.os.fsync(fd);
      } else {
        Libcore.os.fdatasync(fd);
      }
    } catch (ErrnoException errnoException) {
      throw errnoException.rethrowAsIOException();
    }
  }
}
libcore.ioOsfdatasync

Popular methods of Os

  • accept
  • access
  • bind
  • chmod
  • chown
  • close
  • connect
  • dup
  • dup2
  • environ
  • execv
  • execve
  • execv,
  • execve,
  • fchmod,
  • fchown,
  • fcntlFlock,
  • fcntlLong,
  • fcntlVoid,
  • fstat,
  • fstatvfs

Popular in Java

  • Updating database using SQL prepared statement
  • getResourceAsStream (ClassLoader)
  • putExtra (Intent)
  • startActivity (Activity)
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • JCheckBox (javax.swing)
  • Runner (org.openjdk.jmh.runner)
  • Top 12 Jupyter Notebook Extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now