public class CancelableCountDownLatch
extends java.util.concurrent.CountDownLatch
| 构造器和说明 |
|---|
CancelableCountDownLatch(int count)
Constructs a
CountDownLatch initialized with the given count. |
public CancelableCountDownLatch(int count)
CountDownLatch initialized with the given count.count - the number of times CountDownLatch.countDown() must be invoked
before threads can pass through CountDownLatch.await()java.lang.IllegalArgumentException - if count is negative