Interface BlockingExecutor

All Superinterfaces:
Executor
All Known Subinterfaces:
BlockingExecutorService
All Known Implementing Classes:
JBossThreadPoolExecutor, OrderedExecutor, QueueExecutor, QueuelessExecutor

@Deprecated public interface BlockingExecutor extends Executor
Deprecated.
Executors in this package will always accept tasks immediately.
An executor which can optionally block or not block on task submission.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated.
    Executes the given command at some time in the future.
    void
    Deprecated.
    Execute a task, blocking until it can be accepted, or until the calling thread is interrupted.
    void
    executeBlocking(Runnable task, long timeout, TimeUnit unit)
    Deprecated.
    Execute a task, blocking until it can be accepted, a timeout elapses, or the calling thread is interrupted.
    void
    Deprecated.
    Execute a task, without blocking.
    of(Executor executor)
    Deprecated.
    Convert an executor to a "blocking" executor which never actually blocks.