ActionFuture<T>
, java.util.concurrent.Future<T>
PlainListenableActionFuture
public interface ListenableActionFuture<T> extends ActionFuture<T>
ActionFuture
that listeners can be added to.Modifier and Type | Method | Description |
---|---|---|
void |
addListener(ActionListener<T> listener) |
Add an action listener to be invoked when a response has received.
|
void addListener(ActionListener<T> listener)