public class DirectoryMonitorRefresherJob extends Object implements com.atlassian.scheduler.JobRunner
Modifier and Type | Field and Description |
---|---|
static com.atlassian.scheduler.config.JobRunnerKey |
JOB_RUNNER_KEY |
Constructor and Description |
---|
DirectoryMonitorRefresherJob(com.atlassian.scheduler.SchedulerService schedulerService,
DirectoryInstanceLoader directoryInstanceLoader,
DirectoryManager directoryManager,
com.atlassian.beehive.ClusterLockService clusterLockService,
Clock clock,
LicenseService licenseService) |
Modifier and Type | Method and Description |
---|---|
void |
registerJobRunner() |
com.atlassian.scheduler.JobRunnerResponse |
runJob(com.atlassian.scheduler.JobRunnerRequest request) |
void |
unregisterJobRunner() |
public static final com.atlassian.scheduler.config.JobRunnerKey JOB_RUNNER_KEY
public DirectoryMonitorRefresherJob(com.atlassian.scheduler.SchedulerService schedulerService, DirectoryInstanceLoader directoryInstanceLoader, DirectoryManager directoryManager, com.atlassian.beehive.ClusterLockService clusterLockService, Clock clock, LicenseService licenseService)
@PostConstruct public void registerJobRunner()
@PreDestroy public void unregisterJobRunner()
public com.atlassian.scheduler.JobRunnerResponse runJob(com.atlassian.scheduler.JobRunnerRequest request)
runJob
in interface com.atlassian.scheduler.JobRunner
Copyright © 2021 Atlassian. All rights reserved.