Package com.atlassian.jira.scheduler
Class JiraCaesiumSchedulerService
java.lang.Object
com.atlassian.scheduler.core.AbstractSchedulerService
com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService
com.atlassian.jira.scheduler.JiraCaesiumSchedulerService
- All Implemented Interfaces:
com.atlassian.scheduler.core.LifecycleAwareSchedulerService,com.atlassian.scheduler.core.SchedulerServiceController,com.atlassian.scheduler.SchedulerService
public class JiraCaesiumSchedulerService
extends com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService
Wraps the scheduler service so that lifecycle events are passed on to our RunDetailsDao.
- Since:
- v7.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.scheduler.core.LifecycleAwareSchedulerService
com.atlassian.scheduler.core.LifecycleAwareSchedulerService.State -
Field Summary
Fields inherited from class com.atlassian.scheduler.core.AbstractSchedulerService
BY_JOB_ID -
Constructor Summary
ConstructorsConstructorDescriptionJiraCaesiumSchedulerService(com.atlassian.scheduler.core.spi.RunDetailsDao runDetailsDao, com.atlassian.scheduler.caesium.spi.CaesiumSchedulerConfiguration config, com.atlassian.scheduler.caesium.spi.ClusteredJobDao clusteredJobDao, JiraParameterMapSerializer jiraParameterMapSerializer, JiraAuthenticationContext authenticationContext) -
Method Summary
Methods inherited from class com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService
calculateNextRunTime, createParameterMapSerializer, enqueueJob, executeQueuedJob, getJobDetails, getJobRunnerKeysForAllScheduledJobs, getJobsByJobRunnerKey, getPendingJobs, refreshClusteredJob, refreshClusteredJobs, scheduleJob, unscheduleJobMethods inherited from class com.atlassian.scheduler.core.AbstractSchedulerService
addRunDetails, checked, getJobRunner, getLocallyRunningJobs, getParameterMapSerializer, getRegisteredJobRunnerKeys, getState, registerJobRunner, scheduleJobWithGeneratedId, shutdown, standby, start, unregisterJobRunner, waitUntilIdleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.scheduler.SchedulerService
calculateNextRunTime, getJobsByJobRunnerKeys
-
Constructor Details
-
JiraCaesiumSchedulerService
public JiraCaesiumSchedulerService(com.atlassian.scheduler.core.spi.RunDetailsDao runDetailsDao, com.atlassian.scheduler.caesium.spi.CaesiumSchedulerConfiguration config, com.atlassian.scheduler.caesium.spi.ClusteredJobDao clusteredJobDao, JiraParameterMapSerializer jiraParameterMapSerializer, JiraAuthenticationContext authenticationContext) throws com.atlassian.scheduler.SchedulerServiceException - Throws:
com.atlassian.scheduler.SchedulerServiceException
-
-
Method Details
-
startImpl
protected void startImpl() throws com.atlassian.scheduler.SchedulerServiceException- Overrides:
startImplin classcom.atlassian.scheduler.caesium.impl.CaesiumSchedulerService- Throws:
com.atlassian.scheduler.SchedulerServiceException
-
standbyImpl
protected void standbyImpl() throws com.atlassian.scheduler.SchedulerServiceException- Overrides:
standbyImplin classcom.atlassian.scheduler.caesium.impl.CaesiumSchedulerService- Throws:
com.atlassian.scheduler.SchedulerServiceException
-
shutdownImpl
protected void shutdownImpl()- Overrides:
shutdownImplin classcom.atlassian.scheduler.caesium.impl.CaesiumSchedulerService
-
preJob
public void preJob()- Overrides:
preJobin classcom.atlassian.scheduler.core.AbstractSchedulerService
-
postJob
public void postJob()- Overrides:
postJobin classcom.atlassian.scheduler.core.AbstractSchedulerService
-