public class NonBlockingSteps
extends java.lang.Object
AsyncStep by otherwise throwing a runtime exception.| 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 java.util.concurrent.ExecutionException
asyncStep.T - the type of the computation result of asyncStepasyncStep - completed AsyncStepjava.util.concurrent.ExecutionException - if the Future failed with an exceptionjava.lang.IllegalStateException - if asyncStep has not been completed