public class SpincastSessionDeleteOldSessionsCron extends SpincastCronJobBase
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
SpincastSessionDeleteOldSessionsCron(SpincastSessionConfig spincastSessionConfig,
SpincastSessionManager spincastSessionManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
executeSafe(org.quartz.JobExecutionContext context)
To override to implement the actuqal cronjob action.
|
protected SpincastSessionConfig |
getSpincastSessionConfig() |
protected SpincastSessionManager |
getSpincastSessionManager() |
org.quartz.Trigger |
getTrigger()
When to run this cron job?
|
execute@Inject public SpincastSessionDeleteOldSessionsCron(SpincastSessionConfig spincastSessionConfig, SpincastSessionManager spincastSessionManager)
protected SpincastSessionConfig getSpincastSessionConfig()
protected SpincastSessionManager getSpincastSessionManager()
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 SpincastCronJobBaseCopyright © 2018. All rights reserved.