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.
  • Field Details

    • logger

      protected final Logger logger
    • NODE_IN_USE_LABEL_KEY

      public static final String NODE_IN_USE_LABEL_KEY
      See Also:
    • RECURRENCE_PERIOD

      public static final long RECURRENCE_PERIOD
    • LOST_MULTIPLIER

      public static final int LOST_MULTIPLIER
      See Also:
    • LAST_REFRESH_FORMATTER

      public static final DateTimeFormatter LAST_REFRESH_FORMATTER
      The formatter for the label timestamp value as per google label format, "The value can only contain lowercase letters, numeric characters, underscores and dashes. The value can be at most 63 characters long. International characters are allowed".
  • Constructor Details

    • CleanLostNodesWork

      public CleanLostNodesWork()
  • Method Details