Searched defs:delay (Results 1 - 5 of 5) sorted by relevance
/libcore/luni/src/main/java/java/util/concurrent/ |
H A D | ScheduledExecutorService.java | 11 * delay, or to execute periodically. 21 * a requested delay of zero. Zero and negative delays (but not 32 * relative delay need not coincide with the current {@code Date} at 69 * after the given delay. 72 * @param delay the time from now to delay execution 73 * @param unit the time unit of the delay parameter 82 long delay, TimeUnit unit); 86 * given delay. 89 * @param delay th 81 schedule(Runnable command, long delay, TimeUnit unit) argument 96 schedule(Callable<V> callable, long delay, TimeUnit unit) argument 151 scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit) argument [all...] |
H A D | Executors.java | 212 * to run after a given delay, or to execute periodically. 230 * to run after a given delay, or to execute periodically. (Note 251 * given delay, or to execute periodically. 263 * given delay, or to execute periodically. 643 public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { argument 644 return e.schedule(command, delay, unit); 646 public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { argument 647 return e.schedule(callable, delay, unit); 652 public ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit) { argument 653 return e.scheduleWithFixedDelay(command, initialDelay, delay, uni [all...] |
H A D | ScheduledThreadPoolExecutor.java | 20 * commands to run after a given delay, or to execute 34 * automatically removed from the work queue until its delay 104 * delayed tasks with a delay of zero. 164 * indicates fixed-delay execution. A value of 0 indicates a 173 * Index into delay queue, to support faster cancellation. 462 private long triggerTime(long delay, TimeUnit unit) { argument 463 return triggerTime(unit.toNanos((delay < 0) ? 0 : delay)); 469 long triggerTime(long delay) { argument 471 ((delay < (Lon 481 overflowFree(long delay) argument 495 schedule(Runnable command, long delay, TimeUnit unit) argument 511 schedule(Callable<V> callable, long delay, TimeUnit unit) argument 552 scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit) argument [all...] |
/libcore/luni/src/test/java/libcore/java/lang/ |
H A D | OldThreadTest.java | 29 int delay; field in class:OldThreadTest.SimpleThread 35 this.wait(delay); 45 delay = d;
|
/libcore/luni/src/main/java/java/util/ |
H A D | Timer.java | 29 * delay. 269 // task is scheduled at fixed delay 438 long delay = when.getTime() - System.currentTimeMillis(); 439 scheduleImpl(task, delay < 0 ? 0 : delay, -1, false); 443 * Schedule a task for single execution after a specified delay. 447 * @param delay 450 * if {@code delay < 0}. 455 public void schedule(TimerTask task, long delay) { argument 456 if (delay < 477 schedule(TimerTask task, long delay, long period) argument 524 scheduleAtFixedRate(TimerTask task, long delay, long period) argument 558 scheduleImpl(TimerTask task, long delay, long period, boolean fixed) argument [all...] |
Completed in 130 milliseconds