Interface MarshallerMetricsConsumer
-
- All Superinterfaces:
Consumer<MarshallerMetrics>
public interface MarshallerMetricsConsumer extends Consumer<MarshallerMetrics>
ConsumesMarshallerMetrics
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.
- Since:
- 5.8.6
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
accept(MarshallerMetrics snapshot)
-
-
-
Method Detail
-
accept
void accept(MarshallerMetrics snapshot)
- Specified by:
accept
in interfaceConsumer<MarshallerMetrics>
-
-