Skip navigation links
A B C D E F G H I L M N P R S T V 

A

addCallbackTo(ListenableFuture<T>) - Method in class dagger.producers.monitoring.ProducerMonitor
Adds this monitor's completion methods as a callback to the future.

B

Binds - Annotation Type in dagger
Annotates abstract methods of a Module that delegate bindings.
BindsOptionalOf - Annotation Type in dagger
Annotates methods that declare bindings for com.google.common.base.Optional containers of values from bindings that may or may not be present in the component.

C

ClassKey - Annotation Type in dagger.multibindings
A MapKey annotation for maps with Class<?> keys.
Component - Annotation Type in dagger
Annotates an interface or abstract class for which a fully-formed, dependency-injected implementation is to be generated from a set of Component.modules().
Component.Builder - Annotation Type in dagger
A builder for a component.
create(Class<?>) - Static method in class dagger.producers.monitoring.ProducerToken
Creates a token for a class token that represents the generated factory for a producer method.
create(String) - Static method in class dagger.producers.monitoring.ProducerToken
Creates a token for a producer method.
create(Object) - Method in class dagger.producers.monitoring.ProductionComponentMonitor.Factory
Creates a component-specific monitor when the component is created.
create(Object) - Method in interface dagger.producers.monitoring.ProductionComponentTimingRecorder.Factory
Creates a component-specific timing recorder when the component is created.
create(Object) - Method in class dagger.producers.monitoring.TimingProductionComponentMonitor.Factory
 

D

dagger - package dagger
This package contains the public API for the Dagger 2 dependency injection framework.
dagger.multibindings - package dagger.multibindings
This package contains the API by which Dagger allows you to bind several objects into a collection that can be injected without depending directly on each of the individual bindings.
dagger.producers - package dagger.producers
This package contains the public API for Dagger 2's producer functionality.
dagger.producers.monitoring - package dagger.producers.monitoring
This package provides hooks for monitoring producers.
delegatingProductionComponentTimingRecorderFactory(Collection<ProductionComponentTimingRecorder.Factory>) - Static method in class dagger.producers.monitoring.TimingRecorders
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.

E

ElementsIntoSet - Annotation Type in dagger.multibindings
The method's return type is Set<T> and all values are contributed to the set.
equals(Object) - Method in class dagger.producers.monitoring.ProducerToken
Two tokens are equal if they represent the same method.
equals(Object) - Method in class dagger.producers.Produced
Two Produced objects compare equal if both are successful with equal values, or both are failed with equal exceptions.

F

Factory() - Constructor for class dagger.producers.monitoring.ProductionComponentMonitor.Factory
 
Factory(ProductionComponentTimingRecorder.Factory) - Constructor for class dagger.producers.monitoring.TimingProductionComponentMonitor.Factory
 
failed(Throwable) - Method in class dagger.producers.monitoring.ProducerMonitor
Called when the producer's future has failed with an exception.
failed(Throwable) - Static method in class dagger.producers.Produced
Returns a failed Produced, whose Produced.get() will throw an ExecutionException with the given cause.

G

get() - Method in interface dagger.Lazy
Return the underlying value, computing the value if necessary.
get() - Method in class dagger.producers.Produced
Returns the result of a production.
get() - Method in interface dagger.producers.Producer
Returns a future representing a running task that produces a value.

H

hashCode() - Method in class dagger.producers.monitoring.ProducerToken
Returns an appropriate hash code to match ProducerToken.equals(Object).
hashCode() - Method in class dagger.producers.Produced
Returns an appropriate hash code to match Produced.equals(Object).

I

injectMembers(T) - Method in interface dagger.MembersInjector
Injects dependencies into the fields and methods of instance.
IntKey - Annotation Type in dagger.multibindings
A MapKey annotation for maps with int keys.
IntoMap - Annotation Type in dagger.multibindings
The method's return type forms the type argument for the value of a Map<K, Provider<V>>, and the combination of the annotated key and the returned value is contributed to the map as a key/value pair.
IntoSet - Annotation Type in dagger.multibindings
The method's return type forms the generic type argument of a Set<T>, and the returned value is contributed to the set.

L

Lazy<T> - Interface in dagger
A handle to a lazily-computed value.
LongKey - Annotation Type in dagger.multibindings
A MapKey annotation for maps with long keys.

M

MapKey - Annotation Type in dagger
Identifies annotation types that are used to associate keys with values returned by provider methods in order to compose a map.
MembersInjector<T> - Interface in dagger
Injects dependencies into the fields and methods on instances of type T.
methodFinished() - Method in class dagger.producers.monitoring.ProducerMonitor
Called when the producer method has finished executing.
methodStarting() - Method in class dagger.producers.monitoring.ProducerMonitor
Called when the producer method is about to start executing.
Module - Annotation Type in dagger
Annotates a class that contributes to the object graph.
Multibindings - Annotation Type in dagger
Annotates interfaces that declare multibindings.
Multibinds - Annotation Type in dagger.multibindings
Annotates abstract module methods that declare multibindings.

N

noOp() - Static method in class dagger.producers.monitoring.ProducerMonitor
Returns a monitor that does no monitoring.
noOp() - Static method in class dagger.producers.monitoring.ProducerTimingRecorder
Returns a producer recorder that does nothing.
noOp() - Static method in class dagger.producers.monitoring.ProductionComponentMonitor.Factory
Returns a factory that returns no-op monitors.
noOp() - Static method in class dagger.producers.monitoring.ProductionComponentMonitor
Returns a monitor that does no monitoring.
noOpProductionComponentTimingRecorder() - Static method in class dagger.producers.monitoring.TimingRecorders
Returns a component recorder that returns no-op producer recorders.
noOpProductionComponentTimingRecorderFactory() - Static method in class dagger.producers.monitoring.TimingRecorders
Returns a recorder factory that returns no-op component recorders.

P

Produced<T> - Class in dagger.producers
An interface that represents the result of a production of type T, or an exception that was thrown during that production.
Producer<T> - Interface in dagger.producers
An interface that represents the production of a type T.
ProducerModule - Annotation Type in dagger.producers
Annotates a class that contributes Produces bindings to the production component.
ProducerMonitor - Class in dagger.producers.monitoring
A hook for monitoring the execution of individual producer methods.
ProducerMonitor() - Constructor for class dagger.producers.monitoring.ProducerMonitor
 
producerMonitorFor(ProducerToken) - Method in class dagger.producers.monitoring.ProductionComponentMonitor
Returns a monitor for an individual producer method.
producerMonitorFor(ProducerToken) - Method in class dagger.producers.monitoring.TimingProductionComponentMonitor
 
ProducerTimingRecorder - Class in dagger.producers.monitoring
A hook for recording the timing of the execution of individual producer methods.
ProducerTimingRecorder() - Constructor for class dagger.producers.monitoring.ProducerTimingRecorder
 
producerTimingRecorderFor(ProducerToken) - Method in interface dagger.producers.monitoring.ProductionComponentTimingRecorder
Returns a timing recorder for an individual producer method.
ProducerToken - Class in dagger.producers.monitoring
A token that represents an individual producer method.
Produces - Annotation Type in dagger.producers
Annotates methods of a producer module to create a production binding.
Produces.Type - Enum in dagger.producers
The type of binding into which the return type of the annotated method contributes.
Production - Annotation Type in dagger.producers
Qualifies a type that will be provided to the framework for use internally.
ProductionComponent - Annotation Type in dagger.producers
Annotates an interface or abstract class for which a fully-formed, dependency-injected implementation is to be generated from a set of modules.
ProductionComponent.Builder - Annotation Type in dagger.producers
A builder for a component.
ProductionComponentMonitor - Class in dagger.producers.monitoring
A hook for monitoring execution of production components.
ProductionComponentMonitor() - Constructor for class dagger.producers.monitoring.ProductionComponentMonitor
 
ProductionComponentMonitor.Factory - Class in dagger.producers.monitoring
 
ProductionComponentTimingRecorder - Interface in dagger.producers.monitoring
A hook for recording timing of the execution of production components.
ProductionComponentTimingRecorder.Factory - Interface in dagger.producers.monitoring
 
ProductionScope - Annotation Type in dagger.producers
A scope annotation for provision bindings that are tied to the lifetime of a ProductionComponent or ProductionSubcomponent.
ProductionSubcomponent - Annotation Type in dagger.producers
A subcomponent that inherits the bindings from a parent Component, Subcomponent, ProductionComponent, or ProductionSubcomponent.
ProductionSubcomponent.Builder - Annotation Type in dagger.producers
A builder for a subcomponent.
Provides - Annotation Type in dagger
Annotates methods of a module to create a provider method binding.
Provides.Type - Enum in dagger
The type of binding into which the return type of the annotated method contributes.

R

recordFailure(Throwable, long) - Method in class dagger.producers.monitoring.ProducerTimingRecorder
Reports that the producer's future has failed with the given statistics.
recordMethod(long, long) - Method in class dagger.producers.monitoring.ProducerTimingRecorder
Reports that the producer method has finished executing with the given statistics.
recordSkip(Throwable) - Method in class dagger.producers.monitoring.ProducerTimingRecorder
Reports that the producer was skipped because one of its inputs failed.
recordSuccess(long) - Method in class dagger.producers.monitoring.ProducerTimingRecorder
Reports that the producer's future has succeeded with the given statistics.
requested() - Method in class dagger.producers.monitoring.ProducerMonitor
Called when the producer's output is requested; that is, when the first method is called that requires the production of this producer's output.
Reusable - Annotation Type in dagger
A scope that indicates that the object returned by a binding may be (but might not be) reused.

S

StringKey - Annotation Type in dagger.multibindings
A MapKey annotation for maps with String keys.
Subcomponent - Annotation Type in dagger
A subcomponent that inherits the bindings from a parent Component or Subcomponent.
Subcomponent.Builder - Annotation Type in dagger
A builder for a subcomponent.
succeeded(Object) - Method in class dagger.producers.monitoring.ProducerMonitor
Called when the producer’s future has completed successfully with a value.
successful(T) - Static method in class dagger.producers.Produced
Returns a successful Produced, whose Produced.get() will return the given value.

T

TimingProductionComponentMonitor - Class in dagger.producers.monitoring
A monitor that measures the timing of the execution of a production component, and logs those timings with the given recorder.
TimingProductionComponentMonitor.Factory - Class in dagger.producers.monitoring
 
TimingRecorders - Class in dagger.producers.monitoring
Utility methods relating to timing.
toString() - Method in class dagger.producers.monitoring.ProducerToken
Returns a representation of the method.

V

valueOf(String) - Static method in enum dagger.producers.Produces.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum dagger.Provides.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum dagger.producers.Produces.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum dagger.Provides.Type
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E F G H I L M N P R S T V 
Skip navigation links

Copyright © 2016 Google, Inc.. All rights reserved.