阿里规约idea插件下载:http://plugins.jetbrains.com/plugin/10046-alibaba-java-coding-guidelines/versions
阿里规约要求的线程池:https://www.cnblogs.com/jmcui/p/8017473.html
线程池的各种使用场景:https://blog.csdn.net/qq_17045385/article/details/79820847
我们项目中的应用:加载所有指标的图标
ScheduleExecutorService threadPool = new ScheduledThreadPoolExecutor(
10,new BasicThreadFactory,Builder().namingPattern("schedule-pool-app")).daemon(true).build());
threadPool.submit(
new Runnable(){
@Override
public void run(){
//业务逻辑
}
}
);