Modifier and Type | Method and Description |
---|---|
static <T> T |
get(AsyncStep<T> asyncStep)
Gets the completed computation result of
asyncStep . |
public static <T> T get(AsyncStep<T> asyncStep) throws ExecutionException
asyncStep
.T
- the type of the computation result of asyncStep
asyncStep
- completed AsyncStep
ExecutionException
- if the Future
failed with an exceptionIllegalStateException
- if asyncStep
has not been completedCopyright © 2018. All rights reserved.