综合统计初始化多线程处理

This commit is contained in:
wanggeng888 2021-06-09 18:00:43 +08:00
parent f37142db29
commit 14157edb96

View File

@ -36,7 +36,7 @@ public class CheckDetailTable {
*/ */
public Map<String, Map<String, Map<String, Object>>> gridDetailTableMap = new ConcurrentHashMap<>(); public Map<String, Map<String, Map<String, Object>>> gridDetailTableMap = new ConcurrentHashMap<>();
private static CheckDetailTable checkDetailTable = CheckDetailTableBuilder.checkDetailTable; private static CheckDetailTable checkDetailTable = CheckDetailTableBuilder.checkDetailTable;
private ThreadPoolExecutor threadPoolExecutor = new ThreadPoolExecutor(2, 10, 6000L, TimeUnit.MINUTES, new LinkedBlockingQueue<>()); private ThreadPoolExecutor threadPoolExecutor = new ThreadPoolExecutor(2, 10, 1L, TimeUnit.MINUTES, new LinkedBlockingQueue<>());
private ICountService countService; private ICountService countService;
private CheckDetailTable() { private CheckDetailTable() {