public static class FuseOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Creates a new builder with default settings.
|
Modifier and Type | Method and Description |
---|---|
FuseOptions |
build()
Builds Fuse options.
|
static FuseOptions.Builder |
fromConfig(AlluxioConfiguration conf)
Creates a new builder pre-populated with settings from the given configurations.
|
FileSystemOptions |
getFileSystemOptions() |
Set<String> |
getFuseMountOptions() |
boolean |
isSpecialCommandEnabled() |
boolean |
isUpdateCheckEnabled() |
FuseOptions.Builder |
setFileSystemOptions(FileSystemOptions fileSystemOptions)
Set file system options.
|
FuseOptions.Builder |
setFuseMountOptions(Set<String> fuseMountOptions)
Sets mount options.
|
FuseOptions.Builder |
setSpecialCommandEnabled(boolean specialCommandEnabled)
Enables or disabled fuse special commands.
|
FuseOptions.Builder |
setUpdateCheckEnabled(boolean updateCheckEnabled)
Enables or disables update check.
|
public static FuseOptions.Builder fromConfig(AlluxioConfiguration conf)
conf
- configurationspublic FileSystemOptions getFileSystemOptions()
public FuseOptions.Builder setFileSystemOptions(FileSystemOptions fileSystemOptions)
fileSystemOptions
- public FuseOptions.Builder setFuseMountOptions(Set<String> fuseMountOptions)
fuseMountOptions
- public boolean isUpdateCheckEnabled()
public FuseOptions.Builder setUpdateCheckEnabled(boolean updateCheckEnabled)
updateCheckEnabled
- public boolean isSpecialCommandEnabled()
public FuseOptions.Builder setSpecialCommandEnabled(boolean specialCommandEnabled)
specialCommandEnabled
- public FuseOptions build()
Copyright © 2023. All Rights Reserved.