Searched refs:barrier (Results 1 – 1 of 1) sorted by relevance
41 final CyclicBarrier barrier = new CyclicBarrier(2); in testTimeout() local43 Backend backend = new Backend(backendDelay, backendTimeout, barrier); in testTimeout()49 barrier.await(threadStartTimeout, TimeUnit.MILLISECONDS); in testTimeout()83 final CyclicBarrier barrier = new CyclicBarrier(2); in testNoTimeout() local85 Backend backend = new Backend(backendDelay, backendTimeout, barrier); in testNoTimeout()91 barrier.await(threadStartTimeout, TimeUnit.MILLISECONDS); in testNoTimeout()124 public Backend(int delay, int timeout, CyclicBarrier barrier) { in Backend() argument128 mBarrier = barrier; in Backend()