+++ pre = “5.2. ” title = “Thread Pool Strategy” weight = 2 +++

Thread pool strategy, used to create thread pool for job execution.

SPI NameDescription
JobExecutorServiceHandlerJob executor service handler
Implementation ClassDescription
CPUUsageJobExecutorServiceHandlerUse CPU available processors * 2 to create thread pool
SingleThreadJobExecutorServiceHandlerUse single thread to execute job