public interface NotifyingFuture<T>
extends java.util.concurrent.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 © 1998-2020 Red Hat. All Rights Reserved.