Package dagger.producers.monitoring
Class TimingProductionComponentMonitor
java.lang.Object
dagger.producers.monitoring.ProductionComponentMonitor
dagger.producers.monitoring.TimingProductionComponentMonitor
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>)
.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionproducerMonitorFor
(ProducerToken token) Returns a monitor for an individual producer method.Methods inherited from class dagger.producers.monitoring.ProductionComponentMonitor
noOp
-
Method Details
-
producerMonitorFor
Description copied from class:ProductionComponentMonitor
Returns a monitor for an individual producer method.- Specified by:
producerMonitorFor
in classProductionComponentMonitor
-