/libcore/ojluni/src/main/java/java/util/concurrent/ |
H A D | ScheduledExecutorService.java | 39 * An {@link ExecutorService} that can schedule commands to run after a given 42 * <p>The {@code schedule} methods create tasks with various delays 51 * periods) are also allowed in {@code schedule} methods, and are 54 * <p>All {@code schedule} methods accept <em>relative</em> delays and 57 * java.util.Date} to the required form. For example, to schedule at 58 * a certain future {@code date}, you can use: {@code schedule(task, 85 * scheduler.schedule(new Runnable() { 110 public ScheduledFuture<?> schedule(Runnable command, method in interface:ScheduledExecutorService 126 public <V> ScheduledFuture<V> schedule(Callable<V> callable, method in interface:ScheduledExecutorService
|
H A D | Executors.java | 246 * Creates a single-threaded executor that can schedule commands 264 * Creates a single-threaded executor that can schedule commands 285 * Creates a thread pool that can schedule commands to run after a 297 * Creates a thread pool that can schedule commands to run after a 684 public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { method in class:Executors.DelegatedScheduledExecutorService 685 return e.schedule(command, delay, unit); 687 public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { method in class:Executors.DelegatedScheduledExecutorService 688 return e.schedule(callable, delay, unit);
|
H A D | ScheduledThreadPoolExecutor.java | 56 * A {@link ThreadPoolExecutor} that can additionally schedule 104 * {@code submit}, {@code schedule}, {@code scheduleAtFixedRate}, 553 public ScheduledFuture<?> schedule(Runnable command, method in class:ScheduledThreadPoolExecutor 570 public <V> ScheduledFuture<V> schedule(Callable<V> callable, method in class:ScheduledThreadPoolExecutor 636 * {@link #schedule(Runnable,long,TimeUnit) schedule(command, 0, anyUnit)}. 654 schedule(command, 0, NANOSECONDS); 664 return schedule(task, 0, NANOSECONDS); 672 return schedule(Executors.callable(task, result), 0, NANOSECONDS); 680 return schedule(tas [all...] |
/libcore/ojluni/src/main/java/java/util/ |
H A D | Timer.java | 32 * A facility for threads to schedule tasks for future execution in a 55 * attempt to schedule a task on the timer will result in an 79 * it uses a binary heap to represent its task queue, so the cost to schedule 93 * thread. The timer produces tasks, via its various schedule calls, 146 * schedule repeating "maintenance activities", which must be 197 public void schedule(TimerTask task, long delay) { method in class:Timer 214 public void schedule(TimerTask task, Date time) { method in class:Timer 250 public void schedule(TimerTask task, long delay, long period) { method in class:Timer 291 public void schedule(TimerTask task, Date firstTime, long period) { method in class:Timer
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
H A D | AsynchronousChannelGroupImpl.java | 200 final Future<?> schedule(Runnable task, long timeout, TimeUnit unit) { method in class:AsynchronousChannelGroupImpl 202 return timeoutExecutor.schedule(task, timeout, unit);
|