摘要:
package com.test; import java.util.concurrent.CountDownLatch; import java.util.concurrent.ExecutionException; import java.util.concurrent.ExecutorServ 阅读全文
摘要:
1 public String test() { 2 String result = ""; 3 CountDownLatch rollBackLatch = new CountDownLatch(1); 4 CountDownLatch mainThreadLatch = new CountDow 阅读全文