public.javadoc.org.spincast.plugins.session.SpincastSessionDeleteOldSessionsScheduledTask.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.
SpincastSessionDeleteOldSessionsScheduledTask (org.spincast:spincast-framework 1.2.0 API)
org.spincast.plugins.session
Class SpincastSessionDeleteOldSessionsScheduledTask
- java.lang.Object
-
- org.spincast.plugins.scheduledtasks.SpincastScheduledTaskBase
-
- org.spincast.plugins.session.SpincastSessionDeleteOldSessionsScheduledTask
-
- All Implemented Interfaces:
- org.quartz.Job, SpincastScheduledTask
public class SpincastSessionDeleteOldSessionsScheduledTask
extends SpincastScheduledTaskBase
-
-
Field Summary
Fields
Modifier and Type
Field and Description
protected org.slf4j.Logger
logger
-
Constructor Summary
Constructors
Constructor and Description
SpincastSessionDeleteOldSessionsScheduledTask(SpincastSessionConfig spincastSessionConfig,
SpincastSessionManager spincastSessionManager)
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
void
executeSafe(org.quartz.JobExecutionContext context)
To override to implement the actual ScheduledTask action.
protected SpincastSessionConfig
getSpincastSessionConfig()
protected SpincastSessionManager
getSpincastSessionManager()
org.quartz.Trigger
getTrigger()
When to run this task?
-
Methods inherited from class org.spincast.plugins.scheduledtasks.SpincastScheduledTaskBase
execute
-
-
Constructor Detail
-
SpincastSessionDeleteOldSessionsScheduledTask
@Inject
public SpincastSessionDeleteOldSessionsScheduledTask(SpincastSessionConfig spincastSessionConfig,
SpincastSessionManager spincastSessionManager)
-
Method Detail
-
getSpincastSessionConfig
protected SpincastSessionConfig getSpincastSessionConfig()
-
getSpincastSessionManager
protected SpincastSessionManager getSpincastSessionManager()
-
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
public 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.