Class TimingProductionComponentMonitor

java.lang.Object
dagger.producers.monitoring.ProductionComponentMonitor
dagger.producers.monitoring.TimingProductionComponentMonitor

@Beta public final class TimingProductionComponentMonitor extends ProductionComponentMonitor
A monitor that measures the timing of the execution of a production component, and logs those timings with the given recorder.

This assumes that the given recorders do not throw or return null; for example, by using TimingRecorders.delegatingProductionComponentTimingRecorderFactory(java.util.Collection<dagger.producers.monitoring.ProductionComponentTimingRecorder.Factory>).