Home | History | Annotate | Download | only in concurrent

Lines Matching refs:Executor

19 import java.util.concurrent.Executor;
26 * executor, and is invoked using this executor once the {@code Future}'s
51 * <p>Adds a listener and executor to the ListenableFuture.
52 * The listener will be {@linkplain Executor#execute(Runnable) passed
53 * to the executor} for execution when the {@code Future}'s computation is
62 * @param exec the executor to run the listener in.
63 * @throws NullPointerException if the executor or listener was null.
65 * immediately but the executor rejected it.
67 public void addListener(Runnable listener, Executor exec);