-
- All Known Subinterfaces:
ChannelGroupFutureListener
- All Known Implementing Classes:
DefaultHttp2ConnectionEncoder.FlowControlledBase
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface FutureListener<V>
Listens to the result of aFuture
. The result of the asynchronous operation is notified once this listener is added by callingFuture.addListener(FutureListener)
.Future f = new DefaultPromise(..); f.addListener(future -> { .. });
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
operationComplete(Future<? extends V> future)
Invoked when the operation associated with theFuture
has been completed.
-