Class JobRecoveryService

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

@Service public class JobRecoveryService extends Object
Recovers abandoned leases and creates linked retries when policy permits.
Version:
3.0.6
Author:
Stephen Prizio
  • Constructor Details

    • JobRecoveryService

      public JobRecoveryService()
  • Method Details

    • recoverExpiredJobs

      @Transactional public int recoverExpiredJobs(int batchSize)
      Recovers a bounded number of expired attempts.
      Parameters:
      batchSize - maximum attempts to recover
      Returns:
      recovered count