Uses of Enum Class
org.apache.hadoop.conf.StorageUnit
Packages that use StorageUnit
-
Uses of StorageUnit in org.apache.hadoop.conf
Methods in org.apache.hadoop.conf that return StorageUnitModifier and TypeMethodDescriptionstatic StorageUnitReturns the enum constant of this class with the specified name.static StorageUnit[]StorageUnit.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.apache.hadoop.conf with parameters of type StorageUnitModifier and TypeMethodDescriptiondoubleConfiguration.getStorageSize(String name, double defaultValue, StorageUnit targetUnit) Gets storage size from a config file.doubleConfiguration.getStorageSize(String name, String defaultValue, StorageUnit targetUnit) Gets the Storage Size from the config, or returns the defaultValue.voidConfiguration.setStorageSize(String name, double value, StorageUnit unit) Sets Storage Size for the specified key.