Tabnine Logo
FsController.sync
Code IndexAdd Tabnine to your IDE (free)

How to use
sync
method
in
net.java.truevfs.kernel.spec.FsController

Best Java code snippets using net.java.truevfs.kernel.spec.FsController.sync (Showing top 2 results out of 315)

origin: net.java.truevfs/truevfs-kernel-spec

@Override
public void sync(BitField<FsSyncOption> options) throws FsSyncException {
  controller.sync(options);
}
origin: net.java.truevfs/truevfs-comp-zipdriver

@Override
public void sync(final BitField<FsSyncOption> options) throws FsSyncException {
  final FsSyncExceptionBuilder builder = new FsSyncExceptionBuilder();
  try {
    controller.sync(options);
  } catch (FsSyncWarningException ex) {
    builder.warn(ex);
  }
  keyManager().release(driver.mountPointUri(getModel()));
  builder.check();
}
net.java.truevfs.kernel.specFsControllersync

Javadoc

Commits all unsynchronized changes to the contents of this file system to its parent file system, releases the associated resources (e.g. target archive files) for access by third parties (e.g. other processes), cleans up any temporary allocated resources (e.g. temporary files) and purges any cached data. Note that temporary resources may get allocated even if the federated file systems were accessed read-only. If this is not a federated file system, i.e. if its not a member of a parent file system, then nothing happens. Otherwise, the state of this file system controller is reset.

An implementation may ignore calls to this method if its stateless.

Popular methods of FsController

  • node
    Returns the file system node for the given name or nullif it doesn't exist. Modifying the returned n
  • checkAccess
    Checks if the file system node for the given name exists when constrained by the given access option
  • getModel
    Returns the file system model.
  • output
    Returns an output socket for writing the contents of the node addressed by the given name to the fil
  • unlink
    Removes the named file system node from the file system. If the named file system node is a director
  • getParent
    Returns the controller for the parent file system or null if and only if this file system is not fed
  • input
    Returns an input socket for reading the contents of the file system node addressed by the given name
  • make
    Creates or replaces and finally links a chain of one or more entries for the given node name into th
  • setReadOnly
    Sets the named file system node as read-only. This method will fail for typical archive file system
  • setTime
    Makes an attempt to set the last access time of all types in the given bit field for the file system

Popular in Java

  • Running tasks concurrently on multiple threads
  • scheduleAtFixedRate (ScheduledExecutorService)
  • onRequestPermissionsResult (Fragment)
  • runOnUiThread (Activity)
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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