Searched refs:runningTasks (Results 1 – 2 of 2) sorted by relevance
36 private int runningTasks; field in TaskQueue166 runningTasks++; in takeTask()189 runningTasks--; in doneTask()218 return runnableTasks.isEmpty() && runnableActions.isEmpty() && runningTasks == 0; in isExhausted()
292 private int runningTasks = 0; field in MoreExecutors.DirectExecutorService336 return shutdown && runningTasks == 0; in isTerminated()375 runningTasks++; in startTask()387 runningTasks--; in endTask()