public class SpincastFormsDoubleSubmitDeleteOldProtectionIdsCron extends SpincastCronJobBase
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
SpincastFormsDoubleSubmitDeleteOldProtectionIdsCron(SpincastFormsProtectionConfig spincastFormsDoubleSubmitProtectionConfig,
com.google.common.base.Optional<SpincastFormsDoubleSubmitProtectionRepository> spincastFormsDoubleSubmitProtectionRepositoryOptional) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
deletedOldProtectionIdsAfterXMinutes() |
void |
executeSafe(org.quartz.JobExecutionContext context)
To override to implement the actuqal cronjob action.
|
protected SpincastFormsProtectionConfig |
getSpincastFormsDoubleSubmitProtectionConfig() |
protected SpincastFormsDoubleSubmitProtectionRepository |
getSpincastFormsDoubleSubmitProtectionRepository() |
org.quartz.Trigger |
getTrigger()
When to run this cron job?
|
execute@Inject public SpincastFormsDoubleSubmitDeleteOldProtectionIdsCron(SpincastFormsProtectionConfig spincastFormsDoubleSubmitProtectionConfig, com.google.common.base.Optional<SpincastFormsDoubleSubmitProtectionRepository> spincastFormsDoubleSubmitProtectionRepositoryOptional)
protected SpincastFormsProtectionConfig getSpincastFormsDoubleSubmitProtectionConfig()
protected SpincastFormsDoubleSubmitProtectionRepository getSpincastFormsDoubleSubmitProtectionRepository()
public org.quartz.Trigger getTrigger()
SpincastCronJobgetTrigger in interface SpincastCronJobgetTrigger in class SpincastCronJobBasepublic void executeSafe(org.quartz.JobExecutionContext context)
SpincastCronJobBaseWill only be called if it isn't already running.
executeSafe in class SpincastCronJobBaseprotected int deletedOldProtectionIdsAfterXMinutes()
Copyright © 2018. All rights reserved.