Class JobRetryService

java.lang.Object
com.bluebell.greenhouse.radicle.services.job.JobRetryService

@Service public class JobRetryService extends Object
Creates immutable linked job attempts for manual and automatic retry commands.
Version:
3.0.6
Author:
Stephen Prizio
  • Constructor Details

    • JobRetryService

      public JobRetryService()
  • Method Details

    • retry

      @Transactional public JobSubmission retry(String jobId, String actor, String reason, LocalDateTime notBefore, JobTriggerType triggerType)
      Creates a queued retry linked to the selected attempt.
      Parameters:
      jobId - selected public job identifier
      actor - initiating actor
      reason - retry reason
      notBefore - earliest execution time
      triggerType - what caused this retry
      Returns:
      new attempt submission