Class LockWaitTimeoutPeriodicWork

java.lang.Object
java.util.TimerTask
hudson.triggers.SafeTimerTask
hudson.model.PeriodicWork
org.jenkins.plugins.lockableresources.queue.LockWaitTimeoutPeriodicWork
All Implemented Interfaces:
ExtensionPoint, Runnable

@Extension public class LockWaitTimeoutPeriodicWork extends PeriodicWork
Periodic work that checks for timed-out lock queue entries and for resources whose release delay is over.

This runs every 15 seconds to check if any queued pipeline contexts have exceeded their timeoutForAllocateResource. Without this, timed-out entries would only be detected when resources are freed (which might never happen if all resources are permanently busy).

Delayed releases (onReleaseDelay / onCancelDelay) have their own scheduled task; this is only the safety net in case that task did not run.

  • Constructor Details

    • LockWaitTimeoutPeriodicWork

      public LockWaitTimeoutPeriodicWork()
  • Method Details