ProlongedTaskpublic abstract class UCPTaskBase<T> extends Object implements Task<T>
| Constructor | Description |
|---|---|
UCPTaskBase() |
| Modifier and Type | Method | Description |
|---|---|---|
T |
call() |
|
Future<T> |
getFuture() |
Get the future.
|
boolean |
isCancelled() |
|
boolean |
isCritical() |
|
void |
release() |
Release the task.
|
void |
run() |
|
void |
setFuture(Future<T> future) |
Set the future.
|
Copyright © 2008, 2017, Oracle. All rights reserved.