Searched refs:losingLatch (Results 1 – 1 of 1) sorted by relevance
3510 final CountDownLatch losingLatch = new CountDownLatch(NUM_REQUESTS); in benchmarkRequestRegistrationAndCallbackDispatch() local3515 @Override public void onLosing(Network n, int t) { losingLatch.countDown(); } in benchmarkRequestRegistrationAndCallbackDispatch()3547 awaitLatch(losingLatch, 10 * SWITCH_TIME_LIMIT_MS); in benchmarkRequestRegistrationAndCallbackDispatch()3550 NUM_REQUESTS - losingLatch.getCount(), NUM_REQUESTS, onLostDispatchingDuration)); in benchmarkRequestRegistrationAndCallbackDispatch()