Class PingMiddlewareScheduledJob
java.lang.Object
com.bluebell.greenhouse.radicle.scheduled.impl.PingMiddlewareScheduledJob
- All Implemented Interfaces:
GenericScheduledJob
@Component
@ConditionalOnProperty(name="bluebell.jobs.scheduler.enabled",
havingValue="true",
matchIfMissing=true)
public class PingMiddlewareScheduledJob
extends Object
implements GenericScheduledJob
Submits the durable job that checks middleware health.
- Version:
- 3.0.6
- Author:
- Stephen Prizio
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()Submits the middleware health check on its configured schedule.
-
Constructor Details
-
PingMiddlewareScheduledJob
public PingMiddlewareScheduledJob()
-
-
Method Details
-
execute
@Scheduled(cron="${bluebell.jobs.schedule.ping-middleware.cron}", zone="${bluebell.jobs.schedule.ping-middleware.zone}") public void execute()Submits the middleware health check on its configured schedule.- Specified by:
executein interfaceGenericScheduledJob
-