public interface TaskHandle<T>
| Modifier and Type | Method | Description |
|---|---|---|
T |
get(long timeout) |
Waits if necessary for a specified amount of milliseconds
and then retrieves the result (or null, if there's no result).
|
Task<T> |
getTask() |
Get task object.
|
T get(long timeout) throws TaskManagerException
timeout - waiting timeout in milliseconds.TaskManagerException
Copyright © 2008, 2017, Oracle. All rights reserved.