| Package | Description |
|---|---|
| com.redhat.thermostat.common | |
| com.redhat.thermostat.vm.memory.client.core |
| Modifier and Type | Method and Description |
|---|---|
static Size.Unit |
Size.Unit.getBestUnit(long bytes) |
Size.Unit |
Size.getUnit() |
static Size.Unit |
Size.Unit.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Size.Unit[] |
Size.Unit.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Size |
Size.convertTo(Size.Unit target) |
| Constructor and Description |
|---|
Size(double amount,
Size.Unit unit) |
| Modifier and Type | Method and Description |
|---|---|
Size.Unit |
Payload.getCapacityUnit() |
Size.Unit |
Payload.getUsedUnit() |
| Modifier and Type | Method and Description |
|---|---|
void |
Payload.setCapacityUnit(Size.Unit capacityUnit) |
void |
Payload.setUsedUnit(Size.Unit usedUnit) |
Copyright © 2013. All Rights Reserved.