| Modifier and Type | Class and Description |
|---|---|
| private static class | MemorySizeParser.MemorySize
Memory size calculator. |
| Modifier and Type | Field and Description |
|---|---|
| private static final long | |
| private static final long | |
| private static final long | |
| private static final long | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static long | |
| private static MemorySizeParser. | |
| private static MemorySizeParser. |
| BYTE | back to summary |
|---|---|
| private static final long BYTE | |
| GIGABYTE | back to summary |
|---|---|
| private static final long GIGABYTE | |
| KILOBYTE | back to summary |
|---|---|
| private static final long KILOBYTE | |
| MEGABYTE | back to summary |
|---|---|
| private static final long MEGABYTE | |
| TERABYTE | back to summary |
|---|---|
| private static final long TERABYTE | |
| MemorySizeParser | back to summary |
|---|---|
| public MemorySizeParser() | |
| parse | back to summary |
|---|---|
| public static long parse(String configuredMemorySize) throws IllegalArgumentException Parse a String containing a human-readable memory size.
| |
| parseIncludingUnit | back to summary |
|---|---|
| private static MemorySizeParser. | |
| toMemorySize | back to summary |
|---|---|
| private static MemorySizeParser. | |
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private long |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public long |
| configuredMemorySizeWithoutUnit | back to summary |
|---|---|
| private String configuredMemorySizeWithoutUnit | |
| multiplicationFactor | back to summary |
|---|---|
| private long multiplicationFactor | |
| MemorySize | back to summary |
|---|---|
| private MemorySize(String configuredMemorySizeWithoutUnit, long multiplicationFactor) | |
| calculateMemorySizeInBytes | back to summary |
|---|---|
| public long calculateMemorySizeInBytes() throws IllegalArgumentException | |