T - Type of result.public static class NoParallelismStrategy.Stub<T> extends Object implements Promise<T>
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancel(boolean mayInterruptIfRunning) |
T |
get() |
T |
get(long timeout,
@NotNull TimeUnit unit) |
boolean |
isCancelled() |
boolean |
isDone() |
public Stub(T res)
res - Execution result.public boolean cancel(boolean mayInterruptIfRunning)
public boolean isCancelled()
isCancelled in interface Future<T>public T get() throws InterruptedException, ExecutionException
get in interface Future<T>InterruptedExceptionExecutionExceptionpublic T get(long timeout, @NotNull @NotNull TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
get in interface Future<T>InterruptedExceptionExecutionExceptionTimeoutException
GridGain In-Memory Computing Platform : ver. 8.9.26 Release Date : October 16 2025