T
- the type of the futurepublic class InstantErrorFuture<T> extends InstantFutureBase<T>
Constructor and Description |
---|
InstantErrorFuture(Throwable error) |
Modifier and Type | Method and Description |
---|---|
T |
get() |
T |
get(long timeout,
TimeUnit unit) |
addListener, addListener, cancel, isCancelled, isDone, removeListener, removeListener
public InstantErrorFuture(Throwable error)
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.