org.quartz.examples
Class DumbRecoveryStatefulJob

java.lang.Object
  extended byorg.quartz.examples.DumbDelayJob
      extended byorg.quartz.examples.DumbRecoveryJob
          extended byorg.quartz.examples.DumbRecoveryStatefulJob
All Implemented Interfaces:
Job, StatefulJob

public class DumbRecoveryStatefulJob
extends DumbRecoveryJob
implements StatefulJob

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.

Author:
James House

Field Summary
 
Fields inherited from class org.quartz.examples.DumbDelayJob
DEFAULT_DELAY, KEY_DELAY
 
Constructor Summary
DumbRecoveryStatefulJob()
           
 
Methods inherited from class org.quartz.examples.DumbRecoveryJob
execute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.quartz.Job
execute
 

Constructor Detail

DumbRecoveryStatefulJob

public DumbRecoveryStatefulJob()

Quartz Project Page