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