public interface ProductionComponentTimingRecorder
ProductionComponentTimingRecorder
, contribute to a set binding of
ProductionComponentTimingRecorder.Factory
, and include the TimingMonitorModule
to
the component. The factory will be asked to create one timing recorder for the component, and the
resulting instance will be used to create individual timing recorders for producers.
If any of these methods throw, then the exception will be logged, and the framework will act as though a no-op timing recorder was returned.
Modifier and Type | Interface and Description |
---|---|
static interface |
ProductionComponentTimingRecorder.Factory |
Modifier and Type | Method and Description |
---|---|
ProducerTimingRecorder |
producerTimingRecorderFor(ProducerToken token)
Returns a timing recorder for an individual producer method.
|
ProducerTimingRecorder producerTimingRecorderFor(ProducerToken token)
Copyright © 2012–2017 The Dagger Authors. All rights reserved.