Save This Page
Home » quartz-1.6.0 » org » quartz » examples » [javadoc | source]
org.quartz.examples
public class: DumbRecoveryJob [javadoc | source]
java.lang.Object
   org.quartz.examples.DumbDelayJob
      org.quartz.examples.DumbRecoveryJob

All Implemented Interfaces:
    Job

Direct Known Subclasses:
    DumbRecoveryStatefulJob

A dumb implementation of Job, for unittesting purposes.

This jobs prints a different message if it detects that it is executing as a recovery. It pauses (sleeps) for a few seconds within its execute method, so that there's a good chance it will be running when a scheduler dies.

Fields inherited from org.quartz.examples.DumbDelayJob:
KEY_DELAY,  DEFAULT_DELAY
Constructor:
 public DumbRecoveryJob() 
Method from org.quartz.examples.DumbRecoveryJob Summary:
execute
Methods from org.quartz.examples.DumbDelayJob:
execute
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.quartz.examples.DumbRecoveryJob Detail:
 public  void execute(JobExecutionContext context) throws JobExecutionException