| Constructor and Description |
|---|
FutureProcess(Process process) |
FutureProcess(Process process,
FutureProcessListener listener) |
public FutureProcess(Process process)
public FutureProcess(Process process, FutureProcessListener listener)
public Process process()
public long pid()
public boolean cancel(boolean mayInterruptIfRunning)
public boolean isCancelled()
isCancelled in interface Future<Integer>public Integer get() throws InterruptedException, ExecutionException
get in interface Future<Integer>InterruptedExceptionExecutionExceptionpublic Integer get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
get in interface Future<Integer>InterruptedExceptionExecutionExceptionTimeoutExceptionCopyright © 2011 Ovea. All Rights Reserved.