@ThreadSafe
public class MountInfo
extends java.lang.Object
| Constructor and Description |
|---|
MountInfo(AlluxioURI alluxioUri,
AlluxioURI ufsUri,
long mountId,
MountPOptions options)
Creates a new instance of
MountInfo. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
AlluxioURI |
getAlluxioUri() |
long |
getMountId() |
MountPOptions |
getOptions() |
AlluxioURI |
getUfsUri() |
int |
hashCode() |
MountPointInfo |
toDisplayMountPointInfo() |
MountPointInfo |
toMountPointInfo() |
public MountInfo(AlluxioURI alluxioUri, AlluxioURI ufsUri, long mountId, MountPOptions options)
MountInfo.alluxioUri - an Alluxio path URIufsUri - a UFS path URImountId - the id of the mountoptions - the mount optionspublic AlluxioURI getAlluxioUri()
AlluxioURI of the Alluxio pathpublic AlluxioURI getUfsUri()
AlluxioURI of the ufs pathpublic MountPOptions getOptions()
MountPOptions for the mount pointpublic long getMountId()
public MountPointInfo toMountPointInfo()
MountPointInfo for the mount pointpublic MountPointInfo toDisplayMountPointInfo()
MountPointInfo for the mount point. Some information is formatted
for display purpose.public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2020. All Rights Reserved.