@Extension public static class LoadStatistics.LoadStatisticsUpdater extends PeriodicWork
ExtensionPoint.LegacyInstancesAreScopedToHudsonDAY, HOUR, logger, MIN| Constructor and Description |
|---|
LoadStatisticsUpdater() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doRun() |
long |
getRecurrencePeriod()
Gets the number of milliseconds between successive executions.
|
all, getInitialDelay, initruncancel, scheduledExecutionTimepublic long getRecurrencePeriod()
PeriodicWorkHudson calls this method once to set up a recurring timer, instead of calling this each time after the previous execution completed. So this class cannot be used to implement a non-regular recurring timer.
IOW, the method should always return the same value.
getRecurrencePeriod in class PeriodicWorkprotected void doRun()
doRun in class SafeTimerTaskCopyright © 2019. All rights reserved.