Class UIUsageOnTier


  • public class UIUsageOnTier
    extends java.lang.Object
    A wrapper class of the usage info per tier for displaying in the UI. This is mainly used to avoid using Map in jsp, which could cause problem with Java 8. See https://alluxio.atlassian.net/browse/ALLUXIO-22.
    • Constructor Summary

      Constructors 
      Constructor Description
      UIUsageOnTier​(java.lang.String tierAlias, long capacityBytes, long usedBytes)
      Creates a new instance of UIUsageOnTier.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getCapacityBytes()
      Gets capacity bytes.
      java.lang.String getTierAlias()
      Gets tier alias.
      long getUsedBytes()
      Gets used bytes.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UIUsageOnTier

        public UIUsageOnTier​(java.lang.String tierAlias,
                             long capacityBytes,
                             long usedBytes)
        Creates a new instance of UIUsageOnTier.
        Parameters:
        tierAlias - tier alias
        capacityBytes - capacity in bytes
        usedBytes - used space in bytes
    • Method Detail

      • getTierAlias

        public java.lang.String getTierAlias()
        Gets tier alias.
        Returns:
        the tier alias
      • getCapacityBytes

        public long getCapacityBytes()
        Gets capacity bytes.
        Returns:
        capacity in bytes
      • getUsedBytes

        public long getUsedBytes()
        Gets used bytes.
        Returns:
        used space in bytes