public abstract class SafeTimerTask extends TimerTask
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
.
Constructor and Description |
---|
SafeTimerTask() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
doRun() |
void |
run() |
cancel, scheduledExecutionTime
Copyright © 2018. All rights reserved.