@ThreadSafe public class MountInfo extends 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(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.Copyright © 2023. All Rights Reserved.