Class CleanLostNodesWork
- java.lang.Object
-
- java.util.TimerTask
-
- hudson.triggers.SafeTimerTask
-
- hudson.model.PeriodicWork
-
- com.google.jenkins.plugins.computeengine.CleanLostNodesWork
-
- All Implemented Interfaces:
ExtensionPoint
,Runnable
@Extension @Symbol("cleanLostNodesWork") public class CleanLostNodesWork extends PeriodicWork
Periodically checks if there are no lost nodes in GCP. If it finds any they are deleted.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.triggers.SafeTimerTask
SafeTimerTask.ExceptionRunnable
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description CleanLostNodesWork()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doRun()
long
getRecurrencePeriod()
-
Methods inherited from class hudson.model.PeriodicWork
all, getInitialDelay, init
-
Methods inherited from class hudson.triggers.SafeTimerTask
getLogsRoot, of, run
-
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
-
-
-
-
Field Detail
-
logger
protected final Logger logger
-
-
Method Detail
-
getRecurrencePeriod
public long getRecurrencePeriod()
- Specified by:
getRecurrencePeriod
in classPeriodicWork
-
doRun
protected void doRun()
- Specified by:
doRun
in classSafeTimerTask
-
-