Class MarshallerMetricsAnalyticsEventPublisher
- java.lang.Object
-
- com.atlassian.confluence.impl.content.render.xhtml.analytics.MarshallerMetricsAnalyticsEventPublisher
-
- All Implemented Interfaces:
RenderingEventPublisher
public class MarshallerMetricsAnalyticsEventPublisher extends Object implements RenderingEventPublisher
ARenderingEventPublisher
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.- Since:
- 5.8
-
-
Constructor Summary
Constructors Constructor Description MarshallerMetricsAnalyticsEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
publish(Object src, ConversionContext context)
Processes the ConversionContext to publish relevant events.void
registerCallbacks()
Registers a known set of metrics types
-
-
-
Method Detail
-
registerCallbacks
@PostConstruct public void registerCallbacks()
Registers a known set of metrics types
-
publish
public void publish(Object src, ConversionContext context)
Description copied from interface:RenderingEventPublisher
Processes the ConversionContext to publish relevant events.- Specified by:
publish
in interfaceRenderingEventPublisher
-
-