public interface Process
Modifier and Type | Method and Description |
---|---|
void |
start()
Starts the Alluxio process.
|
void |
stop()
Stops the Alluxio process, blocking until the action is completed.
|
boolean |
waitForReady(int timeoutMs)
Waits until the process is ready to serve requests.
|
void start() throws Exception
stop()
.
The waitForReady(int)
method can be used to make sure that the process is ready to
serve requests.Exception
void stop() throws Exception
Exception
boolean waitForReady(int timeoutMs)
timeoutMs
- how long to wait in millisecondsCopyright © 2023. All Rights Reserved.