@Transactional public class ApplicationDataSyncMonitorJobRunner extends Object implements com.atlassian.scheduler.JobRunner
Constructor and Description |
---|
ApplicationDataSyncMonitorJobRunner(com.atlassian.beehive.ClusterLockService clusterLockService,
ApplicationManager applicationManager,
com.atlassian.scheduler.SchedulerService schedulerService,
ApplicationLicensingEnabledChecker licensingEnabledChecker,
Clock clock) |
Modifier and Type | Method and Description |
---|---|
static com.atlassian.scheduler.config.JobId |
generateJobIdForApplication(Application application) |
protected long |
getPollingIntervalMillis(Application application) |
com.atlassian.scheduler.JobRunnerResponse |
runJob(com.atlassian.scheduler.JobRunnerRequest request) |
void |
setUp() |
public static final String LOCK_NAME
public ApplicationDataSyncMonitorJobRunner(com.atlassian.beehive.ClusterLockService clusterLockService, ApplicationManager applicationManager, com.atlassian.scheduler.SchedulerService schedulerService, ApplicationLicensingEnabledChecker licensingEnabledChecker, Clock clock)
@PostConstruct public void setUp()
@Nullable public com.atlassian.scheduler.JobRunnerResponse runJob(com.atlassian.scheduler.JobRunnerRequest request)
runJob
in interface com.atlassian.scheduler.JobRunner
public static com.atlassian.scheduler.config.JobId generateJobIdForApplication(Application application)
protected long getPollingIntervalMillis(Application application)
Copyright © 2021 Atlassian. All rights reserved.