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

/libcore/ojluni/src/main/java/java/util/concurrent/
H A DDelayed.java44 * its {@code getDelay} method.
59 long getDelay(TimeUnit unit); method in interface:Delayed
H A DDelayQueue.java59 * {@code getDelay(TimeUnit.NANOSECONDS)} method returns a value less
194 return (first == null || first.getDelay(NANOSECONDS) > 0)
218 long delay = first.getDelay(NANOSECONDS);
266 long delay = first.getDelay(NANOSECONDS);
331 return (first == null || first.getDelay(NANOSECONDS) > 0) ?
H A DScheduledThreadPoolExecutor.java240 public long getDelay(TimeUnit unit) { method in class:ScheduledThreadPoolExecutor.ScheduledFutureTask
259 long diff = getDelay(NANOSECONDS) - other.getDelay(NANOSECONDS);
542 long headDelay = head.getDelay(NANOSECONDS);
1105 return (first == null || first.getDelay(NANOSECONDS) > 0)
1122 long delay = first.getDelay(NANOSECONDS);
1161 long delay = first.getDelay(NANOSECONDS);
1213 return (first == null || first.getDelay(NANOSECONDS) > 0) ?
/libcore/jsr166-tests/src/test/java/jsr166/
H A DDelayQueueTest.java83 public long getDelay(TimeUnit ignore) { method in class:DelayQueueTest.PDelay
121 public long getDelay(TimeUnit unit) { method in class:DelayQueueTest.NanoDelay
H A DScheduledExecutorSubclassTest.java61 public long getDelay(TimeUnit unit) { return task.getDelay(unit); } method in class:ScheduledExecutorSubclassTest.CustomTask

Completed in 74 milliseconds