| Modifier and Type | Method and Description |
|---|---|
static MemoryUnit |
MemoryUnit.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MemoryUnit[] |
MemoryUnit.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
FakeLoadBuilder |
FakeLoadBuilder.withDiskInput(long diskInput,
MemoryUnit unit) |
FakeLoad |
FakeLoad.withDiskInput(long load,
MemoryUnit unit)
Returns a
FakeLoad instance with the specified disk input load as bytes/seconds. |
FakeLoadBuilder |
FakeLoadBuilder.withDiskOutput(long diskOutput,
MemoryUnit unit) |
FakeLoad |
FakeLoad.withDiskOutput(long load,
MemoryUnit unit)
Returns a
FakeLoad instance with the specified disk output load as bytes/seconds. |
FakeLoadBuilder |
FakeLoadBuilder.withMemory(long memoryLoad,
MemoryUnit unit) |
FakeLoad |
FakeLoad.withMemory(long amount,
MemoryUnit unit)
Returns a
FakeLoad instance with the specified memory load. |
Copyright © 2017. All rights reserved.