Package org.apache.hadoop.conf
Class StorageSize
java.lang.Object
org.apache.hadoop.conf.StorageSize
A class that contains the numeric value and the unit of measure.
-
Constructor Summary
ConstructorsConstructorDescriptionStorageSize(StorageUnit unit, double value) Constucts a Storage Measure, which contains the value and the unit of measure. -
Method Summary
-
Constructor Details
-
StorageSize
Constucts a Storage Measure, which contains the value and the unit of measure.- Parameters:
unit- - Unit of Measurevalue- - Numeric value.
-
-
Method Details
-
parse
-
getUnit
-
getValue
public double getValue()
-