Package alluxio.util.webui
Class StorageTierInfo
- java.lang.Object
-
- alluxio.util.webui.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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCapacity()
Gets capacity.java.lang.String
getFreeCapacity()
Gets free capacity.int
getFreeSpacePercent()
Gets free space percent.java.lang.String
getStorageTierAlias()
Gets storage tier alias.java.lang.String
getUsedCapacity()
Gets used capacity.int
getUsedSpacePercent()
Gets used space percent.
-
-
-
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
-
-