Package com.atlassian.crowd.licensing
Class ApplicationDataSyncMonitorJobRunner
java.lang.Object
com.atlassian.crowd.licensing.ApplicationDataSyncMonitorJobRunner
- All Implemented Interfaces:
com.atlassian.scheduler.JobRunner
@Transactional
public class ApplicationDataSyncMonitorJobRunner
extends Object
implements com.atlassian.scheduler.JobRunner
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionApplicationDataSyncMonitorJobRunner
(com.atlassian.beehive.ClusterLockService clusterLockService, ApplicationManager applicationManager, com.atlassian.scheduler.SchedulerService schedulerService, ApplicationLicensingEnabledChecker licensingEnabledChecker, Clock clock) -
Method Summary
Modifier and TypeMethodDescriptionstatic 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()
-
Field Details
-
LOCK_NAME
-
-
Constructor Details
-
ApplicationDataSyncMonitorJobRunner
public ApplicationDataSyncMonitorJobRunner(com.atlassian.beehive.ClusterLockService clusterLockService, ApplicationManager applicationManager, com.atlassian.scheduler.SchedulerService schedulerService, ApplicationLicensingEnabledChecker licensingEnabledChecker, Clock clock)
-
-
Method Details
-
setUp
@PostConstruct public void setUp() -
runJob
@Nullable public com.atlassian.scheduler.JobRunnerResponse runJob(com.atlassian.scheduler.JobRunnerRequest request) - Specified by:
runJob
in interfacecom.atlassian.scheduler.JobRunner
-
generateJobIdForApplication
public static com.atlassian.scheduler.config.JobId generateJobIdForApplication(Application application) -
getPollingIntervalMillis
-