Package alluxio.wire

Class MountPointInfo

  • All Implemented Interfaces:
    java.io.Serializable

    @NotThreadSafe
    @PublicApi
    public class MountPointInfo
    extends java.lang.Object
    implements java.io.Serializable
    The mount point information.
    See Also:
    Serialized Form
    • Constructor Detail

      • MountPointInfo

        public MountPointInfo()
        Creates a new instance of MountPointInfo.
    • Method Detail

      • getMountId

        public long getMountId()
        Returns:
        the mount id
      • getUfsUri

        public java.lang.String getUfsUri()
        Returns:
        the uri of the under filesystem
      • getUfsType

        public java.lang.String getUfsType()
        Returns:
        the type of the under filesystem
      • getUfsCapacityBytes

        public long getUfsCapacityBytes()
        Returns:
        the capacity of the under filesystem in bytes
      • getUfsUsedBytes

        public long getUfsUsedBytes()
        Returns:
        the usage of the under filesystem in bytes
      • getReadOnly

        public boolean getReadOnly()
        Returns:
        whether the mount point is read-only
      • getProperties

        public java.util.Map<java.lang.String,​java.lang.String> getProperties()
        Returns:
        properties of the mount point
      • getShared

        public boolean getShared()
        Returns:
        whether the mount point is shared
      • setMountId

        public MountPointInfo setMountId​(long mountId)
        Parameters:
        mountId - set mountId
        Returns:
        the mount point information
      • setUfsUri

        public MountPointInfo setUfsUri​(java.lang.String uri)
        Parameters:
        uri - the uri of the under filesystem to use
        Returns:
        the mount point information
      • setUfsType

        public MountPointInfo setUfsType​(java.lang.String type)
        Parameters:
        type - the type of the under filesystem to use
        Returns:
        the mount point information
      • setUfsCapacityBytes

        public MountPointInfo setUfsCapacityBytes​(long capacity)
        Parameters:
        capacity - the capacity of the under filesystem to use
        Returns:
        the mount point information
      • setUfsUsedBytes

        public MountPointInfo setUfsUsedBytes​(long usedBytes)
        Parameters:
        usedBytes - the used bytes of the under filesystem to use
        Returns:
        the mount point information
      • setReadOnly

        public MountPointInfo setReadOnly​(boolean readOnly)
        Parameters:
        readOnly - the indicator of whether the mount point is read-only to use
        Returns:
        the mount point information
      • setProperties

        public MountPointInfo setProperties​(java.util.Map<java.lang.String,​java.lang.String> properties)
        Parameters:
        properties - the mount point properties to use
        Returns:
        the mount point information
      • setShared

        public MountPointInfo setShared​(boolean shared)
        Parameters:
        shared - the indicator of whether the mount point is shared with all Alluxio users
        Returns:
        the mount point information
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object