java.util
Class Timer

java.lang.Object
  extended by java.util.Timer


public class Timer
extends Object


Constructor Summary
Timer()
           
Timer(boolean isDaemon)
           
Timer(String name)
           
Timer(String name, boolean isDaemon)
           
 
Method Summary
 void cancel()
           
 int purge()
           
 void schedule(TimerTask task, Date time)
           
 void schedule(TimerTask task, Date firstTime, long period)
           
 void schedule(TimerTask task, long delay)
           
 void schedule(TimerTask task, long delay, long period)
           
 void scheduleAtFixedRate(TimerTask task, Date firstTime, long period)
           
 void scheduleAtFixedRate(TimerTask task, long delay, long period)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Timer

public Timer()

Timer

public Timer(boolean isDaemon)

Timer

public Timer(String name)

Timer

public Timer(String name,
             boolean isDaemon)
Method Detail

purge

public int purge()

cancel

public void cancel()

schedule

public void schedule(TimerTask task,
                     Date time)

schedule

public void schedule(TimerTask task,
                     Date firstTime,
                     long period)

schedule

public void schedule(TimerTask task,
                     long delay)

schedule

public void schedule(TimerTask task,
                     long delay,
                     long period)

scheduleAtFixedRate

public void scheduleAtFixedRate(TimerTask task,
                                Date firstTime,
                                long period)

scheduleAtFixedRate

public void scheduleAtFixedRate(TimerTask task,
                                long delay,
                                long period)