Class FutureValue<T>
- java.lang.Object
 - 
- jetbrains.mps.internal.make.runtime.util.FutureValue<T>
 
 
- 
- 
Constructor Summary
Constructors Constructor Description FutureValue(T value) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancancel(boolean b)Tget()Tget(long l, TimeUnit unit)booleanisCancelled()booleanisDone() 
 - 
 
- 
- 
Constructor Detail
- 
FutureValue
public FutureValue(T value)
 
 - 
 
- 
Method Detail
- 
get
public T get(long l, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
- Specified by:
 getin interfaceFuture<T>- Throws:
 InterruptedExceptionExecutionExceptionTimeoutException
 
- 
get
public T get() throws InterruptedException, ExecutionException
- Specified by:
 getin interfaceFuture<T>- Throws:
 InterruptedExceptionExecutionException
 
- 
isCancelled
public boolean isCancelled()
- Specified by:
 isCancelledin interfaceFuture<T>
 
 - 
 
 -