public class Deferred<T> extends Object implements Promise<T>
Deferred()
void
resolve(T value)
T
waitForValue()
whenDone(Function<T,?> callable)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public Deferred()
public void resolve(T value)
public T waitForValue() throws InterruptedException
waitForValue
Promise<T>
InterruptedException
public void whenDone(Function<T,?> callable)
whenDone
Copyright © 2013. All Rights Reserved.