public class FileSystemOptions extends Object
FileSystem
.Modifier and Type | Method and Description |
---|---|
static FileSystemOptions |
create(AlluxioConfiguration conf)
Creates the file system options.
|
static FileSystemOptions |
create(AlluxioConfiguration conf,
Optional<UfsFileSystemOptions> ufsOptions)
Creates the file system options.
|
Optional<UfsFileSystemOptions> |
getUfsFileSystemOptions() |
boolean |
isDataCacheEnabled() |
boolean |
isMetadataCacheEnabled() |
public static FileSystemOptions create(AlluxioConfiguration conf)
conf
- alluxio configurationpublic static FileSystemOptions create(AlluxioConfiguration conf, Optional<UfsFileSystemOptions> ufsOptions)
conf
- alluxio configurationufsOptions
- the options for ufs base file systempublic Optional<UfsFileSystemOptions> getUfsFileSystemOptions()
public boolean isMetadataCacheEnabled()
public boolean isDataCacheEnabled()
Copyright © 2023. All Rights Reserved.