摘要: package com.test; import java.util.concurrent.CountDownLatch; import java.util.concurrent.ExecutionException; import java.util.concurrent.ExecutorServ 阅读全文
posted @ 2020-11-09 17:18 天冷吃冰棍儿 阅读(100) 评论(0) 推荐(0) 编辑
摘要: 1 public String test() { 2 String result = ""; 3 CountDownLatch rollBackLatch = new CountDownLatch(1); 4 CountDownLatch mainThreadLatch = new CountDow 阅读全文
posted @ 2020-11-09 17:13 天冷吃冰棍儿 阅读(7165) 评论(0) 推荐(2) 编辑