@PublicApi @NotThreadSafe public final class MountOptions extends Object
Modifier and Type | Method and Description |
---|---|
static MountOptions |
defaults() |
boolean |
equals(Object o) |
CommonOptions |
getCommonOptions() |
Map<String,String> |
getProperties() |
int |
hashCode() |
boolean |
isReadOnly() |
boolean |
isShared() |
MountOptions |
setCommonOptions(CommonOptions options) |
MountOptions |
setProperties(Map<String,String> properties) |
MountOptions |
setReadOnly(boolean readOnly)
Sets the readonly flag.
|
MountOptions |
setShared(boolean shared) |
String |
toString() |
MountTOptions |
toThrift() |
public static MountOptions defaults()
MountOptions
public CommonOptions getCommonOptions()
public boolean isReadOnly()
public MountOptions setCommonOptions(CommonOptions options)
options
- the common optionspublic MountOptions setReadOnly(boolean readOnly)
readOnly
- the readonly flag value to use; if true, no write or create operations are
allowed under the mount point.public MountOptions setProperties(Map<String,String> properties)
properties
- the properties map to usepublic boolean isShared()
public MountOptions setShared(boolean shared)
shared
- the shared flag value to set; if true, the mounted point is shared with all
Alluxio users.public MountTOptions toThrift()
Copyright © 2023. All Rights Reserved.