@ThreadSafe public final class FuseMountConfig extends Object
Modifier and Type | Method and Description |
---|---|
static FuseMountConfig |
create(AlluxioConfiguration conf)
Constructs a new Fuse mount configuration.
|
static FuseMountConfig |
create(String mountPoint,
String alluxioPath,
List<String> fuseOptions,
AlluxioConfiguration conf)
Constructs a new Fuse mount configuration.
|
List<String> |
getFuseMountOptions() |
String |
getMountAlluxioPath() |
String |
getMountPoint() |
boolean |
isDebug() |
public static FuseMountConfig create(AlluxioConfiguration conf)
conf
- the alluxio configuration to get default mount config frompublic static FuseMountConfig create(@Nullable String mountPoint, @Nullable String alluxioPath, @Nullable List<String> fuseOptions, AlluxioConfiguration conf)
mountPoint
- the path to where the FS should be mounted,
use configuration if not providedalluxioPath
- the path within alluxio that will be used as the mounted FS root,
use configuration if not providedfuseOptions
- the fuse mount options, use configuration if not providedconf
- the alluxio configuration to get mount config frompublic String getMountPoint()
public String getMountAlluxioPath()
public List<String> getFuseMountOptions()
public boolean isDebug()
Copyright © 2023. All Rights Reserved.