| Interface | Description |
|---|---|
| FakeLoad |
An object containing instructions for simulating system load.
|
| FakeLoadExecutor |
An object that executes submitted
FakeLoad objects. |
| FakeLoadScheduler |
Object that schedules submitted
FakeLoad objects. |
| LoadSimulator |
Represents a thread simulating some system load.
|
| SimulationInfrastructure |
Represents a simulation infrastructure in which system load as
specified by
FakeLoad objects is simulated. |
| Class | Description |
|---|---|
| AbstractLoadSimulator |
Skeleton
LoadSimulator implementation. |
| CpuSimulator |
Skeleton implementation of a CPU Simulator
|
| DefaultFakeLoadExecutor |
The default
FakeLoadExecutor implementation. |
| DefaultFakeLoadScheduler |
Default implementation of the
FakeLoadScheduler interface. |
| DefaultSimulationInfrastructure |
Default implementation class of
SimulationInfrastructure. |
| DiskInputSimulator |
Skeleton implementation of a
LoadSimulator that simulates disk input. |
| DiskOutputSimulator |
Skeleton implementation of a
LoadSimulator that simulates disk output
Disk output is simulated by writing an amount of bytes to a file. |
| FakeLoadBuilder |
A
FakeLoad builder which can be used to create FakeLoad instances more efficiently. |
| FakeLoadExecutors |
Factory methods that create
FakeLoadExecutor instances. |
| FakeLoads |
Factory and utility methods for
FakeLoad classes defined in this package. |
| FibonacciCpuSimulator |
A
CpuSimulator that simulates CPU by calculating Fibonacci sequences. |
| LoadController |
This class acts as the controlling entity of the
DefaultSimulationInfrastructure. |
| MemorySimulator | |
| RandomAccessDiskInputSimulator |
A
DiskInputSimulator that simulates disk input using an underlying RandomAccessFile. |
| RandomAccessDiskOutputSimulator |
A
DiskOutputSimulator that simulates disk output using an underlying RandomAccessFile. |
| SystemLoad |
Class representing system load.
|
| Enum | Description |
|---|---|
| MemoryUnit |
Enum representing different memory units like bytes, kilobytes, megabytes, gigabytes.
|
| Exception | Description |
|---|---|
| MaximumLoadExceededException |
Exception indicating the exceeding of load level.
|
Copyright © 2017. All rights reserved.