/openjdk7/jdk/src/share/classes/javax/management/timer/ |
H A D | TimerMBean.java | 26 package javax.management.timer; 43 * Exposes the management interface of the timer MBean. 50 * Starts the timer. 52 * If there is one or more timer notifications before the time in the list of notifications, the notification 55 * If the timer notification date remains earlier than the current date, this notification is just removed 61 * Stops the timer. 66 * Creates a new timer notification with the specified <CODE>type</CODE>, <CODE>message</CODE> 70 * If the timer notification to be inserted has a date that is before the current date, 76 * Note that once the timer notification has been added into the list of notifications, 82 * @param type The timer notificatio [all...] |
H A D | Timer.java | 26 package javax.management.timer; 50 * Provides the implementation of the timer MBean. 51 * The timer MBean sends out an alarm at a specified time 52 * that wakes up all the listeners registered to receive timer notifications. 55 * This class manages a list of dated timer notifications. 57 * When a timer notification is emitted by the timer and becomes obsolete, 58 * it is automatically removed from the list of timer notifications. 59 * <BR>Additional timer notifications can be added into regularly repeating notifications. 64 * <LI>When sending timer notification 168 private java.util.Timer timer; field in class:Timer [all...] |
/openjdk7/jdk/test/java/rmi/reliability/benchmark/bench/serial/ |
H A D | Main.java | 62 static Timer timer; field in class:Main 200 * Set up the timer to end the test. 206 timer = new Timer(true); 207 timer.schedule(
|
/openjdk7/jdk/src/share/classes/sun/jvmstat/perfdata/monitor/protocol/rmi/ |
H A D | MonitoredHostProvider.java | 54 private Timer timer; field in class:MonitoredHostProvider 125 this.timer = new Timer(true); 146 RemoteMonitoredVm rmvm = new RemoteMonitoredVm(rvm, nvmid, timer, 188 timer.schedule(task, 0, interval); 224 CountedTimerTaskUtils.reschedule(timer, oldTask, task,
|
H A D | RemoteMonitoredVm.java | 53 private Timer timer; field in class:RemoteMonitoredVm 63 * @param timer the timer used to run polling tasks 67 Timer timer, int interval) 73 this.timer = timer; 85 timer.schedule(samplerTask, 0, interval); 146 timer.schedule(notifierTask, 0, interval); 180 CountedTimerTaskUtils.reschedule(timer, oldSamplerTask, 188 CountedTimerTaskUtils.reschedule(timer, oldNotifierTas 66 RemoteMonitoredVm(RemoteVm rvm, VmIdentifier vmid, Timer timer, int interval) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/misc/ |
H A D | Timer.java | 30 For example, in an animation loop, a timer would help in 33 A timer has an interval which determines when it "ticks"; 34 that is, a timer delays for the specified interval and then 37 Here's an example of creating a timer with a 5 sec interval: 41 public void tick(Timer timer) { 50 A timer can be stopped, continued, or reset at any time. 51 A timer's state is not stopped while it's calling the 54 A timer can be regular or irregular. If in regular mode, 55 a timer ticks at the specified interval, regardless of 56 how long the owner's tick() method takes. While the timer 426 enqueue(Timer timer) argument 465 dequeue(Timer timer) argument 510 requeue(Timer timer) argument 565 Timer timer; field in class:TimerTickThread 581 call( Timer timer, long sleepUntil) argument [all...] |
/openjdk7/hotspot/src/share/vm/gc_implementation/shared/ |
H A D | gcUtil.hpp | 29 #include "runtime/timer.hpp" 222 GCPauseTimer(elapsedTimer* timer) { argument 223 _timer = timer;
|
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/ |
H A D | AnimationController.java | 82 //this timer is used to cause repaint on animated components 84 private final javax.swing.Timer timer = field in class:AnimationController 98 timer.setRepeats(true); 99 timer.setCoalesce(true); 230 if (! timer.isRunning()) { 231 timer.start(); 311 timer.stop(); 316 timer.stop();
|
/openjdk7/jdk/src/macosx/classes/java/util/prefs/ |
H A D | MacOSXPreferencesFile.java | 52 * Sync timer periodically calls syncWorld() to force external disk changes 53 (e.g. from another VM) into the memory cache. The sync timer runs even 54 if there are no outstanding local changes. The sync timer syncs all live 56 The sync timer period is controlled by the java.util.prefs.syncInterval 58 sync timer (unlike FileSystemPreferences); it is only enabled if the 61 * Flush timer calls flushWorld() to force local changes to disk. 62 The flush timer is scheduled to fire some time after each pref change, 64 flushWorld will cancel any outstanding flush timer as unnecessary. 65 The flush timer flushes all changed files (the changedFiles list). 66 The time between pref write and flush timer cal 105 private static Timer timer = null; field in class:MacOSXPreferencesFile 331 private static synchronized Timer timer() method in class:MacOSXPreferencesFile [all...] |
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/ |
H A D | TestEnvironment.java | 109 Timer timer; field in class:TestEnvironment 114 timer = Timer.getImpl(); 118 timer.start(); 122 timer.stop(); 126 return timer.getTimeMillis(); 130 return timer.getTimeNanos();
|
/openjdk7/jdk/test/java/rmi/reliability/benchmark/bench/rmi/ |
H A D | Main.java | 98 static Timer timer; field in class:Main 369 * Set up the timer to end the test. 375 timer = new Timer(true); 376 timer.schedule(
|
/openjdk7/jdk/src/share/classes/javax/swing/tree/ |
H A D | DefaultTreeCellEditor.java | 100 protected transient Timer timer; field in class:DefaultTreeCellEditor 285 else if(timer != null && timer.isRunning()) 286 timer.stop(); 363 if(timer != null) { 364 timer.stop(); 373 * Messaged when the timer fires, this will start the editing 398 if(timer != null) { 399 timer.stop(); 421 * Starts the editing timer [all...] |
/openjdk7/jdk/src/share/classes/java/awt/dnd/ |
H A D | DropTarget.java | 660 timer = new Timer(interval.intValue(), this); 662 timer.setCoalesce(true); 663 timer.setInitialDelay(initial.intValue()); 674 timer.start(); 711 if (timer.isRunning()) timer.stop(); 713 if (!timer.isRunning()) timer.start(); 721 protected void stop() { timer.stop(); } 743 private Timer timer; field in class:DropTarget.DropTargetAutoScroller [all...] |
/openjdk7/hotspot/src/share/vm/c1/ |
H A D | c1_Compilation.cpp | 74 PhaseTraceTime(TimerName timer) argument 75 : TraceTime("", &timers[timer], CITime || CITimeEach, Verbose), _log(NULL) { 81 _log->begin_head("phase name='%s'", timer_name[timer]);
|
/openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
H A D | AquaProgressBarUI.java | 136 // listen for Ancestor events to stop our timer when we are no longer visible 432 private Timer timer; field in class:AquaProgressBarUI.Animator 448 if (timer == null) { 449 timer = new Timer(repaintInterval, this); 451 timer.setDelay(repaintInterval); 455 timer.setRepeats(false); 456 timer.setCoalesce(false); 459 timer.start(); 463 timer.stop(); 481 timer [all...] |
/openjdk7/hotspot/src/share/vm/runtime/ |
H A D | fprofiler.hpp | 28 #include "runtime/timer.hpp" 214 elapsedTimer timer; member in class:ThreadProfiler 287 static elapsedTimer timer; member in class:FlatProfiler
|
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/ |
H A D | VMPanel.java | 48 private Timer timer; field in class:VMPanel 269 if (timer != null) { 270 timer.cancel(); 286 // Start/Restart update timer on connect/reconnect 330 // Start/Restart update timer on connect/reconnect 440 if (timer != null) { 441 timer.cancel(); 450 timer = new Timer(timerName, true); 451 timer.schedule(timerTask, 0, updateInterval);
|
/openjdk7/jdk/test/java/util/concurrent/ConcurrentHashMap/ |
H A D | MapCheck.java | 53 static TestTimer timer = new TestTimer(); field in class:MapCheck 135 timer.start(nm, n * iters); 141 timer.finish(); 147 timer.start(nm, n); 151 timer.finish(); 157 timer.start(nm, n); 161 timer.finish(); 167 timer.start(nm, n); 171 timer.finish(); 177 timer [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicProgressBarUI.java | 1011 * default animation thread's timer is fired. 1147 private Timer timer; field in class:BasicProgressBarUI.Animator 1154 * Creates a timer if one doesn't already exist, 1155 * then starts the timer thread. 1161 if (timer == null) { 1162 timer = new Timer(interval, this); 1164 timer.setDelay(interval); 1168 timer.setRepeats(false); 1169 timer.setCoalesce(false); 1172 timer [all...] |
/openjdk7/hotspot/src/share/vm/gc_interface/ |
H A D | collectedHeap.cpp | 523 void CollectedHeap::pre_full_gc_dump(GCTimer* timer) { argument 525 GCTraceTime tt("Heap Dump (before full gc): ", PrintGCDetails, false, timer); 531 GCTraceTime tt("Class Histogram (before full gc): ", PrintGCDetails, true, timer); 537 void CollectedHeap::post_full_gc_dump(GCTimer* timer) { argument 539 GCTraceTime tt("Heap Dump (after full gc): ", PrintGCDetails, false, timer); 543 GCTraceTime tt("Class Histogram (after full gc): ", PrintGCDetails, true, timer);
|
/openjdk7/jdk/src/share/classes/sun/net/httpserver/ |
H A D | ServerImpl.java | 83 private Timer timer, timer1; field in class:ServerImpl 112 timer = new Timer ("server-timer", true); 113 timer.schedule (new ServerTimerTask(), CLOCK_TICK, CLOCK_TICK); 204 timer.cancel(); 781 // by the server. This stops the timer which would 783 // quickly enough. It then starts the timer
|
/openjdk7/jdk/src/share/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/ |
H A D | ScanManager.java | 581 // The timer used by this object. Lazzy evaluation. Cleaned in 584 private Timer timer = null; field in class:ScanManager 613 if (timer == null) timer = new Timer("ScanManager"); 615 timer.schedule(task,delay); 753 * timer thread. There can be at most one session task running 754 * at a given time (this is ensured by using a timer - which is 1139 * Cancels the internal timer - if any. 1142 if (timer != null) { 1144 timer [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | TransferHandler.java | 1304 private Timer timer; field in class:TransferHandler.DropHandler 1321 * timer. The region that causes the timer countdown is the area 1395 if (timer == null) { 1402 timer = new Timer(prop == null ? 100 : prop.intValue(), this); 1407 timer.setInitialDelay(prop == null ? 100 : prop.intValue()); 1419 * The timer fired, perform autoscroll if the pointer is within the 1499 if (timer.isRunning()) timer.stop(); 1501 if (!timer [all...] |
/openjdk7/jdk/src/macosx/bin/ |
H A D | java_md_macosx.c | 322 static void dummyTimer(CFRunLoopTimerRef timer, void *info) {} argument
|
/openjdk7/jdk/src/share/native/sun/java2d/cmm/lcms/ |
H A D | cmsps2.c | 377 time_t timer; local 381 time(&timer); 397 _cmsIOPrintf(m, "%% Created: %s", ctime(&timer)); // ctime appends a \n!!!
|