Class JobHeartbeat
java.lang.Object
com.bluebell.greenhouse.radicle.scheduled.job.JobHeartbeat
@Component
@ConditionalOnProperty(name="bluebell.jobs.dispatcher.enabled",
havingValue="true")
public class JobHeartbeat
extends Object
Renews leases only for work actively executing in this process.
- Version:
- 3.0.6
- Author:
- Stephen Prizio
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
JobHeartbeat
public JobHeartbeat()
-
-
Method Details
-
heartbeat
@Scheduled(fixedDelayString="${bluebell.jobs.heartbeat-milliseconds:30000}") public void heartbeat()Renews all active local claims.
-