Searched refs:schedule (Results 1 - 25 of 66) sorted by relevance

123

/openjdk7/jdk/test/java/util/Timer/
H A DArgs.java34 void schedule(final Timer t, final TimerTask task, final Date d) { method in class:Args
35 t.schedule(task, d);
37 new F(){void f(){ t.schedule(task, d); }});
40 void schedule(final Timer t, final TimerTask task, final Date d, final long period) { method in class:Args
41 t.schedule(task, d, period);
43 new F(){void f(){ t.schedule(task, d, period); }});
63 new F(){void f(){ t.schedule(x, -42); }},
64 new F(){void f(){ t.schedule(x, new Date(-42)); }},
66 new F(){void f(){ t.schedule(x, Long.MAX_VALUE); }},
67 new F(){void f(){ t.schedule(
[all...]
H A DKillThread.java39 t.schedule(new TimerTask() {
58 t.schedule(new TimerTask() {
H A DNameConstructors.java53 timer.schedule(task, 0); // Immediate
H A DPurge.java43 timer.schedule(task, i * 60*60*1000); // i hrs. hence.
H A DDelayOverflow.java27 * @summary java.util.Timer schedule delay Long.MAX_VALUE causes task to execute multiple times
43 timer.schedule(task, new Date(), Long.MAX_VALUE);
46 timer.schedule(task, 0L, Long.MAX_VALUE);
/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DScheduledExecutorService.java41 * An {@link ExecutorService} that can schedule commands to run after a given
44 * <p> The <tt>schedule</tt> methods create tasks with various delays
53 * periods) are also allowed in <tt>schedule</tt> methods, and are
56 * <p>All <tt>schedule</tt> methods accept <em>relative</em> delays and
59 * java.util.Date} to the required form. For example, to schedule at
60 * a certain future <tt>date</tt>, you can use: <tt>schedule(task,
87 * scheduler.schedule(new Runnable() {
112 public ScheduledFuture<?> schedule(Runnable command, method in interface:ScheduledExecutorService
127 public <V> ScheduledFuture<V> schedule(Callable<V> callable, method in interface:ScheduledExecutorService
H A DExecutors.java201 * Creates a single-threaded executor that can schedule commands
219 * Creates a single-threaded executor that can schedule commands
240 * Creates a thread pool that can schedule commands to run after a
252 * Creates a thread pool that can schedule commands to run after a
688 public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { method in class:Executors.DelegatedScheduledExecutorService
689 return e.schedule(command, delay, unit);
691 public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { method in class:Executors.DelegatedScheduledExecutorService
692 return e.schedule(callable, delay, unit);
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/Data/src/com/sun/hotspot/igv/data/services/
H A DScheduler.java37 public Collection<InputBlock> schedule(InputGraph graph); method in interface:Scheduler
/openjdk7/jdk/test/java/awt/Dialog/ModalDialogPermission/
H A DModalDialogPermission.java48 t.schedule(new TimerTask() {
/openjdk7/jdk/src/share/classes/sun/jvmstat/perfdata/monitor/
H A DCountedTimerTaskUtils.java85 timer.schedule(newTask, delay, newInterval);
/openjdk7/jdk/test/java/util/concurrent/ScheduledThreadPoolExecutor/
H A DDelayOverflow.java52 pool.schedule(r, 0, TimeUnit.MILLISECONDS);
55 pool.schedule(Executors.callable(r), 0, TimeUnit.DAYS);
72 pool.schedule(r, Long.MAX_VALUE, TimeUnit.MILLISECONDS);
75 pool.schedule(Executors.callable(r), Long.MAX_VALUE, TimeUnit.DAYS);
114 pool.schedule(keepPoolBusy, 0, TimeUnit.SECONDS);
H A DZeroCorePoolSize.java52 pool.schedule(task, 1, TimeUnit.SECONDS);
/openjdk7/jdk/test/java/awt/Dialog/CrashXCheckJni/
H A DCrashXCheckJni.java48 t.schedule(new TimerTask() {
/openjdk7/jdk/test/java/lang/instrument/
H A DRetransformBigClassAgent.java42 new Timer(true).schedule(new TimerTask() {
H A DRedefineBigClassAgent.java68 new Timer(true).schedule(new TimerTask() {
H A DRedefineClassWithNativeMethodAgent.java59 new Timer(true).schedule(new TimerTask() {
/openjdk7/jdk/src/share/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/
H A DScanManagerMXBean.java141 public void schedule(long delay, long interval) method in interface:ScanManagerMXBean
154 * {@link #schedule schedule}.
179 * This is equivalent to {@link #schedule(long,long) schedule(0,0)}.
/openjdk7/jdk/test/java/lang/Runtime/exec/
H A DSleepyCat.java83 timer.schedule(catExecutioner, timeout * 1000);
126 timer.schedule(sleeperExecutioner, timeout * 1000);
/openjdk7/jdk/src/share/classes/java/util/
H A DTimer.java31 * A facility for threads to schedule tasks for future execution in a
54 * attempt to schedule a task on the timer will result in an
78 * it uses a binary heap to represent its task queue, so the cost to schedule
92 * thread. The timer produces tasks, via its various schedule calls,
139 * schedule repeating "maintenance activities", which must be
190 public void schedule(TimerTask task, long delay) { method in class:Timer
207 public void schedule(TimerTask task, Date time) { method in class:Timer
243 public void schedule(TimerTask task, long delay, long period) { method in class:Timer
284 public void schedule(TimerTask task, Date firstTime, long period) { method in class:Timer
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/
H A DWSEndpoint.java183 * calling {@link #schedule(Packet,CompletionCallback) } and
184 * {@link #schedule(Packet,CompletionCallback,FiberContextSwitchInterceptor)} methods.
223 public final void schedule(@NotNull Packet request, @NotNull CompletionCallback callback ) { method in class:WSEndpoint
224 schedule(request,callback,null);
230 * @see {@link #schedule(Packet, CompletionCallback)}
236 public abstract void schedule(@NotNull Packet request, @NotNull CompletionCallback callback, @Nullable FiberContextSwitchInterceptor interceptor ); method in class:WSEndpoint
239 schedule(request,callback,interceptor);
244 * submitted via schedule().
249 * submitted via schedule().
/openjdk7/jdk/src/share/classes/sun/jvmstat/perfdata/monitor/protocol/rmi/
H A DRemoteMonitoredVm.java85 timer.schedule(samplerTask, 0, interval);
146 timer.schedule(notifierTask, 0, interval);
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/
H A DCWarningWindow.java141 showingTaskHandle = scheduler.schedule(showingTask, 50,
150 hidingTaskHandle = scheduler.schedule(hidingTask, HIDING_DELAY,
153 hidingTaskHandle = scheduler.schedule(hidingTask, 50,
429 showingTaskHandle = scheduler.schedule(showingTask, SHOWING_DELAY,
/openjdk7/jdk/test/java/awt/DataFlavor/MissedHtmlAndRtfBug/
H A DTargetPanel.java68 t.schedule(new TimerTask() {
/openjdk7/jdk/test/java/nio/channels/SocketChannel/
H A DCloseDuringWrite.java69 // schedule channel to be closed
72 Future<Void> result = pool.schedule(c, when, TimeUnit.MILLISECONDS);
/openjdk7/jdk/src/share/demo/applets/Blink/
H A DBlink.java83 timer = new Timer(); //creates a new timer to schedule the blinking
84 timer.schedule(new TimerTask() { //creates a timertask to schedule

Completed in 2682 milliseconds

123