public abstract class AbstractInProcessNotifyingFuture<V> extends AbstractInProcessFuture<V> implements NotifyingFuture<V>
Constructor and Description |
---|
AbstractInProcessNotifyingFuture() |
Modifier and Type | Method and Description |
---|---|
NotifyingFuture<V> |
attachListener(FutureListener<V> futureListener)
Attaches a listener and returns the same future instance, to allow for 'building'.
|
NotifyingFuture<V> |
attachListener(FutureListener<V> futureListener)
Attaches a listener and returns the same future instance, to allow for 'building'.
|
cancel, get, isCancelled, isDone
public NotifyingFuture<V> attachListener(FutureListener<V> futureListener)
NotifyingFuture
futureListener
- listener to attachpublic NotifyingFuture<V> attachListener(FutureListener<V> futureListener)
NotifyingFuture
attachListener
in interface NotifyingFuture<V>
futureListener
- listener to attachCopyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.