Home
last modified time | relevance | path

Searched refs:getDelay (Results 1 – 5 of 5) sorted by relevance

/libcore/luni/src/main/java/java/util/concurrent/
DDelayed.java30 long getDelay(TimeUnit unit); in getDelay() method
DDelayQueue.java159 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()
DScheduledThreadPoolExecutor.java207 public long getDelay(TimeUnit unit) { in getDelay() method in ScheduledThreadPoolExecutor.ScheduledFutureTask
226 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()
/libcore/jsr166-tests/src/test/java/jsr166/
DDelayQueueTest.java59 public long getDelay(TimeUnit ignore) { in getDelay() method in DelayQueueTest.PDelay
97 public long getDelay(TimeUnit unit) { in getDelay() method in DelayQueueTest.NanoDelay
DScheduledExecutorSubclassTest.java26 public long getDelay(TimeUnit unit) { return task.getDelay(unit); } in getDelay() method in ScheduledExecutorSubclassTest.CustomTask