@Named public class StatisticsCollectionScheduler extends Object implements com.atlassian.scheduler.JobRunner
| Constructor and Description |
|---|
StatisticsCollectionScheduler(com.atlassian.scheduler.SchedulerService schedulerService,
com.atlassian.analytics.api.services.AnalyticsConfigService analyticsConfigService,
com.atlassian.event.api.EventPublisher eventPublisher,
List<StatisticsCollector<?>> collectors) |
| Modifier and Type | Method and Description |
|---|---|
void |
onApplicationReady(ApplicationReadyEvent applicationStartedEvent) |
void |
onCreate() |
void |
onDestroy() |
void |
onXMLRestore(XMLRestoreFinishedEvent restoreFinishedEvent) |
com.atlassian.scheduler.JobRunnerResponse |
runJob(com.atlassian.scheduler.JobRunnerRequest request) |
@Inject
public StatisticsCollectionScheduler(com.atlassian.scheduler.SchedulerService schedulerService,
com.atlassian.analytics.api.services.AnalyticsConfigService analyticsConfigService,
com.atlassian.event.api.EventPublisher eventPublisher,
List<StatisticsCollector<?>> collectors)
@PostConstruct public void onCreate() throws com.atlassian.scheduler.SchedulerServiceException
com.atlassian.scheduler.SchedulerServiceException@PreDestroy public void onDestroy()
@EventListener public void onApplicationReady(ApplicationReadyEvent applicationStartedEvent) throws com.atlassian.scheduler.SchedulerServiceException
com.atlassian.scheduler.SchedulerServiceException@EventListener public void onXMLRestore(XMLRestoreFinishedEvent restoreFinishedEvent) throws com.atlassian.scheduler.SchedulerServiceException
com.atlassian.scheduler.SchedulerServiceExceptionpublic com.atlassian.scheduler.JobRunnerResponse runJob(com.atlassian.scheduler.JobRunnerRequest request)
runJob in interface com.atlassian.scheduler.JobRunnerCopyright © 2022 Atlassian. All rights reserved.