public interface FutureListener<T>
NotifyingFuture
s by passing them in to NotifyingFuture.setListener(FutureListener)
Note that the 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().限定符和类型 | 方法和说明 |
---|---|
void |
futureDone(java.util.concurrent.Future<T> future) |
void futureDone(java.util.concurrent.Future<T> future)