Searched refs:availableLatch (Results 1 – 1 of 1) sorted by relevance
3400 final CountDownLatch availableLatch = new CountDownLatch(NUM_REQUESTS); in benchmarkRequestRegistrationAndCallbackDispatch() local3405 @Override public void onAvailable(Network n) { availableLatch.countDown(); } in benchmarkRequestRegistrationAndCallbackDispatch()3423 await(availableLatch, 10 * CONNECT_TIME_LIMIT_MS); in benchmarkRequestRegistrationAndCallbackDispatch()3426 NUM_REQUESTS - availableLatch.getCount(), NUM_REQUESTS, in benchmarkRequestRegistrationAndCallbackDispatch()