public class

DefaultScheduledJobStatusManager

extends Object
implements ScheduleJobStatusManager
java.lang.Object
   ↳ com.atlassian.confluence.schedule.managers.DefaultScheduledJobStatusManager

Class Overview

Default implementation. Constructs new instance of ScheduleJobStatus, if not provided by the DAO, if configuration exists.

Summary

Public Constructors
DefaultScheduledJobStatusManager(ScheduledJobDao scheduledJobDAO, Scheduler scheduler)
Public Methods
ScheduledJobStatus getScheduledJobStatus(ManagedScheduledJob job)
Retrieves the current status from the backend caches, or reconstructs a new instance if missing from the caches.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.confluence.schedule.managers.ScheduleJobStatusManager

Public Constructors

public DefaultScheduledJobStatusManager (ScheduledJobDao scheduledJobDAO, Scheduler scheduler)

Public Methods

public ScheduledJobStatus getScheduledJobStatus (ManagedScheduledJob job)

Retrieves the current status from the backend caches, or reconstructs a new instance if missing from the caches.

Returns
  • the current status of the job, or null if not currently managed.