Package | Description |
---|---|
org.forgerock.opendj.config |
Common administration classes.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
static long |
SizeUnit.parseValue(String s,
SizeUnit defaultUnit)
Parse the provided size string and return its equivalent size in bytes.
|
Copyright 2010-2020 ForgeRock AS.