Searched refs:CancellableProducer (Results 1 – 7 of 7) sorted by relevance
169 if (producer instanceof CancellableProducer) {170 return ((CancellableProducer<T>) producer).newDependencyView();187 if (producer instanceof CancellableProducer) {188 return ((CancellableProducer<T>) producer).newEntryPointView(cancellationListener);202 if (producer instanceof CancellableProducer) {203 ((CancellableProducer<?>) producer).cancel(mayInterruptIfRunning);221 private abstract static class CompletedProducer<T> implements CancellableProducer<T> {
30 public final class DelegateProducer<T> implements CancellableProducer<T> {31 private CancellableProducer<T> delegate;57 asDelegateProducer.delegate = (CancellableProducer<T>) delegate; in setDelegate()65 CancellableProducer<T> getDelegate() { in getDelegate()
22 public interface CancellableProducer<T> extends Producer<T> { interface
38 public abstract class DependencyMethodProducer<T> implements CancellableProducer<T> {
27 public abstract class AbstractProducer<T> implements CancellableProducer<T> {
30 import dagger.producers.internal.CancellableProducer;92 CancellableProducer<Integer> intProducer = producerOfFuture(intFuture); in singleArgMethod()108 CancellableProducer<SettableFuture<String>> strFutureProducer = in successMonitor()137 CancellableProducer<SettableFuture<String>> strFutureProducer = in failureMonitor()195 private static <T> CancellableProducer<T> producerOfFuture(final ListenableFuture<T> future) { in producerOfFuture()
22 import dagger.producers.internal.CancellableProducer;39 private static final class ImmediateProducer<T> implements CancellableProducer<T> {