public class MarshallerMetricsAnalyticsEventPublisher extends Object implements RenderingEventPublisher
RenderingEventPublisher
which should be invoked whenever a rendering process is completed.
This class takes care of publishing analytics events containing performance metrics gathered during the rendering.Constructor and Description |
---|
MarshallerMetricsAnalyticsEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher) |
Modifier and Type | Method and Description |
---|---|
void |
publish(Object src,
ConversionContext context)
Processes the ConversionContext to publish relevant events.
|
void |
registerCallbacks()
Registers a known set of metrics types
|
public MarshallerMetricsAnalyticsEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher)
@PostConstruct public void registerCallbacks()
public void publish(Object src, ConversionContext context)
RenderingEventPublisher
publish
in interface RenderingEventPublisher
Copyright © 2003–2016 Atlassian. All rights reserved.