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 SizeUnit
SizeUnit. getBestFitUnit(long bytes)
Gets the best-fit unit for the specified number of bytes.static SizeUnit
SizeUnit. 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 SizeUnit
SizeUnit. getUnit(String s)
Get the unit corresponding to the provided unit name.static SizeUnit
SizeUnit. 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 long
SizeUnit. parseValue(String s, SizeUnit defaultUnit)
Parse the provided size string and return its equivalent size in bytes.
-