Class StorageTierInfo


  • public final class StorageTierInfo
    extends java.lang.Object
    Class to make referencing tiered storage information more intuitive.
    • Constructor Summary

      Constructors 
      Constructor Description
      StorageTierInfo​(java.lang.String storageTierAlias, long capacityBytes, long usedBytes)
      Instantiates a new Storage tier info.
    • Constructor Detail

      • StorageTierInfo

        public StorageTierInfo​(java.lang.String storageTierAlias,
                               long capacityBytes,
                               long usedBytes)
        Instantiates a new Storage tier info.
        Parameters:
        storageTierAlias - the storage tier alias
        capacityBytes - the capacity bytes
        usedBytes - the used bytes
    • Method Detail

      • getStorageTierAlias

        public java.lang.String getStorageTierAlias()
        Gets storage tier alias.
        Returns:
        the storage alias
      • getCapacity

        public java.lang.String getCapacity()
        Gets capacity.
        Returns:
        the capacity
      • getFreeCapacity

        public java.lang.String getFreeCapacity()
        Gets free capacity.
        Returns:
        the free capacity
      • getFreeSpacePercent

        public int getFreeSpacePercent()
        Gets free space percent.
        Returns:
        the free space as a percentage
      • getUsedCapacity

        public java.lang.String getUsedCapacity()
        Gets used capacity.
        Returns:
        the used capacity
      • getUsedSpacePercent

        public int getUsedSpacePercent()
        Gets used space percent.
        Returns:
        the used space as a percentage