Interface MarshallerMetricsConsumer

All Superinterfaces:
Consumer<MarshallerMetrics>

public interface MarshallerMetricsConsumer extends Consumer<MarshallerMetrics>
Consumes 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.

Since:
5.8.6
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     

    Methods inherited from interface java.util.function.Consumer

    andThen