Lines Matching refs:executor
34 * TODO(user): The tasks are given to the underlying executor as a single
35 * task, which means the semantics of the executor may be changed, e.g. the
36 * executor may have an afterExecute method that runs after every task
50 /** Underlying executor that all submitted Runnable objects are run on. */
51 private final Executor executor;
72 * Creates a SerializingExecutor, running tasks using {@code executor}.
74 * @param executor Executor in which tasks should be run. Must not be null.
76 public SerializingExecutor(Executor executor) {
77 Preconditions.checkNotNull(executor, "'executor' must not be null.");
78 this.executor = executor;
89 * before it, and using the {@code executor} passed to the constructor. .
106 executor.execute(taskRunner);