安全牛 Nexpose漏洞掃描與分析
state的值也代表CountDownLatch所剩余的計(jì)數(shù)次數(shù)。
public CountDownLatch(int count) {
? ? ? ?if (count < 0) throw new IllegalArgumentException("count < 0");
? ? ? ?this.sync = new Sync(count);//創(chuàng)建同步隊(duì)列,并設(shè)置初始計(jì)數(shù)器值
}
標(biāo)簽: