@NotThreadSafe public final class AlluxioProxyProcess extends Object implements ProxyProcess
ProxyProcess.Factory
Modifier and Type | Method and Description |
---|---|
long |
getStartTimeMs() |
long |
getUptimeMs() |
int |
getWebLocalPort() |
void |
start()
Starts the Alluxio process.
|
void |
stop()
Stops the Alluxio process, blocking until the action is completed.
|
String |
toString() |
boolean |
waitForReady(int timeoutMs)
Waits until the process is ready to serve requests.
|
public int getWebLocalPort()
getWebLocalPort
in interface ProxyProcess
public long getStartTimeMs()
getStartTimeMs
in interface ProxyProcess
public long getUptimeMs()
getUptimeMs
in interface ProxyProcess
public void start() throws Exception
Process
Process.stop()
.
The Process.waitForReady(int)
method can be used to make sure that the process is ready to
serve requests.public void stop() throws Exception
Process
public boolean waitForReady(int timeoutMs)
Process
waitForReady
in interface Process
timeoutMs
- how long to wait in millisecondsCopyright © 2023. All Rights Reserved.