public final class Commands extends Object
| Modifier and Type | Field and Description |
|---|---|
static byte |
BENCHMARK_FINISHED_SIGNAL |
static byte |
BENCHMARK_READY_SIGNAL
The signal sent by the benchmark controller to indicate that the
benchmark is ready.
|
static byte |
DATA_GENERATION_FINISHED |
static byte |
DATA_GENERATOR_READY_SIGNAL
The signal sent by the data generator to indicate that it is ready.
|
static byte |
DATA_GENERATOR_START_SIGNAL |
static byte |
DOCKER_CONTAINER_START
Command used to ask a docker managing component to start a certain
container.
|
static byte |
DOCKER_CONTAINER_STOP
Command used to ask a docker managing component to stop a certain
container.
|
static byte |
DOCKER_CONTAINER_TERMINATED |
static byte |
EVAL_MODULE_FINISHED_SIGNAL |
static byte |
EVAL_MODULE_READY_SIGNAL
The signal sent by the evaluation module to indicate that it is ready.
|
static byte |
EVAL_STORAGE_READY_SIGNAL
The signal sent by the evaluation storage to indicate that it is ready.
|
static byte |
EVAL_STORAGE_TERMINATE |
private static com.google.common.collect.ImmutableMap<Byte,String> |
ID_TO_COMMAND_NAME_MAP |
static byte |
REQUEST_SYSTEM_RESOURCES_USAGE |
static byte |
START_BENCHMARK_SIGNAL |
static byte |
SYSTEM_READY_SIGNAL
The signal sent by the benchmarked system to indicate that the system is
ready.
|
static byte |
TASK_GENERATION_FINISHED |
static byte |
TASK_GENERATOR_READY_SIGNAL
The signal sent by the task generator to indicate that it is ready.
|
static byte |
TASK_GENERATOR_START_SIGNAL |
| Modifier | Constructor and Description |
|---|---|
private |
Commands() |
| Modifier and Type | Method and Description |
|---|---|
private static com.google.common.collect.ImmutableMap<Byte,String> |
generateMap() |
static String |
toString(byte command)
Returns the name of the command if it is defined inside the
Commands class or its id as String. |
public static final byte SYSTEM_READY_SIGNAL
public static final byte BENCHMARK_READY_SIGNAL
public static final byte DATA_GENERATOR_READY_SIGNAL
public static final byte TASK_GENERATOR_READY_SIGNAL
public static final byte EVAL_STORAGE_READY_SIGNAL
public static final byte EVAL_MODULE_READY_SIGNAL
public static final byte DATA_GENERATOR_START_SIGNAL
public static final byte TASK_GENERATOR_START_SIGNAL
public static final byte EVAL_MODULE_FINISHED_SIGNAL
public static final byte EVAL_STORAGE_TERMINATE
public static final byte BENCHMARK_FINISHED_SIGNAL
public static final byte DOCKER_CONTAINER_START
The command is followed by a String containing the following JSON data:
{
"image": "image-to-run",
"type": "system|benchmark",
"parent":"parent-container-id"
}
public static final byte DOCKER_CONTAINER_STOP
The command is followed by a String containing the following JSON data:
{
"containerId": "container-to-stop"
}
public static final byte DATA_GENERATION_FINISHED
public static final byte TASK_GENERATION_FINISHED
public static final byte DOCKER_CONTAINER_TERMINATED
public static final byte START_BENCHMARK_SIGNAL
public static final byte REQUEST_SYSTEM_RESOURCES_USAGE
Copyright © 2017–2018. All rights reserved.