![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
多线程
文章平均质量分 77
HarlanW
这个作者很懒,什么都没留下…
展开
-
ScheduledExecutorService
public class ScheduledExecutorServiceDemo { public static void main(String[] args) { ScheduledExecutorService scheduledExecutorService = Executors.newScheduledThreadPool(10); sched原创 2018-01-10 23:31:42 · 140 阅读 · 0 评论 -
java.lang.IllegalStateException: ThreadPoolTaskExecutor not initialized
1.Configuration配置如下:@Configuration@EnableAsync@Slf4jpublic class TaskExecutorConfiguration implements AsyncConfigurer { @Value("${corePoolSize}") private String corePoolSize; @Value(...原创 2018-11-23 09:35:56 · 12458 阅读 · 2 评论