Package 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
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSpincastSessionDeleteOldSessionsScheduledTask
(SpincastSessionConfig spincastSessionConfig, SpincastSessionManager spincastSessionManager) -
Method Summary
Modifier and TypeMethodDescriptionvoid
executeSafe
(org.quartz.JobExecutionContext context) To override to implement the actual ScheduledTask action.protected SpincastSessionConfig
protected SpincastSessionManager
org.quartz.Trigger
When to run this task?Methods inherited from class org.spincast.plugins.scheduledtasks.SpincastScheduledTaskBase
execute
-
Field Details
-
logger
protected static final org.slf4j.Logger logger
-
-
Constructor Details
-
SpincastSessionDeleteOldSessionsScheduledTask
@Inject public SpincastSessionDeleteOldSessionsScheduledTask(SpincastSessionConfig spincastSessionConfig, SpincastSessionManager spincastSessionManager)
-
-
Method Details
-
getSpincastSessionConfig
-
getSpincastSessionManager
-
getTrigger
public org.quartz.Trigger getTrigger()Description copied from interface:SpincastScheduledTask
When to run this task?- Specified by:
getTrigger
in interfaceSpincastScheduledTask
- Specified by:
getTrigger
in classSpincastScheduledTaskBase
-
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 classSpincastScheduledTaskBase
-