Lines Matching defs:latch
602 final CountDownLatch latch = new CountDownLatch(1);
616 latch.countDown();
622 if (!latch.await(CAPTURE_TIMEOUT, TimeUnit.MILLISECONDS)) {
748 final CountDownLatch latch = new CountDownLatch(1);
759 latch.countDown();
765 latch.await(CAPTURE_TIMEOUT, TimeUnit.MILLISECONDS);
1436 final CountDownLatch latch = new CountDownLatch(1);
1451 latch.countDown();
1456 latch.await();