f00f.net.irc.martyr
Class CronManager

java.lang.Object
  extended by f00f.net.irc.martyr.CronManager

public class CronManager
extends java.lang.Object

Since:
0.3.2

Constructor Summary
CronManager()
           
 
Method Summary
 void schedule(java.util.TimerTask task, java.util.Date time)
           
 void schedule(java.util.TimerTask task, java.util.Date firstTime, long period)
           
 void schedule(java.util.TimerTask task, long delay)
           
 void schedule(java.util.TimerTask task, long delay, long period)
           
 void scheduleAtFixedRate(java.util.TimerTask task, java.util.Date firstTime, long period)
           
 void scheduleAtFixedRate(java.util.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

CronManager

public CronManager()
Method Detail

schedule

public void schedule(java.util.TimerTask task,
                     java.util.Date time)
Parameters:
task - TimerTask to schedule
time - When to schedule task

schedule

public void schedule(java.util.TimerTask task,
                     java.util.Date firstTime,
                     long period)
Parameters:
task - TimerTask to schedule
firstTime - When to run first
period - How often to run

schedule

public void schedule(java.util.TimerTask task,
                     long delay)
Parameters:
task - TimerTask to schedule
delay - How long to wait before running

schedule

public void schedule(java.util.TimerTask task,
                     long delay,
                     long period)
Parameters:
task - TimerTask to schedule
delay - How long to wait before running
period - How often to run

scheduleAtFixedRate

public void scheduleAtFixedRate(java.util.TimerTask task,
                                java.util.Date firstTime,
                                long period)
Parameters:
task - TimerTask to schedule
firstTime - When first to run
period - How often to run

scheduleAtFixedRate

public void scheduleAtFixedRate(java.util.TimerTask task,
                                long delay,
                                long period)
Parameters:
task - TimerTask to schedule
delay - When first to run
period - How often to run


Copyright © 2000-2007 Ben Damm, Daniel Henninger, et al.