Class SafeTimerTask

java.lang.Object
java.util.TimerTask
hudson.triggers.SafeTimerTask
All Implemented Interfaces:
Runnable
Direct Known Subclasses:
AperiodicWork, PeriodicWork

public abstract class SafeTimerTask extends TimerTask
Wrapper so that a fatal error in TimerTask will not terminate the timer.

Timer.get() is a shared timer instance that can be used inside Jenkins to schedule recurring work. But the usual usage is automatic via PeriodicWork or AperiodicWork.

Since:
1.124
Author:
Kohsuke Kawaguchi