Interface Executor

All Superinterfaces:
Executor

public interface Executor extends Executor
Extends Executor with additional features.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> List<T>
    callAll(Collection<? extends Callable<? extends T>> tasks)
    Calls all of the tasks concurrently, waiting for them to all complete.
    void
    execute(Runnable command)
     
    void
    runAll(Collection<? extends Runnable> tasks)
    Runs all of the tasks concurrently, waiting for them to all complete.
    Submits to the executor.
    submit(Runnable task, long delay)
    Submits to the executor after the provided delay.
    <T> Future<T>
    submit(Runnable task, T result)
    Submits to the executor, returning the provided value on success.
    <T> Future<T>
    submit(Runnable task, T result, long delay)
    Submits to the executor after the provided delay, returning the provided value on success.
    <T> Future<T>
    submit(Callable<? extends T> task)
    Submits to the executor.
    <T> Future<T>
    submit(Callable<? extends T> task, long delay)
    Submits to the executor after the provided delay.