HomeSort by relevance Sort by last modified time
    Searched refs:Monitors (Results 1 - 11 of 11) sorted by null

  /external/dagger2/producers/src/main/java/dagger/producers/monitoring/internal/
MonitorCache.java 50 Monitors.delegatingProductionComponentMonitorFactory(
55 result = monitor = Monitors.noOpProductionComponentMonitor();
Monitors.java 34 public final class Monitors {
35 private static final Logger logger = Logger.getLogger(Monitors.class.getName());
42 * <p>If the delegate monitors throw an {@link Error}, then that will escape this monitor
151 * A component monitor that delegates to several monitors, and catches and logs all exceptions
175 ImmutableList<ProducerMonitor> monitors = monitorsBuilder.build(); local
176 if (monitors.isEmpty()) {
178 } else if (monitors.size() == 1) {
179 return new NonThrowingProducerMonitor(Iterables.getOnlyElement(monitors));
181 return new DelegatingProducerMonitor(monitors);
205 ImmutableList<ProductionComponentMonitor> monitors = monitorsBuilder.build() local
    [all...]
  /external/dagger2/producers/src/test/java/dagger/producers/monitoring/internal/
MonitorsTest.java 60 Monitors.delegatingProductionComponentMonitorFactory(
62 assertThat(factory).isSameAs(Monitors.noOpProductionComponentMonitorFactory());
69 Monitors.delegatingProductionComponentMonitorFactory(
71 assertThat(factory.create(new Object())).isSameAs(Monitors.noOpProductionComponentMonitor());
80 Monitors.delegatingProductionComponentMonitorFactory(
82 assertThat(factory.create(new Object())).isSameAs(Monitors.noOpProductionComponentMonitor());
92 Monitors.delegatingProductionComponentMonitorFactory(
96 .isSameAs(Monitors.noOpProducerMonitor());
107 Monitors.delegatingProductionComponentMonitorFactory(
111 .isSameAs(Monitors.noOpProducerMonitor())
    [all...]
  /external/dagger2/producers/src/main/java/dagger/producers/internal/
AbstractProducer.java 23 import dagger.producers.monitoring.internal.Monitors;
42 this(Monitors.noOpProductionComponentMonitorProvider(), null);