Package org.apache.lucene.tests.mockfile
Class DisableFsyncFS
- java.lang.Object
- 
- java.nio.file.spi.FileSystemProvider
- 
- org.apache.lucene.tests.mockfile.FilterFileSystemProvider
- 
- org.apache.lucene.tests.mockfile.DisableFsyncFS
 
 
 
- 
 public class DisableFsyncFS extends FilterFileSystemProvider Disables actual calls to fsync.All other filesystem operations are passed thru as normal. 
- 
- 
Field Summary- 
Fields inherited from class org.apache.lucene.tests.mockfile.FilterFileSystemProviderdelegate, fileSystem, scheme
 
- 
 - 
Constructor SummaryConstructors Constructor Description DisableFsyncFS(FileSystem delegate)Create a new instance, wrappingdelegate.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description AsynchronousFileChannelnewAsynchronousFileChannel(Path path, Set<? extends OpenOption> options, ExecutorService executor, FileAttribute<?>... attrs)FileChannelnewFileChannel(Path path, Set<? extends OpenOption> options, FileAttribute<?>... attrs)- 
Methods inherited from class org.apache.lucene.tests.mockfile.FilterFileSystemProvidercheckAccess, 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, wrapPath
 - 
Methods inherited from class java.nio.file.spi.FileSystemProviderinstalledProviders
 
- 
 
- 
- 
- 
Constructor Detail- 
DisableFsyncFSpublic DisableFsyncFS(FileSystem delegate) Create a new instance, wrappingdelegate.
 
- 
 - 
Method Detail- 
newFileChannelpublic FileChannel newFileChannel(Path path, Set<? extends OpenOption> options, FileAttribute<?>... attrs) throws IOException - Overrides:
- newFileChannelin class- FilterFileSystemProvider
- Throws:
- IOException
 
 - 
newAsynchronousFileChannelpublic AsynchronousFileChannel newAsynchronousFileChannel(Path path, Set<? extends OpenOption> options, ExecutorService executor, FileAttribute<?>... attrs) throws IOException - Overrides:
- newAsynchronousFileChannelin class- FilterFileSystemProvider
- Throws:
- IOException
 
 
- 
 
-