public class FutureValue<V>
extends java.lang.Object
implements java.util.concurrent.Future<V>
Constructor and Description |
---|
FutureValue() |
public boolean cancel(boolean arg0)
cancel
in interface java.util.concurrent.Future<V>
public V get() throws java.lang.InterruptedException
get
in interface java.util.concurrent.Future<V>
java.lang.InterruptedException
public V get(long arg0, java.util.concurrent.TimeUnit arg1) throws java.lang.InterruptedException, java.util.concurrent.TimeoutException
get
in interface java.util.concurrent.Future<V>
java.lang.InterruptedException
java.util.concurrent.TimeoutException
public V get(long arg0, java.util.concurrent.TimeUnit arg1, V valueOnTimeout) throws java.lang.InterruptedException
java.lang.InterruptedException
public boolean isCancelled()
isCancelled
in interface java.util.concurrent.Future<V>
public boolean isDone()
isDone
in interface java.util.concurrent.Future<V>
public void set(V value)
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.