public class EngineProcess extends AbstractProcessHandler
| Modifier and Type | Field and Description |
|---|---|
protected Path |
configPath |
static Path |
ENGINE_PID |
protected Path |
homePath |
static String |
javaOpts |
SH, WAIT_INTERVAL_S| Constructor and Description |
|---|
EngineProcess(Path homePath,
Path configPath) |
| Modifier and Type | Method and Description |
|---|---|
void |
clean() |
protected String |
commandToRun() |
protected String |
getClassPathFrom(Path home) |
protected Class |
graknClass() |
boolean |
isRunning() |
void |
start() |
void |
status() |
void |
statusVerbose() |
void |
stop() |
executeAndWait, getPidFromFile, getPidFromPsOf, processIsRunning, processStatus, retrievePid, selectCommand, stopProgram, waitUntilStoppedpublic static final Path ENGINE_PID
public static final String javaOpts
protected final Path homePath
protected final Path configPath
Copyright © 2018 Grakn Labs Ltd. All rights reserved.