@Named public class PerNodeStatisticsCollectionService extends AbstractStatisticsCollectionService
DEBUG_ANALYTICS_SYSTEM_PROPERTY, eventPublisher, schedulerService| Constructor and Description |
|---|
PerNodeStatisticsCollectionService(com.atlassian.event.api.EventPublisher eventPublisher,
com.atlassian.scheduler.SchedulerService schedulerService,
NodeIdProvider nodeIdProvider,
TrackingCompatibilityModeResponseHandler conditionlessResponseHandler) |
| Modifier and Type | Method and Description |
|---|---|
protected com.atlassian.scheduler.config.JobId |
getJobId() |
protected com.atlassian.scheduler.config.JobRunnerKey |
getJobRunnerKey() |
protected @NotNull com.atlassian.scheduler.config.RunMode |
getRunMode() |
void |
onUserProvisionedEvent(UserProvisionedEvent event) |
void |
register() |
com.atlassian.scheduler.JobRunnerResponse |
runJob(com.atlassian.scheduler.JobRunnerRequest request) |
void |
unregister() |
tryPublish@Inject
public PerNodeStatisticsCollectionService(com.atlassian.event.api.EventPublisher eventPublisher,
com.atlassian.scheduler.SchedulerService schedulerService,
NodeIdProvider nodeIdProvider,
TrackingCompatibilityModeResponseHandler conditionlessResponseHandler)
@PostConstruct public void register() throws com.atlassian.scheduler.SchedulerServiceException
register in class AbstractStatisticsCollectionServicecom.atlassian.scheduler.SchedulerServiceException@PreDestroy public void unregister()
unregister in class AbstractStatisticsCollectionService@NotNull protected @NotNull com.atlassian.scheduler.config.RunMode getRunMode()
getRunMode in class AbstractStatisticsCollectionServiceprotected com.atlassian.scheduler.config.JobId getJobId()
getJobId in class AbstractStatisticsCollectionServiceprotected com.atlassian.scheduler.config.JobRunnerKey getJobRunnerKey()
getJobRunnerKey in class AbstractStatisticsCollectionService@EventListener public void onUserProvisionedEvent(UserProvisionedEvent event)
public com.atlassian.scheduler.JobRunnerResponse runJob(com.atlassian.scheduler.JobRunnerRequest request)
Copyright © 2023 Atlassian. All rights reserved.