Package alluxio.util
Class UnixMountInfo
- java.lang.Object
-
- alluxio.util.UnixMountInfo
-
public final class UnixMountInfo extends java.lang.Object
Class representing an entry in a Unix /etc/fstab file.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UnixMountInfo.Builder
Builder forUnixMountInfo
.static class
UnixMountInfo.Options
Unix mount info options.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
com.google.common.base.Optional<java.lang.String>
getDeviceSpec()
com.google.common.base.Optional<java.lang.String>
getFsType()
com.google.common.base.Optional<java.lang.String>
getMountPoint()
UnixMountInfo.Options
getOptions()
int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
getDeviceSpec
public com.google.common.base.Optional<java.lang.String> getDeviceSpec()
- Returns:
- the device spec
-
getMountPoint
public com.google.common.base.Optional<java.lang.String> getMountPoint()
- Returns:
- the mount point
-
getFsType
public com.google.common.base.Optional<java.lang.String> getFsType()
- Returns:
- the filesystem type
-
getOptions
public UnixMountInfo.Options getOptions()
- Returns:
- the mount options
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-