public class StartBenchmarkRequest
extends org.hobbit.core.components.AbstractCommandReceivingComponent
| Modifier and Type | Field and Description |
|---|---|
static String |
BENCHMARK_PARAM_FILE_KEY |
static String |
BENCHMARK_URI_KEY |
protected com.rabbitmq.client.QueueingConsumer |
consumer |
protected com.rabbitmq.client.Channel |
frontEnd2Controller |
private static org.slf4j.Logger |
LOGGER |
private static long |
REQUEST_TIMEOUT |
static String |
SYSTEM_URI_KEY |
| Constructor and Description |
|---|
StartBenchmarkRequest() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
init() |
private static org.apache.jena.rdf.model.Model |
readModel(String benchmarkModelFile) |
void |
receiveCommand(byte command,
byte[] data) |
void |
run() |
addCommandHeaderId, createContainer, createContainer, handleCmd, sendToCmdQueue, sendToCmdQueue, sendToCmdQueue, stopContainerprivate static final org.slf4j.Logger LOGGER
public static final String BENCHMARK_URI_KEY
public static final String SYSTEM_URI_KEY
public static final String BENCHMARK_PARAM_FILE_KEY
private static final long REQUEST_TIMEOUT
protected com.rabbitmq.client.Channel frontEnd2Controller
protected com.rabbitmq.client.QueueingConsumer consumer
public void init()
throws Exception
init in interface org.hobbit.core.components.Componentinit in class org.hobbit.core.components.AbstractCommandReceivingComponentExceptionpublic void receiveCommand(byte command,
byte[] data)
private static org.apache.jena.rdf.model.Model readModel(String benchmarkModelFile)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class org.hobbit.core.components.AbstractCommandReceivingComponentIOExceptionCopyright © 2017–2018. All rights reserved.