public interface MarshallerMetricsConsumer extends Consumer<MarshallerMetrics>
MarshallerMetrics
as they are published.
A MarshallerMetricsConsumer is expected to only care about metrics gathered in a particular render context, so it makes sense to not use an event listener. The consumer will receive all metrics from that context (e.g. all table cells rendered in a Page Properties Report macro) and have the ability to aggregate, log and publish them as it sees fit.
Modifier and Type | Method and Description |
---|---|
void |
accept(MarshallerMetrics snapshot) |
void accept(MarshallerMetrics snapshot)
accept
in interface Consumer<MarshallerMetrics>
Copyright © 2003–2017 Atlassian. All rights reserved.