public final class MemorySizes extends Object
Modifier and Type | Method and Description |
---|---|
static long |
parseByteSizeSpecifier(String specifier)
Parses the given property as a size in bytes.
|
public static long parseByteSizeSpecifier(String specifier)
propertyName
- the name of the property, used for error handlingspecifier
- the specifier. for example "100M"IllegalArgumentException
- if the size specifier cannot be parsed or specifies a
negative size.Copyright © 2020 Actian Corporation. All rights reserved.