public class MemorySizeParser extends Object
| Constructor and Description |
|---|
MemorySizeParser() |
| Modifier and Type | Method and Description |
|---|---|
static long |
parse(String configuredMemorySize)
Parse a String containing a human-readable memory size.
|
public static long parse(String configuredMemorySize) throws IllegalArgumentException
configuredMemorySize - the String containing a human-readable memory size.IllegalArgumentException - thrown when the configured memory size cannot be parsed.Copyright 2001-2021, Terracotta, Inc.