![JAR search and dependency download from the Maven repository](/logo.png)
com.google.common.util.concurrent.AggregateFuture.class Maven / Gradle / Ivy
???? 4F
?
C ?
? ? ? A ? A ? A ?
C ? D ?
A ?
A ?
A ?
? g ? g ? ? ? ?
? ?
?
?
?
C ?
? ?
?
A ? ? ?
? ? ? ?
A ?
A ?
A ?
A ? ? ? ? A ?
@ ? ? ?
? ?
A ? ?
? ?
A ? ?
0 ?
A ?
A ? ?
? ?
A ? ?
A ?
A ? D ? ? ?
- ?
A ? ?
A ? ? ?
@ ? ? ? ReleaseResourcesReason InnerClasses logger .Lcom/google/common/util/concurrent/LazyLogger; futures /Lcom/google/common/collect/ImmutableCollection; Signature qLcom/google/common/collect/ImmutableCollection<+Lcom/google/common/util/concurrent/ListenableFuture<+TInputT;>;>; RuntimeVisibleAnnotations Ljavax/annotation/CheckForNull; 7Lcom/google/errorprone/annotations/concurrent/LazyInit; allMustSucceed Z collectsValues 4(Lcom/google/common/collect/ImmutableCollection;ZZ)V Code LineNumberTable LocalVariableTable this 3Lcom/google/common/util/concurrent/AggregateFuture; LocalVariableTypeTable FLcom/google/common/util/concurrent/AggregateFuture; MethodParameters v(Lcom/google/common/collect/ImmutableCollection<+Lcom/google/common/util/concurrent/ListenableFuture<+TInputT;>;>;ZZ)V afterDone ()V future Ljava/util/concurrent/Future; wasInterrupted localFutures Ljava/util/concurrent/Future<*>; RLcom/google/common/collect/ImmutableCollection<+Ljava/util/concurrent/Future<*>;>;
StackMapTable ? pendingToString ()Ljava/lang/String; init index I 4Lcom/google/common/util/concurrent/ListenableFuture; i listener Ljava/lang/Runnable; ?Lcom/google/common/util/concurrent/ListenableFuture<+TInputT;>; ZLcom/google/common/collect/ImmutableCollection<+Ljava/util/concurrent/Future<+TInputT;>;>; ? handleException (Ljava/lang/Throwable;)V firstTimeSeeingThisException completedWithFailure throwable Ljava/lang/Throwable; log message Ljava/lang/String; ? addInitialException (Ljava/util/Set;)V seen Ljava/util/Set; &Ljava/util/Set; )(Ljava/util/Set;)V "collectValueFromNonCancelledFuture !(ILjava/util/concurrent/Future;)V e )Ljava/util/concurrent/ExecutionException; t (Ljava/util/concurrent/Future<+TInputT;>; ,(ILjava/util/concurrent/Future<+TInputT;>;)V decrementCountAndMaybeComplete 2(Lcom/google/common/collect/ImmutableCollection;)V "futuresIfNeedToCollectAtCompletion newRemaining ](Lcom/google/common/collect/ImmutableCollection<+Ljava/util/concurrent/Future<+TInputT;>;>;)V "RuntimeVisibleParameterAnnotations processCompleted releaseResources M(Lcom/google/common/util/concurrent/AggregateFuture$ReleaseResourcesReason;)V reason JLcom/google/common/util/concurrent/AggregateFuture$ReleaseResourcesReason; RuntimeInvisibleAnnotations /Lcom/google/errorprone/annotations/ForOverride; DLcom/google/errorprone/annotations/OverridingMethodsMustInvokeSuper; collectOneValue (ILjava/lang/Object;)V returnValue (ITInputT;)V 6Lcom/google/common/util/concurrent/ParametricNullness; handleAllCompleted addCausalChain '(Ljava/util/Set;Ljava/lang/Throwable;)Z
firstTimeSeen param >(Ljava/util/Set;Ljava/lang/Throwable;)Z
lambda$init$1
lambda$init$0 8(Lcom/google/common/util/concurrent/ListenableFuture;I)V xLcom/google/common/util/concurrent/AggregateFutureState;
SourceFile AggregateFuture.java CLcom/google/common/util/concurrent/ElementTypesAreNonnullByDefault; -Lcom/google/common/annotations/GwtCompatible; RuntimeVisibleTypeAnnotations 5Lorg/checkerframework/checker/nullness/qual/Nullable; ? ? S -com/google/common/collect/ImmutableCollection I J P Q R Q ^ _ ? ? ? b
java/util/concurrent/Future
java/lang/StringBuilder S _ futures= i h i ? _ 2com/google/common/util/concurrent/ListenableFuture BootstrapMethods _ !"# ? ? z u java/lang/Error Input Future failed with Error HGot more than one input Future failure. Logging failures after the first G H$%&'() z*+, java/lang/Throwable-./ ? ? 'java/util/concurrent/ExecutionException0, t u1 ? Less than 0 remaining futures23 ? ? ? ?4 _5 ?678 ? ? ,com/google/common/util/concurrent/LazyLogger 1com/google/common/util/concurrent/AggregateFuture S9 6com/google/common/util/concurrent/AggregateFutureState Hcom/google/common/util/concurrent/AggregateFuture$ReleaseResourcesReason java/util/Iterator java/lang/Runnable java/lang/String size ()I (I)V $com/google/common/base/Preconditions checkNotNull &(Ljava/lang/Object;)Ljava/lang/Object; OUTPUT_FUTURE_DONE isCancelled ()Z iterator 2()Lcom/google/common/collect/UnmodifiableIterator; hasNext next ()Ljava/lang/Object; cancel (Z)Z append -(Ljava/lang/String;)Ljava/lang/StringBuilder; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; toString java/util/Objects requireNonNull isEmpty
:;
A< run ~(Lcom/google/common/util/concurrent/AggregateFuture;Lcom/google/common/util/concurrent/ListenableFuture;I)Ljava/lang/Runnable; /com/google/common/util/concurrent/MoreExecutors directExecutor !()Ljava/util/concurrent/Executor; addListener 6(Ljava/lang/Runnable;Ljava/util/concurrent/Executor;)V
A= x(Lcom/google/common/util/concurrent/AggregateFuture;Lcom/google/common/collect/ImmutableCollection;)Ljava/lang/Runnable; setException (Ljava/lang/Throwable;)Z getOrInitSeenExceptions ()Ljava/util/Set; get ()Ljava/util/logging/Logger; java/util/logging/Level SEVERE Ljava/util/logging/Level; java/util/logging/Logger C(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V tryInternalFastPathGetFailure ()Ljava/lang/Throwable; )com/google/common/util/concurrent/Futures getDone 1(Ljava/util/concurrent/Future;)Ljava/lang/Object; getCause decrementRemainingAndGet
checkState (ZLjava/lang/Object;)V clearSeenExceptions ALL_INPUT_FUTURES_PROCESSED
java/util/Set add (Ljava/lang/Object;)Z (Ljava/lang/Class;)V>?B ? ? ? ? "java/lang/invoke/LambdaMetafactory metafactoryD Lookup ?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;E %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles A C G H I J K L M
N O P Q R Q S T U ? *+? ? *+? ? ? *? *? ? V E F G H I W * X Y I J P Q R Q Z X [ I L \
I P R K ] ^ _ U L*? *? L*? ?
*? +? ? ~? -*? =+?
N-? ? -? ? :? W??? V &