public interface FutureListener<T>
A listener that is called back when a future is done. FutureListener instances are attached to
Note that the
NotifyingFutures by passing them in to
futureDone(Future) callback is invoked when the future completes, regardless of how the future
completes (i.e., normally, due to an exception, or cancelled}. As such, implementations should check the future
passed in by calling future.get().
- Manik Surtani
void futureDone(Future<T> future)
Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.