Class JobRecoveryService
java.lang.Object
com.bluebell.greenhouse.radicle.services.job.JobRecoveryService
Recovers abandoned leases and creates linked retries when policy permits.
- Version:
- 3.0.6
- Author:
- Stephen Prizio
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintrecoverExpiredJobs(int batchSize) Recovers a bounded number of expired attempts.
-
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
-