public abstract class BaseNotifyingFuture<T> extends Object implements NotifyingFuture<T>
Constructor and Description |
---|
BaseNotifyingFuture() |
Modifier and Type | Method and Description |
---|---|
NotifyingFuture<T> |
attachListener(FutureListener<T> objectFutureListener)
Attaches a listener and returns the same future instance, to allow for 'building'.
|
void |
notifyDone() |
public final NotifyingFuture<T> attachListener(FutureListener<T> objectFutureListener)
NotifyingFuture
attachListener
in interface NotifyingFuture<T>
objectFutureListener
- listener to attachpublic void notifyDone()
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.