V- The type of the result of the
public interface ListenableFuture<V> extends Future<V>
Futureinterface inspired by the Google Guava's ListenableFuture.
|Modifier and Type||Method and Description|
void addListener(Runnable runnable, Executor executor) throws RejectedExecutionException, IllegalArgumentException
Runnableto be executed once the future is completed via the provided executable.
The order that
Runnables are executed is unspecified.
Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.