public interface NotifyingFuture<T> extends Future<T>
FutureListener for more details.
| Modifier and Type | Method and Description |
|---|---|
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 attachCopyright © 2012 JBoss by Red Hat. All Rights Reserved.