T - the type of the futurepublic class InstantFuture<T> extends InstantFutureBase<T>
| Constructor and Description |
|---|
InstantFuture(T value) |
| Modifier and Type | Method and Description |
|---|---|
T |
get() |
T |
get(long timeout,
TimeUnit unit) |
addListener, addListener, cancel, isCancelled, isDone, removeListener, removeListenerpublic InstantFuture(T value)
public T get() throws InterruptedException, ExecutionException
public T get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.