public class DisableFsyncFS extends FilterFileSystemProvider
All other filesystem operations are passed thru as normal.
delegate, fileSystem, scheme
Constructor and Description |
---|
DisableFsyncFS(java.nio.file.FileSystem delegate)
Create a new instance, wrapping
delegate . |
Modifier and Type | Method and Description |
---|---|
java.nio.channels.AsynchronousFileChannel |
newAsynchronousFileChannel(java.nio.file.Path path,
java.util.Set<? extends java.nio.file.OpenOption> options,
java.util.concurrent.ExecutorService executor,
java.nio.file.attribute.FileAttribute<?>... attrs) |
java.nio.channels.FileChannel |
newFileChannel(java.nio.file.Path path,
java.util.Set<? extends java.nio.file.OpenOption> options,
java.nio.file.attribute.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
public DisableFsyncFS(java.nio.file.FileSystem delegate)
delegate
.public java.nio.channels.FileChannel newFileChannel(java.nio.file.Path path, java.util.Set<? extends java.nio.file.OpenOption> options, java.nio.file.attribute.FileAttribute<?>... attrs) throws java.io.IOException
newFileChannel
in class FilterFileSystemProvider
java.io.IOException
public java.nio.channels.AsynchronousFileChannel newAsynchronousFileChannel(java.nio.file.Path path, java.util.Set<? extends java.nio.file.OpenOption> options, java.util.concurrent.ExecutorService executor, java.nio.file.attribute.FileAttribute<?>... attrs) throws java.io.IOException
newAsynchronousFileChannel
in class FilterFileSystemProvider
java.io.IOException
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.