/openjdk7/jdk/src/share/classes/sun/misc/ |
H A D | Timeable.java | 37 * This method is executed every time a timer owned by this 38 * object ticks. An object can own more than one timer but 40 * you can use the supplied timer parameter to determine 41 * which timer has ticked. 42 * @param timer a handle to the timer that has just ticked. 44 public void tick(Timer timer); argument
|
/openjdk7/jdk/src/share/classes/javax/management/timer/ |
H A D | TimerAlarmClockNotification.java | 26 package javax.management.timer;
|
H A D | TimerNotification.java | 26 package javax.management.timer; 29 * This class provides definitions of the notifications sent by timer MBeans. 30 * <BR>It defines a timer notification identifier which allows to retrieve a timer notification 31 * from the list of notifications of a timer MBean. 33 * The timer notifications are created and handled by the timer MBean. 51 * This identifier is used to retrieve a timer notification from the timer list of notifications. 63 * Creates a timer notificatio [all...] |
/openjdk7/jdk/test/javax/swing/JTextArea/6940863/ |
H A D | bug6940863.java | 43 private static final Timer timer = new Timer(1000, new ActionListener() { field in class:bug6940863 83 timer.setRepeats(false); 84 timer.start();
|
/openjdk7/jdk/test/javax/swing/JTextArea/ |
H A D | Test6593649.java | 41 private static final Timer timer = new Timer(1000, new ActionListener() { field in class:Test6593649 74 timer.setRepeats(false); 75 timer.start();
|
/openjdk7/hotspot/src/share/vm/gc_implementation/shared/ |
H A D | gcTraceTime.cpp | 31 #include "runtime/timer.hpp" 47 GCTraceTime::GCTraceTime(const char* title, bool doit, bool print_cr, GCTimer* timer) : argument 48 _title(title), _doit(doit), _print_cr(print_cr), _timer(timer) {
|
/openjdk7/jdk/test/java/util/Timer/ |
H A D | NameConstructors.java | 44 public static void test(Timer timer, final String name) throws Exception { argument 53 timer.schedule(task, 0); // Immediate 57 timer.cancel();
|
H A D | DelayOverflow.java | 40 void scheduleNow(Timer timer, TimerTask task, int how) { argument 43 timer.schedule(task, new Date(), Long.MAX_VALUE); 46 timer.schedule(task, 0L, Long.MAX_VALUE); 49 timer.scheduleAtFixedRate(task, new Date(), Long.MAX_VALUE); 52 timer.scheduleAtFixedRate(task, 0L, Long.MAX_VALUE); 75 final Timer timer = new Timer(); 84 scheduleNow(timer, task, how); 91 timer.cancel();
|
/openjdk7/jdk/test/javax/management/remote/mandatory/loading/ |
H A D | UserClassLoaderTest.java | 44 private static ObjectName timer; field in class:UserClassLoaderTest 53 timer = new ObjectName("test:name=timer"); 54 mbs.createMBean("javax.management.timer.Timer", timer); 112 conn.addNotificationListener(timer, listener, null, null);
|
/openjdk7/jdk/test/javax/swing/JFileChooser/6489130/ |
H A D | bug6489130.java | 43 private final Timer timer = new Timer(1000, new ActionListener() { field in class:bug6489130 90 timer.start();
|
/openjdk7/hotspot/src/share/vm/services/ |
H A D | heapDumper.hpp | 63 // internal timer. 64 elapsedTimer* timer() { return &_t; } function in class:HeapDumper
|
/openjdk7/jdk/src/share/demo/applets/Blink/ |
H A D | Blink.java | 48 * @author 04/23/99 Josh Bloch, use timer instead of explicit multithreading. 64 private Timer timer; // Schedules the blinking field in class:Blink 83 timer = new Timer(); //creates a new timer to schedule the blinking 84 timer.schedule(new TimerTask() { //creates a timertask to schedule 126 timer.cancel(); //stops the timer
|
/openjdk7/jdk/test/java/util/concurrent/FutureTask/ |
H A D | CancelledFutureLoops.java | 83 private final LoopHelpers.BarrierTimer timer = new LoopHelpers.BarrierTimer(); field in class:CancelledFutureLoops.FutureLoop 88 barrier = new CyclicBarrier(nthreads+1, timer); 118 long time = endTime - timer.startTime;
|
/openjdk7/jdk/test/java/util/concurrent/locks/ReentrantLock/ |
H A D | SimpleReentrantLockLoops.java | 78 private final LoopHelpers.BarrierTimer timer = new LoopHelpers.BarrierTimer(); field in class:SimpleReentrantLockLoops.ReentrantLockLoop 83 barrier = new CyclicBarrier(nthreads+1, timer); 92 long time = timer.getTime();
|
H A D | CancelledLockLoops.java | 79 private final LoopHelpers.BarrierTimer timer = new LoopHelpers.BarrierTimer(); field in class:CancelledLockLoops.ReentrantLockLoop 84 barrier = new CyclicBarrier(nthreads+1, timer); 105 long time = timer.getTime();
|
H A D | LockOncePerThreadLoops.java | 79 private final LoopHelpers.BarrierTimer timer = new LoopHelpers.BarrierTimer(); field in class:LockOncePerThreadLoops.ReentrantLockLoop 82 barrier = new CyclicBarrier(nthreads+1, timer); 93 long time = timer.getTime();
|
H A D | TimeoutLockLoops.java | 79 private final LoopHelpers.BarrierTimer timer = new LoopHelpers.BarrierTimer(); field in class:TimeoutLockLoops.ReentrantLockLoop 84 barrier = new CyclicBarrier(nthreads+1, timer); 99 long time = timer.getTime();
|
/openjdk7/jdk/src/share/classes/sun/jvmstat/perfdata/monitor/ |
H A D | CountedTimerTaskUtils.java | 46 * @param timer the Timer for the task 53 public static void reschedule(Timer timer, CountedTimerTask oldTask, argument 62 System.err.println("computing timer delay: " 85 timer.schedule(newTask, delay, newInterval);
|
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | Autoscroller.java | 50 private static Timer timer; field in class:Autoscroller 83 * Starts the timer targeting the passed in component. 100 if (timer == null) { 101 timer = new Timer(100, this); 104 if (!timer.isRunning()) { 105 timer.start(); 118 if (timer != null) { 119 timer.stop(); 121 timer = null; 132 return (c == component && timer ! [all...] |
H A D | TimerQueue.java | 117 void addTimer(Timer timer, long delayMillis) { argument 118 timer.getLock().lock(); 121 if (! containsTimer(timer)) { 122 addTimer(new DelayedTimer(timer, 127 timer.getLock().unlock(); 134 Timer timer = delayedTimer.getTimer(); 135 timer.getLock().lock(); 137 timer.delayedTimer = delayedTimer; 140 timer.getLock().unlock(); 144 void removeTimer(Timer timer) { argument 156 containsTimer(Timer timer) argument 258 private final Timer timer; field in class:TimerQueue.DelayedTimer 260 DelayedTimer(Timer timer, long nanos) argument [all...] |
/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | WaitDispatchSupport.java | 60 // Use a shared daemon timer to serve all the WaitDispatchSupports 61 private static Timer timer; field in class:WaitDispatchSupport 62 // When this WDS expires, we cancel the timer task leaving the 63 // shared timer up and running 70 if (timer == null) { 71 timer = new Timer("AWT-WaitDispatchSupport-Timer", true); 195 log.finest("scheduling the timer for " + interval + " ms"); 196 timer.schedule(timerTask = new TimerTask() {
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/ |
H A D | ProcessListPanel.java | 42 private javax.swing.Timer timer; field in class:ProcessListPanel 209 if (timer == null) { 210 timer = new javax.swing.Timer(1000, new ActionListener() { 216 return timer;
|
/openjdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge/ |
H A D | gcTaskThread.cpp | 123 TimeStamp timer; local 136 timer.update(); 139 jlong entry_time = timer.ticks(); 155 timer.update(); 161 time_stamp->set_exit_time(timer.ticks());
|
/openjdk7/jdk/src/share/demo/applets/Clock/ |
H A D | Clock.java | 60 private volatile Thread timer; // The thread that displays clock field in class:Clock 209 timer = new Thread(this); 210 timer.start(); 215 timer = null; 222 while (timer == me) {
|
/openjdk7/hotspot/agent/src/share/classes/com/sun/java/swing/ui/ |
H A D | StatusBar.java | 93 if(timer == null) 97 timer = new Timer(15, this); 98 timer.start(); 104 if(timer != null) 106 timer.stop(); 107 timer = null; 174 private Timer timer; field in class:StatusBar
|