@Beta public final class TimingRecorders extends Object
| Modifier and Type | Method and Description | 
|---|---|
static ProductionComponentTimingRecorder.Factory | 
delegatingProductionComponentTimingRecorderFactory(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 | 
noOpProductionComponentTimingRecorder()
Returns a component recorder that returns no-op producer recorders. 
 | 
static ProductionComponentTimingRecorder.Factory | 
noOpProductionComponentTimingRecorderFactory()
Returns a recorder factory that returns no-op component recorders. 
 | 
public static ProductionComponentTimingRecorder.Factory delegatingProductionComponentTimingRecorderFactory(Collection<ProductionComponentTimingRecorder.Factory> factories)
RuntimeException or
 return null.
 If the delegate recorders throw an Error, then that will escape this recorder
 implementation. Errors are treated as unrecoverable conditions, and may cause the entire
 component's execution to fail.
public static ProductionComponentTimingRecorder.Factory noOpProductionComponentTimingRecorderFactory()
public static ProductionComponentTimingRecorder noOpProductionComponentTimingRecorder()
Copyright © 2012–2017 The Dagger Authors. All rights reserved.