@Named public class AnalyticsEventListener extends Object implements org.springframework.beans.factory.DisposableBean
We don't use the default implementation (DefaultAnalyticsEventListener) to avoid the non-trivial overhead we observed when publishing thousand of events during synchronizations.
| Constructor and Description |
|---|
AnalyticsEventListener(com.atlassian.event.api.EventPublisher eventPublisher,
com.atlassian.analytics.api.listener.ProductAnalyticsEventListener productEventListener) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
void |
onCrowdAnalyticsEvent(CrowdAnalyticsEvent event) |
void |
onStart() |
@Inject
public AnalyticsEventListener(com.atlassian.event.api.EventPublisher eventPublisher,
com.atlassian.analytics.api.listener.ProductAnalyticsEventListener productEventListener)
@PostConstruct public void onStart()
@EventListener public void onCrowdAnalyticsEvent(CrowdAnalyticsEvent event)
@PreDestroy public void destroy() throws Exception
destroy in interface org.springframework.beans.factory.DisposableBeanExceptionCopyright © 2018 Atlassian. All rights reserved.