public.javadoc.org.spincast.plugins.attemptslimiter.DeleteOldAttemptsScheduledTask.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spincast-website Show documentation
Show all versions of spincast-website Show documentation
Source code for the https://www.spincast.org website.
DeleteOldAttemptsScheduledTask (org.spincast:spincast-framework 1.13.0 API)
org.spincast.plugins.attemptslimiter
Class DeleteOldAttemptsScheduledTask
- java.lang.Object
-
- org.spincast.plugins.scheduledtasks.SpincastScheduledTaskBase
-
- org.spincast.plugins.attemptslimiter.DeleteOldAttemptsScheduledTask
-
- All Implemented Interfaces:
- org.quartz.Job, SpincastScheduledTask
public class DeleteOldAttemptsScheduledTask
extends SpincastScheduledTaskBase
-
-
Field Summary
-
Fields inherited from class org.spincast.plugins.scheduledtasks.SpincastScheduledTaskBase
logger
-
Constructor Summary
Constructors
Constructor and Description
DeleteOldAttemptsScheduledTask(SpincastAttemptsLimiterPluginConfig spincastAttemptsLimiterPluginConfig,
SpincastAttemptsLimiterPluginRepository spincastAttemptsLimiterPluginRepository,
AttemptsManager attemptsManager)
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
protected void
executeSafe(org.quartz.JobExecutionContext context)
To override to implement the actual ScheduledTask action.
protected AttemptsManager
getAttemptsManager()
protected SpincastAttemptsLimiterPluginConfig
getSpincastAttemptsLimiterPluginConfig()
protected SpincastAttemptsLimiterPluginRepository
getSpincastAttemptsLimiterPluginRepository()
org.quartz.Trigger
getTrigger()
When to run this task?
-
Methods inherited from class org.spincast.plugins.scheduledtasks.SpincastScheduledTaskBase
execute
-
-
Constructor Detail
-
DeleteOldAttemptsScheduledTask
@Inject
public DeleteOldAttemptsScheduledTask(SpincastAttemptsLimiterPluginConfig spincastAttemptsLimiterPluginConfig,
SpincastAttemptsLimiterPluginRepository spincastAttemptsLimiterPluginRepository,
AttemptsManager attemptsManager)
-
Method Detail
-
getSpincastAttemptsLimiterPluginConfig
protected SpincastAttemptsLimiterPluginConfig getSpincastAttemptsLimiterPluginConfig()
-
getSpincastAttemptsLimiterPluginRepository
protected SpincastAttemptsLimiterPluginRepository getSpincastAttemptsLimiterPluginRepository()
-
getAttemptsManager
protected AttemptsManager getAttemptsManager()
-
getTrigger
public org.quartz.Trigger getTrigger()
Description copied from interface: SpincastScheduledTask
When to run this task?
- Specified by:
getTrigger
in interface SpincastScheduledTask
- Specified by:
getTrigger
in class SpincastScheduledTaskBase
-
executeSafe
protected void executeSafe(org.quartz.JobExecutionContext context)
Description copied from class: SpincastScheduledTaskBase
To override to implement the actual ScheduledTask action.
Will only be called if the ScheduledTask isn't already running.
- Specified by:
executeSafe
in class SpincastScheduledTaskBase
Copyright © 2019. All rights reserved.