| Constructor and Description |
|---|
LifecycleModuleFuture() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancel(boolean mayInterruptIfRunning) |
Result<Thread> |
get() |
Result<Thread> |
get(long timeout,
TimeUnit unit) |
boolean |
isCancelled() |
boolean |
isDone() |
void |
setResult(Result<Thread> result) |
public boolean cancel(boolean mayInterruptIfRunning)
public boolean isCancelled()
isCancelled in interface Future<Result<Thread>>public Result<Thread> get() throws InterruptedException
get in interface Future<Result<Thread>>InterruptedExceptionpublic Result<Thread> get(long timeout, TimeUnit unit) throws InterruptedException
get in interface Future<Result<Thread>>InterruptedExceptionCopyright © 2019. All rights reserved.