public class IOServiceIndexedImpl extends IOServiceDotFileImpl
IOService.NewFileSystemListenerDEFAULT_SERVICE_NAME, fileSystems, ioWatchService, isDisposed, newFileSystemListener, UTF_8EMPTY_OPTIONS| Modifier and Type | Method and Description |
|---|---|
protected void |
cleanupDeletedFS(String fsName,
Path rootDirectory) |
void |
delete(Path path,
DeleteOption... options) |
boolean |
deleteIfExists(Path path,
DeleteOption... options) |
protected boolean |
delIfExists(Path path,
DeleteOption... options) |
void |
dispose() |
FileSystem |
getFileSystem(URI uri) |
MetaIndexEngine |
getIndexEngine() |
protected Set<Path> |
getRealCreatedPaths(List<WatchEvent<?>> events) |
FileSystem |
newFileSystem(URI uri,
Map<String,?> env) |
int |
priority() |
protected void |
setupWatchService(FileSystem fs) |
buildOptions, buildOptions, copy, createDirectories, createDirectory, forceBuildOptions, getAttribute, getFileAttributeView, internalCreateDirectory, isFileScheme, loadDotFile, move, newByteChannel, newView, readAttributes, setAttributes, splitconvert, copy, copy, createDirectories, createDirectory, createFile, createTempDirectory, createTempDirectory, createTempFile, createTempFile, endBatch, exists, get, get, getFileSystemMetadata, getId, getLastModifiedTime, getLockControl, isSameFile, newBufferedReader, newBufferedWriter, newByteChannel, newDirectoryStream, newDirectoryStream, newInputStream, newOutputStream, notExists, onNewFileSystem, readAllBytes, readAllLines, readAllLines, readAllString, readAllString, readAttributes, setAttribute, setAttributes, size, startBatch, startBatch, write, write, write, write, write, write, write, write, write, writeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconvert, copy, copy, createDirectories, createDirectory, createFile, createTempDirectory, createTempDirectory, createTempFile, createTempFile, endBatch, exists, get, get, getFileSystemMetadata, getLastModifiedTime, isSameFile, newBufferedReader, newBufferedWriter, newByteChannel, newDirectoryStream, newDirectoryStream, newInputStream, newOutputStream, notExists, onNewFileSystem, readAllBytes, readAllLines, readAllLines, readAllString, readAllString, readAttributes, setAttribute, setAttributes, size, startBatch, startBatch, write, write, write, write, write, write, write, write, write, write@SafeVarargs public IOServiceIndexedImpl(MetaIndexEngine indexEngine, ExecutorService executorService, IndexersFactory indexersFactory, IndexerDispatcher.IndexerDispatcherFactory dispatcherFactory, Class<? extends FileAttributeView>... views)
@SafeVarargs public IOServiceIndexedImpl(String id, MetaIndexEngine indexEngine, ExecutorService executorService, IndexersFactory indexersFactory, IndexerDispatcher.IndexerDispatcherFactory dispatcherFactory, Class<? extends FileAttributeView>... views)
@SafeVarargs public IOServiceIndexedImpl(IOWatchService watchService, MetaIndexEngine indexEngine, ExecutorService executorService, IndexersFactory indexersFactory, IndexerDispatcher.IndexerDispatcherFactory dispatcherFactory, Class<? extends FileAttributeView>... views)
@SafeVarargs public IOServiceIndexedImpl(String id, IOWatchService watchService, MetaIndexEngine indexEngine, ExecutorService executorService, IndexersFactory indexersFactory, IndexerDispatcher.IndexerDispatcherFactory dispatcherFactory, Class<? extends FileAttributeView>... views)
@SafeVarargs public IOServiceIndexedImpl(MetaIndexEngine indexEngine, Observer observer, ExecutorService executorService, IndexersFactory indexersFactory, IndexerDispatcher.IndexerDispatcherFactory dispatcherFactory, BatchIndexListener batchIndexListener, Class<? extends FileAttributeView>... views)
@SafeVarargs public IOServiceIndexedImpl(String id, MetaIndexEngine indexEngine, Observer observer, ExecutorService executorService, IndexersFactory indexersFactory, IndexerDispatcher.IndexerDispatcherFactory dispatcherFactory, BatchIndexListener batchIndexListener, Class<? extends FileAttributeView>... views)
@SafeVarargs public IOServiceIndexedImpl(IOWatchService watchService, MetaIndexEngine indexEngine, Observer observer, ExecutorService executorService, IndexersFactory indexersFactory, IndexerDispatcher.IndexerDispatcherFactory dispatcherFactory, BatchIndexListener batchIndexListener, Class<? extends FileAttributeView>... views)
@SafeVarargs public IOServiceIndexedImpl(String id, IOWatchService watchService, MetaIndexEngine indexEngine, Observer observer, ExecutorService executorService, IndexersFactory indexersFactory, IndexerDispatcher.IndexerDispatcherFactory dispatcherFactory, BatchIndexListener batchIndexListener, Class<? extends FileAttributeView>... views)
public FileSystem getFileSystem(URI uri) throws IllegalArgumentException, FileSystemNotFoundException, ProviderNotFoundException, SecurityException
getFileSystem in interface IOServicegetFileSystem in class AbstractIOServiceIllegalArgumentExceptionFileSystemNotFoundExceptionProviderNotFoundExceptionSecurityExceptionpublic FileSystem newFileSystem(URI uri, Map<String,?> env) throws IllegalArgumentException, FileSystemAlreadyExistsException, ProviderNotFoundException, IOException, SecurityException
newFileSystem in interface IOServicenewFileSystem in class AbstractIOServiceIllegalArgumentExceptionFileSystemAlreadyExistsExceptionProviderNotFoundExceptionIOExceptionSecurityExceptionpublic int priority()
priority in interface PriorityDisposablepriority in class IOServiceDotFileImplpublic void dispose()
dispose in interface Disposabledispose in class AbstractIOServiceprotected void setupWatchService(FileSystem fs)
public void delete(Path path, DeleteOption... options) throws IllegalArgumentException, NoSuchFileException, DirectoryNotEmptyException, IOException, SecurityException
delete in interface IOServicedelete in class IOServiceDotFileImplIllegalArgumentExceptionNoSuchFileExceptionDirectoryNotEmptyExceptionIOExceptionSecurityExceptionprotected Set<Path> getRealCreatedPaths(List<WatchEvent<?>> events)
public boolean deleteIfExists(Path path, DeleteOption... options) throws IllegalArgumentException, IOException, SecurityException
deleteIfExists in interface IOServicedeleteIfExists in class IOServiceDotFileImplIllegalArgumentExceptionIOExceptionSecurityExceptionprotected boolean delIfExists(Path path, DeleteOption... options) throws IllegalArgumentException, IOException, SecurityException
public MetaIndexEngine getIndexEngine()
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.