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