类 SpringThreadPool

java.lang.Object
org.springframework.util.CustomizableThreadCreator
org.springframework.scheduling.concurrent.CustomizableThreadFactory
org.springframework.scheduling.concurrent.ExecutorConfigurationSupport
org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor
tech.mhuang.pacebox.springboot.core.spring.pool.SpringThreadPool
所有已实现的接口:
Serializable, Executor, ThreadFactory, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.core.task.AsyncListenableTaskExecutor, org.springframework.core.task.AsyncTaskExecutor, org.springframework.core.task.TaskExecutor, org.springframework.scheduling.SchedulingTaskExecutor, tech.mhuang.pacebox.core.pool.BaseExecutor

public class SpringThreadPool extends org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor implements tech.mhuang.pacebox.core.pool.BaseExecutor
spring 线程池
从以下版本开始:
1.0.0
作者:
mhuang
另请参阅:
  • 字段概要

    从类继承的字段 org.springframework.scheduling.concurrent.ExecutorConfigurationSupport

    logger

    从接口继承的字段 org.springframework.core.task.AsyncTaskExecutor

    TIMEOUT_IMMEDIATE, TIMEOUT_INDEFINITE
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    从类继承的方法 org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor

    cancelRemainingTask, createQueue, execute, execute, getActiveCount, getCorePoolSize, getKeepAliveSeconds, getMaxPoolSize, getPoolSize, getQueueCapacity, getQueueSize, getThreadPoolExecutor, initializeExecutor, setAllowCoreThreadTimeOut, setCorePoolSize, setKeepAliveSeconds, setMaxPoolSize, setPrestartAllCoreThreads, setQueueCapacity, setTaskDecorator, submit, submit, submitListenable, submitListenable

    从类继承的方法 org.springframework.scheduling.concurrent.ExecutorConfigurationSupport

    afterPropertiesSet, destroy, initialize, setAwaitTerminationMillis, setAwaitTerminationSeconds, setBeanName, setRejectedExecutionHandler, setThreadFactory, setThreadNamePrefix, setWaitForTasksToCompleteOnShutdown, shutdown

    从类继承的方法 org.springframework.scheduling.concurrent.CustomizableThreadFactory

    newThread

    从类继承的方法 org.springframework.util.CustomizableThreadCreator

    createThread, getDefaultThreadNamePrefix, getThreadGroup, getThreadNamePrefix, getThreadPriority, isDaemon, nextThreadName, setDaemon, setThreadGroup, setThreadGroupName, setThreadPriority

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    从接口继承的方法 org.springframework.core.task.AsyncTaskExecutor

    submitCompletable, submitCompletable

    从接口继承的方法 tech.mhuang.pacebox.core.pool.BaseExecutor

    submit

    从接口继承的方法 org.springframework.scheduling.SchedulingTaskExecutor

    prefersShortLivedTasks
  • 构造器详细资料

    • SpringThreadPool

      public SpringThreadPool()