public class DisableFsyncFS extends FilterFileSystemProvider
All other filesystem operations are passed thru as normal.
delegate, fileSystem, scheme
Constructor and Description |
---|
DisableFsyncFS(FileSystem delegate)
Create a new instance, wrapping
delegate . |
Modifier and Type | Method and Description |
---|---|
AsynchronousFileChannel |
newAsynchronousFileChannel(Path path,
Set<? extends OpenOption> options,
ExecutorService executor,
FileAttribute<?>... attrs) |
FileChannel |
newFileChannel(Path path,
Set<? extends OpenOption> options,
FileAttribute<?>... attrs) |
checkAccess, copy, createDirectory, createLink, createSymbolicLink, delete, deleteIfExists, getFileAttributeView, getFileStore, getFileSystem, getPath, getScheme, isHidden, isSameFile, move, newByteChannel, newDirectoryStream, newFileSystem, newFileSystem, newInputStream, newOutputStream, onClose, readAttributes, readAttributes, readSymbolicLink, setAttribute, toDelegate, toString
installedProviders
public DisableFsyncFS(FileSystem delegate)
delegate
.public FileChannel newFileChannel(Path path, Set<? extends OpenOption> options, FileAttribute<?>... attrs) throws IOException
newFileChannel
in class FilterFileSystemProvider
IOException
public AsynchronousFileChannel newAsynchronousFileChannel(Path path, Set<? extends OpenOption> options, ExecutorService executor, FileAttribute<?>... attrs) throws IOException
newAsynchronousFileChannel
in class FilterFileSystemProvider
IOException
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.