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