Package | Description |
---|---|
dagger.producers.monitoring |
This package provides hooks for monitoring producers.
|
Modifier and Type | Method and Description |
---|---|
static ProductionComponentTimingRecorder.Factory |
TimingRecorders.delegatingProductionComponentTimingRecorderFactory(java.util.Collection<ProductionComponentTimingRecorder.Factory> factories)
Returns a timing recorder factory that delegates to the given factories, and ensures that any
method called on this object, even transitively, does not throw a
RuntimeException or
return null. |
static ProductionComponentTimingRecorder.Factory |
TimingRecorders.noOpProductionComponentTimingRecorderFactory()
Returns a recorder factory that returns no-op component recorders.
|
Modifier and Type | Method and Description |
---|---|
static ProductionComponentTimingRecorder.Factory |
TimingRecorders.delegatingProductionComponentTimingRecorderFactory(java.util.Collection<ProductionComponentTimingRecorder.Factory> factories)
Returns a timing recorder factory that delegates to the given factories, and ensures that any
method called on this object, even transitively, does not throw a
RuntimeException or
return null. |
Constructor and Description |
---|
Factory(ProductionComponentTimingRecorder.Factory recorderFactory) |