Searched refs:postedRunnables (Results 1 – 1 of 1) sorted by relevance
9 private List<PostedRunnable> postedRunnables = new ArrayList<PostedRunnable>(); field in Scheduler32 postedRunnables.add(new PostedRunnable(runnable, currentTime + delayMillis)); in postDelayed()33 Collections.sort(postedRunnables); in postDelayed()45 postedRunnables.add(0, new PostedRunnable(runnable, currentTime)); in postAtFrontOfQueue()52 ListIterator<PostedRunnable> iterator = postedRunnables.listIterator(); in remove()66 return advanceTo(postedRunnables.get(postedRunnables.size() - 1).scheduledTime); in advanceToLastPostedRunnable()74 return advanceTo(postedRunnables.get(0).scheduledTime); in advanceToNextPostedRunnable()102 PostedRunnable postedRunnable = postedRunnables.remove(0); in runOneTask()114 PostedRunnable postedRunnable = postedRunnables.remove(0); in runTasks()123 return postedRunnables.size(); in enqueuedTaskCount()[all …]