Searched refs:millisTimeout (Results 1 – 1 of 1) sorted by relevance
160 public void waitForTasks(long millisTimeout) throws Exception { in waitForTasks() argument161 millisTimeout = (millisTimeout > 0) ? millisTimeout : Long.MAX_VALUE; in waitForTasks()172 while (!scheduled.isEmpty() && millisTimeout > 0) { in waitForTasks()176 latch.await(millisTimeout, TimeUnit.MILLISECONDS); in waitForTasks()178 millisTimeout -= (SystemClock.uptimeMillis() - startTime); in waitForTasks()