public class RunningProcessImpl extends Object implements RunningProcess
| Constructor and Description |
|---|
RunningProcessImpl(ProcessControl process,
Path pidFile,
long timeout,
Runnable onStop) |
RunningProcessImpl(ProcessControl process,
ProcessOutput processOutput,
Path pidFile,
long timeout) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAlive() |
int |
stop() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconnectIOTo, executableBaseName, pidFile, start, writePidFilepublic RunningProcessImpl(ProcessControl process, Path pidFile, long timeout, Runnable onStop)
public RunningProcessImpl(ProcessControl process, ProcessOutput processOutput, Path pidFile, long timeout)
public int stop()
stop in interface RunningProcesspublic boolean isAlive()
Copyright © 2023. All rights reserved.