| Package | Description |
|---|---|
| io.atlassian.util.concurrent |
| Modifier and Type | Method and Description |
|---|---|
static Memory |
Memory.bytes(long number)
Construct a Memory represented in bytes.
|
static Memory |
Memory.gigabytes(long number)
Construct a Memory represented in gigabytes.
|
static Memory |
Memory.kilobytes(long number)
Construct a Memory represented in kilobytes.
|
static Memory |
Memory.megabytes(long number)
Construct a Memory represented in megabytes.
|
static Memory |
Memory.of(long number,
Memory.Unit unit)
Construct a Memory represented in the supplied unit type.
|
static Memory |
Memory.terabytes(long number)
Construct a Memory represented in terabytes.
|
Memory |
Memory.to(Memory.Unit unit)
Convert to the supplied unit representation.
|
| Modifier and Type | Method and Description |
|---|---|
int |
Memory.MemoryComparator.compare(Memory o1,
Memory o2) |
Copyright © 2024 Atlassian. All rights reserved.