@Extension public class EC2FleetStatusWidgetUpdater extends PeriodicWork
EC2FleetCloud
,
EC2FleetStatusWidget
SafeTimerTask.ExceptionRunnable
ExtensionPoint.LegacyInstancesAreScopedToHudson
DAY, HOUR, logger, MIN
Constructor and Description |
---|
EC2FleetStatusWidgetUpdater() |
Modifier and Type | Method and Description |
---|---|
protected void |
doRun()
Exceptions
|
long |
getRecurrencePeriod() |
all, getInitialDelay, init
getLogsRoot, of, run
cancel, scheduledExecutionTime
public long getRecurrencePeriod()
getRecurrencePeriod
in class PeriodicWork
protected void doRun()
PeriodicWork
inside ScheduledExecutorService
by default it stops execution if task throws exception, however PeriodicWork
fix that
by catch any exception and just log it, so we safe to throw exception here.doRun
in class SafeTimerTask
Copyright © 2016–2023. All rights reserved.