Lines Matching refs:Timer
35 * <p>Corresponding to each <tt>Timer</tt> object is a single background
37 * Timer tasks should complete quickly. If a timer task takes excessive time
43 * <p>After the last live reference to a <tt>Timer</tt> object goes away
59 * <tt>Timer</tt> object without the need for external synchronization.
69 * versatile replacement for the {@code Timer}/{@code TimerTask}
74 * {@code Timer}.
89 public class Timer {
105 * gracefully when there are no live references to the Timer object and no
107 * Timer as such a finalizer would be susceptible to a subclass's
131 public Timer() {
132 this("Timer-" + serialNumber());
145 public Timer(boolean isDaemon) {
146 this("Timer-" + serialNumber(), isDaemon);
158 public Timer(String name) {
173 public Timer(String name, boolean isDaemon) {
397 throw new IllegalStateException("Timer already cancelled.");
484 * are no more live references to our Timer object. Once this flag
492 * Our Timer's queue. We store this reference in preference to
493 * a reference to the Timer so the reference graph remains acyclic.
494 * Otherwise, the Timer would never be garbage-collected and this
507 // Someone killed this Thread, behave as if Timer cancelled
564 * ordered on nextExecutionTime. Each Timer object has one of these, which it