public class StorageBootup extends Object
The PID file for the Storage component is managed internally by Cassandra and not by this class. This means that you will not find any code which creates or deletes the PID file for the Storage component.
| Constructor and Description |
|---|
StorageBootup(BootupProcessExecutor bootupProcessExecutor,
Path graknHome,
Path graknPropertiesPath) |
| Modifier and Type | Method and Description |
|---|---|
void |
clean() |
boolean |
isRunning() |
void |
start()
Attempt to start Storage and perform periodic polling until it is ready.
|
void |
startIfNotRunning()
Attempt to start Storage if it is not already running
|
void |
status() |
void |
statusVerbose() |
void |
stop() |
public StorageBootup(BootupProcessExecutor bootupProcessExecutor, Path graknHome, Path graknPropertiesPath)
public void startIfNotRunning()
public void stop()
public void status()
public void statusVerbose()
public void clean()
public boolean isRunning()
public void start()
A BootupException will be thrown if Storage does not start after a timeout specified
in the 'WAIT_INTERVAL_SECOND' field.
BootupExceptionCopyright © 2018 Grakn Labs Ltd. All rights reserved.