Searched refs:getDelay (Results 1 – 5 of 5) sorted by relevance
30 long getDelay(TimeUnit unit); in getDelay() method
159 if (first == null || first.getDelay(NANOSECONDS) > 0) in poll()184 long delay = first.getDelay(NANOSECONDS); in take()232 long delay = first.getDelay(NANOSECONDS); in poll()297 return (first == null || first.getDelay(NANOSECONDS) > 0) ? in peekExpired()
207 public long getDelay(TimeUnit unit) { in getDelay() method in ScheduledThreadPoolExecutor.ScheduledFutureTask226 long diff = getDelay(NANOSECONDS) - other.getDelay(NANOSECONDS); in compareTo()484 long headDelay = head.getDelay(NANOSECONDS); in overflowFree()1032 if (first == null || first.getDelay(NANOSECONDS) > 0) in poll()1050 long delay = first.getDelay(NANOSECONDS); in take()1089 long delay = first.getDelay(NANOSECONDS); in poll()1141 return (first == null || first.getDelay(NANOSECONDS) > 0) ? in peekExpired()
59 public long getDelay(TimeUnit ignore) { in getDelay() method in DelayQueueTest.PDelay97 public long getDelay(TimeUnit unit) { in getDelay() method in DelayQueueTest.NanoDelay
26 public long getDelay(TimeUnit unit) { return task.getDelay(unit); } in getDelay() method in ScheduledExecutorSubclassTest.CustomTask