public class ProcessWaitFor
extends java.lang.Object
Constructor and Description |
---|
ProcessWaitFor(java.lang.Process process,
TaskExecutor executor)
Deprecated.
use
ProcessWaitFor(Process, TaskExecutor, String) instead |
ProcessWaitFor(java.lang.Process process,
TaskExecutor executor,
java.lang.String presentableName) |
Modifier and Type | Method and Description |
---|---|
void |
detach() |
void |
setTerminationCallback(Consumer<java.lang.Integer> r) |
void |
waitFor() |
boolean |
waitFor(long timeout,
java.util.concurrent.TimeUnit unit) |
@Deprecated public ProcessWaitFor(java.lang.Process process, TaskExecutor executor)
ProcessWaitFor(Process, TaskExecutor, String)
insteadpublic ProcessWaitFor(java.lang.Process process, TaskExecutor executor, java.lang.String presentableName)
public void detach()
public void setTerminationCallback(Consumer<java.lang.Integer> r)
public void waitFor() throws java.lang.InterruptedException
java.lang.InterruptedException
public boolean waitFor(long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException
java.lang.InterruptedException