Uses of Class
org.forgerock.opendj.config.SizeUnit
-
Packages that use SizeUnit Package Description org.forgerock.opendj.config Common administration classes. -
-
Uses of SizeUnit in org.forgerock.opendj.config
Methods in org.forgerock.opendj.config that return SizeUnit Modifier and Type Method Description static SizeUnitSizeUnit. getBestFitUnit(long bytes)Gets the best-fit unit for the specified number of bytes.static SizeUnitSizeUnit. getBestFitUnitExact(long bytes)Gets the best-fit unit for the specified number of bytes which can represent the provided value using an integral value.static SizeUnitSizeUnit. getUnit(String s)Get the unit corresponding to the provided unit name.static SizeUnitSizeUnit. valueOf(String name)Returns the enum constant of this type with the specified name.static SizeUnit[]SizeUnit. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.forgerock.opendj.config with parameters of type SizeUnit Modifier and Type Method Description static longSizeUnit. parseValue(String s, SizeUnit defaultUnit)Parse the provided size string and return its equivalent size in bytes.
-