Searched refs:losingLatch (Results 1 – 1 of 1) sorted by relevance
1994 final CountDownLatch losingLatch = new CountDownLatch(NUM_REQUESTS); in testRequestBenchmark() local2001 @Override public void onLosing(Network n, int t) { losingLatch.countDown(); } in testRequestBenchmark()2033 if (!losingLatch.await(SWITCH_TIME_LIMIT_MS, TimeUnit.MILLISECONDS)) { in testRequestBenchmark()2035 NUM_REQUESTS - losingLatch.getCount(), NUM_REQUESTS, SWITCH_TIME_LIMIT_MS)); in testRequestBenchmark()