@NonNullApi @NonNullFields

# 程序包 org.springframework.scheduling.concurrent

Scheduling convenience classes for the `java.util.concurrent` and `javax.enterprise.concurrent` packages, allowing to set up a ThreadPoolExecutor or ScheduledThreadPoolExecutor as a bean in a Spring context.

请参阅: 说明

- 类概要
  类 | 说明
  --- | ---
  ConcurrentTaskExecutor | Adapter that takes a `java.util.concurrent.Executor` and exposes a Spring `TaskExecutor` for it.
  ConcurrentTaskExecutor.ManagedTaskBuilder | Delegate that wraps a given Runnable/Callable with a JSR-236 ManagedTask, exposing a long-running hint based on `SchedulingAwareRunnable` and a given identity name.
  ConcurrentTaskScheduler | Adapter that takes a `java.util.concurrent.ScheduledExecutorService` and exposes a Spring `TaskScheduler` for it.
  CustomizableThreadFactory | Implementation of the `ThreadFactory` interface, allowing for customizing the created threads (name, priority, etc).
  DefaultManagedAwareThreadFactory | JNDI-based variant of `CustomizableThreadFactory`, performing a default lookup for JSR-236's "java:comp/DefaultManagedThreadFactory" in a Java EE 7 environment, falling back to the local `CustomizableThreadFactory` setup if not found.
  DefaultManagedTaskExecutor | JNDI-based variant of `ConcurrentTaskExecutor`, performing a default lookup for JSR-236's "java:comp/DefaultManagedExecutorService" in a Java EE 7 environment.
  DefaultManagedTaskScheduler | JNDI-based variant of `ConcurrentTaskScheduler`, performing a default lookup for JSR-236's "java:comp/DefaultManagedScheduledExecutorService" in a Java EE 7 environment.
  ExecutorConfigurationSupport | Base class for setting up a `ExecutorService` (typically a `ThreadPoolExecutor` or `ScheduledThreadPoolExecutor`).
  ForkJoinPoolFactoryBean | A Spring `FactoryBean` that builds and exposes a preconfigured `ForkJoinPool`.
  ScheduledExecutorFactoryBean | `FactoryBean` that sets up a `ScheduledExecutorService` (by default: a `ScheduledThreadPoolExecutor`) and exposes it for bean references.
  ScheduledExecutorTask | JavaBean that describes a scheduled executor task, consisting of the `Runnable` and a delay plus period.
  ThreadPoolExecutorFactoryBean | JavaBean that allows for configuring a `ThreadPoolExecutor` in bean style (through its "corePoolSize", "maxPoolSize", "keepAliveSeconds", "queueCapacity" properties) and exposing it as a bean reference of its native `ExecutorService` type.
  ThreadPoolTaskExecutor | JavaBean that allows for configuring a `ThreadPoolExecutor` in bean style (through its "corePoolSize", "maxPoolSize", "keepAliveSeconds", "queueCapacity" properties) and exposing it as a Spring `TaskExecutor`.
  ThreadPoolTaskScheduler | Implementation of Spring's `TaskScheduler` interface, wrapping a native `ScheduledThreadPoolExecutor`.

## 程序包org.springframework.scheduling.concurrent的说明

Scheduling convenience classes for the `java.util.concurrent` and `javax.enterprise.concurrent` packages, allowing to set up a ThreadPoolExecutor or ScheduledThreadPoolExecutor as a bean in a Spring context. Provides support for the native `java.util.concurrent` interfaces as well as the Spring `TaskExecutor` mechanism.