public interface NotifyingFuture<T>
extends java.util.concurrent.Future<T>
FutureListener
for more details.
限定符和类型 | 方法和说明 |
---|---|
NotifyingFuture |
setListener(FutureListener<T> listener)
Attaches a listener and returns the same future instance, to allow for 'building' futures.
|
NotifyingFuture setListener(FutureListener<T> listener)
listener
- listener to attach