Searched defs:delay (Results 1 - 25 of 49) sorted by relevance

12

/openjdk7/jdk/test/com/sun/net/httpserver/
H A DTest.java39 static void delay () { method in class:Test
/openjdk7/jdk/test/java/io/PipedOutputStream/
H A DDeadReader.java64 private int delay; field in class:LazyReader
/openjdk7/jdk/test/java/nio/channels/Selector/
H A DCloseWhenKeyIdle.java41 // Wakes up a Selector after a given delay
44 private long delay; field in class:CloseWhenKeyIdle.Waker
46 Waker(Selector sel, long delay) { argument
48 this.delay = delay;
53 Thread.sleep(delay);
/openjdk7/jdk/test/java/security/Security/ClassLoaderDeadlock/
H A DClassLoaderDeadlock.java42 // add a delay in class loading for reproducability
43 cl.delay = 1000;
49 // this locks the DelayClassLoader and after the delay the system class loader
74 volatile int delay; field in class:ClassLoaderDeadlock.DelayClassLoader
83 // delay so that we hold the lock for a longer period
85 Thread.sleep(delay);
/openjdk7/jdk/test/javax/swing/JColorChooser/
H A DTest4177735.java74 private static void pause(long delay) { argument
76 Thread.sleep(delay);
/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DScheduledExecutorService.java42 * delay, or to execute periodically.
52 * a requested delay of zero. Zero and negative delays (but not
63 * relative delay need not coincide with the current <tt>Date</tt> at
100 * after the given delay.
103 * @param delay the time from now to delay execution
104 * @param unit the time unit of the delay parameter
113 long delay, TimeUnit unit);
117 * given delay.
120 * @param delay th
112 schedule(Runnable command, long delay, TimeUnit unit) argument
127 schedule(Callable<V> callable, long delay, TimeUnit unit) argument
182 scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit) argument
[all...]
/openjdk7/jdk/test/java/lang/System/finalization/
H A DFinThreads.java86 static void alarm(final Thread sleeper, final long delay) argument
92 Thread.sleep(delay);
/openjdk7/jdk/test/java/net/Socket/
H A DLingerTest.java73 long delay; field in class:LingerTest.Another
76 public Another(int port, long delay) { argument
78 this.delay = delay;
84 Thread.sleep(delay);
/openjdk7/jdk/test/java/nio/channels/spi/SelectorProvider/inheritedChannel/
H A DEchoService.java65 private static void doIt(SocketChannel sc, int closeAfter, int delay) throws IOException { argument
87 if (delay > 0) {
89 Thread.currentThread().sleep(delay);
148 int delay = 0;
153 delay = Integer.parseInt(args[1]);
155 doIt((SocketChannel)c, closeAfter, delay);
192 int delay = Integer.parseInt(args[0]);
194 Thread.currentThread().sleep(delay);
/openjdk7/jdk/src/share/demo/applets/Blink/
H A DBlink.java66 private int delay; // the delay time between blinks field in class:Blink
71 delay = (blinkFrequency == null) ? 400
91 }, delay, delay);
/openjdk7/jdk/test/java/rmi/reliability/benchmark/bench/rmi/
H A DBenchServer.java79 void terminate(int delay) throws RemoteException; argument
H A DBenchServerImpl.java94 public void terminate(int delay) throws RemoteException { argument
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftLowFrequencyOscillator/
H A DTestProcessControlLogic.java39 private static void testLFO(boolean shared, int instance, float freq, float delay, argument
45 double[] lfo_delay = lfo.get(instance, "delay");
49 lfo_delay[0] = delay;
54 int delayCount = (int) ((Math.pow(2, delay / 1200.0) * control_rate));
63 // After the delay the LFO should start oscillate
/openjdk7/jdk/test/javax/sound/sampled/DirectAudio/
H A Dbug6400879.java61 delay(500); // sleep for 0.5 sec
131 static void delay(int millis) { method in class:bug6400879
/openjdk7/jdk/test/javax/swing/JComboBox/6607130/
H A Dbug6607130.java139 delay();
142 private void delay() { method in class:bug6607130
/openjdk7/jdk/test/javax/swing/JFileChooser/6798062/
H A Dbug6798062.java158 private final int delay; field in class:bug6798062.MyThread
162 private MyThread(int delay, String link) { argument
163 this.delay = delay;
189 if (delay > 0) {
191 Thread.sleep(delay);
/openjdk7/jdk/src/share/classes/sun/net/httpserver/
H A DHttpServerImpl.java69 public void stop (int delay) { argument
70 server.stop (delay);
H A DHttpsServerImpl.java77 public void stop (int delay) { argument
78 server.stop (delay);
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DSoftLowFrequencyOscillator.java37 private final double[][] delay = new double[max_count][1]; field in class:SoftLowFrequencyOscillator
58 delay[i][0] = 0;
75 this.delay[i][0] / 1200.0) / control_time);
122 if (name.equals("delay"))
123 return delay[instance];
/openjdk7/jdk/src/share/classes/com/sun/net/httpserver/
H A DHttpServer.java180 * approximately <i>delay</i> seconds have elapsed (whichever happens
185 * @param delay the maximum time in seconds to wait until exchanges have finished.
186 * @throws IllegalArgumentException if delay is less than zero.
188 public abstract void stop (int delay); argument
/openjdk7/hotspot/src/share/vm/runtime/
H A Dtask.cpp99 int delay = _tasks[0]->time_to_next_interval(); local
101 delay = MIN2(delay, _tasks[index]->time_to_next_interval());
103 return delay;
/openjdk7/jdk/test/java/awt/Menu/OpensWithNoGrab/
H A DOpensWithNoGrab.java40 final static int delay = 50; field in class:OpensWithNoGrab
97 robot.delay(delay);
99 robot.delay(delay);
101 robot.delay(delay);
106 robot.delay(10*delay);
108 robot.delay(dela
[all...]
/openjdk7/jdk/src/share/classes/java/util/
H A DTimer.java39 * turn, delay the execution of subsequent tasks, which may "bunch up" and
68 * executing tasks at a given rate or delay. It is effectively a more
180 * Schedules the specified task for execution after the specified delay.
183 * @param delay delay in milliseconds before task is to be executed.
184 * @throws IllegalArgumentException if <tt>delay</tt> is negative, or
185 * <tt>delay + System.currentTimeMillis()</tt> is negative.
190 public void schedule(TimerTask task, long delay) { argument
191 if (delay < 0)
192 throw new IllegalArgumentException("Negative delay
243 schedule(TimerTask task, long delay, long period) argument
323 scheduleAtFixedRate(TimerTask task, long delay, long period) argument
[all...]
/openjdk7/jdk/test/java/rmi/reliability/benchmark/bench/serial/
H A DMain.java202 * @param delay the amount of delay, in seconds, before requesting
205 static void setupTimer(int delay) { argument
213 delay * 1000);
/openjdk7/jdk/src/share/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/
H A DScanManagerMXBean.java125 * @param delay The first scan session will be started after
126 * the given delay. 0 means start now.
141 public void schedule(long delay, long interval) argument

Completed in 2305 milliseconds

12