Uses of Class
one.microstream.configuration.types.ByteUnit
Package | Description |
---|---|
one.microstream.configuration.types |
-
Uses of ByteUnit in one.microstream.configuration.types
Methods in one.microstream.configuration.types that return ByteUnit Modifier and Type Method Description static ByteUnit
ByteUnit. ofName(String name)
ByteUnit
ByteSize.Default. unit()
ByteUnit
ByteSize. unit()
Gets the unit of thisByteSize
.static ByteUnit
ByteUnit. valueOf(String name)
Returns the enum constant of this type with the specified name.static ByteUnit[]
ByteUnit. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in one.microstream.configuration.types with parameters of type ByteUnit Modifier and Type Method Description static ConfigurationValueMapper<ByteSize>
ConfigurationValueMapper. ByteSize(ByteUnit defaultUnit)
static ByteUnit.Conversion
ByteUnit. convert(double sourceValue, ByteUnit sourceUnit)
Starts a conversion, continue withByteUnit.Conversion.to(ByteUnit)
, e.g.:static ByteSize
ByteSize. New(double amount, ByteUnit unit)
Pseudo-constructor method which creates a newByteSize
object.static ByteSizeParser
ByteSizeParser. New(ByteUnit defaultUnit)
Preudo-constructor method to create a newByteSizeParser
.double
ByteUnit.Conversion. to(ByteUnit targetUnit)