public class DeferredMarshallerMetricsAnalyticsEventPublisher extends Object implements RenderingEventPublisher
DefaultRenderer,
publishing is deferred until all macros are executed.
Additional benefit of such approach is that all events are published AFTER response is flushed.
| Constructor and Description |
|---|
DeferredMarshallerMetricsAnalyticsEventPublisher(RenderingEventPublisher delegate,
ConfluenceBigPipeManager bigPipeManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
publish(Object src,
ConversionContext conversionContext)
Processes the ConversionContext to publish relevant events.
|
void |
publishDeferred()
Publish all scheduled macro marshalling performance events, if there are any deferred in
publish(Object, com.atlassian.confluence.content.render.xhtml.ConversionContext). |
public DeferredMarshallerMetricsAnalyticsEventPublisher(RenderingEventPublisher delegate, ConfluenceBigPipeManager bigPipeManager)
public void publish(Object src, ConversionContext conversionContext)
RenderingEventPublisherpublish in interface RenderingEventPublisherpublic void publishDeferred()
publish(Object, com.atlassian.confluence.content.render.xhtml.ConversionContext).Copyright © 2003–2018 Atlassian. All rights reserved.