Class DefaultScheduledJobStatusManager
java.lang.Object
com.atlassian.confluence.schedule.managers.DefaultScheduledJobStatusManager
- All Implemented Interfaces:
ScheduledJobStatusManager
Default implementation. Constructs new instance of ScheduledJobStatus, if not
provided by the DAO, if configuration exists.
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultScheduledJobStatusManager
(ScheduledJobDao scheduledJobDAO, com.atlassian.scheduler.SchedulerService schedulerService, InternalRunDetailsDao internalRunDetailsDao) -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the current status from the backend caches, or reconstructs a new instance if missing from the caches.
-
Constructor Details
-
DefaultScheduledJobStatusManager
public DefaultScheduledJobStatusManager(ScheduledJobDao scheduledJobDAO, com.atlassian.scheduler.SchedulerService schedulerService, InternalRunDetailsDao internalRunDetailsDao) - Parameters:
scheduledJobDAO
- the ScheduledJobDAO beanschedulerService
- the SchedulerService beaninternalRunDetailsDao
- the InternalRunDetailsDao bean- Since:
- 8.0.0
-
-
Method Details
-
getScheduledJobStatus
Description copied from interface:ScheduledJobStatusManager
Retrieves the current status from the backend caches, or reconstructs a new instance if missing from the caches.- Specified by:
getScheduledJobStatus
in interfaceScheduledJobStatusManager
- Returns:
- the current status of the job, or null if not currently managed.
-