类 ConcurrentExecutorAdapter

  • 所有已实现的接口:
    Executor

    public class ConcurrentExecutorAdapter
    extends Object
    implements Executor
    Adapter that exposes the Executor interface for any Spring TaskExecutor.

    This is less useful as of Spring 3.0, since TaskExecutor itself extends the Executor interface. The adapter is only relevant for hiding the TaskExecutor nature of a given object now, solely exposing the standard Executor interface to a client.

    从以下版本开始:
    2.5
    作者:
    Juergen Hoeller
    另请参阅:
    Executor, TaskExecutor
    • 构造器详细资料

      • ConcurrentExecutorAdapter

        public ConcurrentExecutorAdapter​(TaskExecutor taskExecutor)
        Create a new ConcurrentExecutorAdapter for the given Spring TaskExecutor.
        参数:
        taskExecutor - the Spring TaskExecutor to wrap