| Package | Description |
|---|---|
| dagger.producers.internal | |
| dagger.producers.monitoring |
This package provides hooks for monitoring producers.
|
| dagger.producers.monitoring.internal |
| Constructor and Description |
|---|
AbstractProducer(javax.inject.Provider<ProductionComponentMonitor> monitorProvider,
ProducerToken token) |
| Modifier and Type | Class and Description |
|---|---|
class |
TimingProductionComponentMonitor
A monitor that measures the timing of the execution of a production component, and logs those
timings with the given recorder.
|
| Modifier and Type | Method and Description |
|---|---|
ProductionComponentMonitor |
TimingProductionComponentMonitor.Factory.create(Object component) |
abstract ProductionComponentMonitor |
ProductionComponentMonitor.Factory.create(Object component)
Creates a component-specific monitor when the component is created.
|
static ProductionComponentMonitor |
ProductionComponentMonitor.noOp()
Returns a monitor that does no monitoring.
|
| Modifier and Type | Method and Description |
|---|---|
static ProductionComponentMonitor |
Monitors.createMonitorForComponent(javax.inject.Provider<?> componentProvider,
javax.inject.Provider<Set<ProductionComponentMonitor.Factory>> monitorFactorySetProvider)
Creates a new monitor for the given component, from a set of monitor factories.
|
| Modifier and Type | Method and Description |
|---|---|
static javax.inject.Provider<ProductionComponentMonitor> |
Monitors.noOpProductionComponentMonitorProvider()
Returns a provider of a no-op component monitor.
|
Copyright © 2016 Google, Inc.. All Rights Reserved.