public class LocalCacheFileSystem extends DelegatingFileSystem
FileSystem.FactorymDelegatedFileSystem| Constructor and Description |
|---|
LocalCacheFileSystem(CacheManager cacheManage,
FileSystem fs,
AlluxioConfiguration conf) |
| Modifier and Type | Method and Description |
|---|---|
AlluxioConfiguration |
getConf() |
FileInStream |
openFile(AlluxioURI path,
OpenFilePOptions options)
Opens a file for reading.
|
FileInStream |
openFile(URIStatus status,
OpenFilePOptions options)
Opens a file for reading.
|
checkAccess, close, createDirectory, createFile, delete, exists, free, getBlockLocations, getBlockLocations, getMountTable, getStatus, getSyncPathList, isClosed, iterateStatus, listStatus, listStatusPartial, loadMetadata, mount, needsSync, persist, rename, reverseResolve, setAcl, setAttribute, startSync, stopSync, unmount, updateMountclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateDirectory, createFile, delete, exists, free, getMountTable, getStatus, iterateStatus, listStatus, loadMetadata, mount, openFile, persist, rename, setAcl, setAttribute, unmountpublic LocalCacheFileSystem(CacheManager cacheManage, FileSystem fs, AlluxioConfiguration conf)
cacheManage - cache managerfs - a FileSystem instance to query on local cache missconf - the configuration, only respected for the first callpublic AlluxioConfiguration getConf()
getConf in interface FileSystemgetConf in class DelegatingFileSystempublic FileInStream openFile(AlluxioURI path, OpenFilePOptions options) throws java.io.IOException, AlluxioException
FileSystemopenFile in interface FileSystemopenFile in class DelegatingFileSystempath - the file to read fromoptions - options to associate with this operationFileInStream for the given pathFileDoesNotExistException - when path does not existOpenDirectoryException - when path is a directoryFileIncompleteException - when path is a file and is not completed yetjava.io.IOExceptionAlluxioExceptionpublic FileInStream openFile(URIStatus status, OpenFilePOptions options) throws java.io.IOException, AlluxioException
FileSystemopenFile in interface FileSystemopenFile in class DelegatingFileSystemstatus - status of the file to read fromoptions - options to associate with this operationFileInStream for the given pathFileDoesNotExistException - when path does not existOpenDirectoryException - when path is a directoryFileIncompleteException - when path is a file and is not completed yetjava.io.IOExceptionAlluxioExceptionCopyright © 2022. All Rights Reserved.