| Package | Description |
|---|---|
| dagger.producers.monitoring |
This package provides hooks for monitoring producers.
|
| dagger.producers.monitoring.internal |
| Modifier and Type | Class and Description |
|---|---|
static class |
TimingProductionComponentMonitor.Factory |
| Modifier and Type | Method and Description |
|---|---|
static ProductionComponentMonitor.Factory |
ProductionComponentMonitor.Factory.noOp()
Returns a factory that returns no-op monitors.
|
| Modifier and Type | Method and Description |
|---|---|
static ProductionComponentMonitor.Factory |
Monitors.delegatingProductionComponentMonitorFactory(Collection<? extends ProductionComponentMonitor.Factory> factories)
Returns a monitor 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. |
| 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.
|
static ProductionComponentMonitor.Factory |
Monitors.delegatingProductionComponentMonitorFactory(Collection<? extends ProductionComponentMonitor.Factory> factories)
Returns a monitor 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. |
Copyright © 2016 Google, Inc.. All Rights Reserved.