Class StorageSize

java.lang.Object
org.apache.hadoop.conf.StorageSize

public class StorageSize extends Object
A class that contains the numeric value and the unit of measure.
  • Constructor Details

    • StorageSize

      public StorageSize(StorageUnit unit, double value)
      Constucts a Storage Measure, which contains the value and the unit of measure.
      Parameters:
      unit - - Unit of Measure
      value - - Numeric value.
  • Method Details