![JAR search and dependency download from the Maven repository](/logo.png)
com.google.common.util.concurrent.AggregateFuture.class Maven / Gradle / Ivy
???? 4N
-com/google/common/collect/ImmutableCollection size ()I
6com/google/common/util/concurrent/AggregateFutureState (I)V
$com/google/common/base/Preconditions checkNotNull &(Ljava/lang/Object;)Ljava/lang/Object; 1com/google/common/util/concurrent/AggregateFuture futures /Lcom/google/common/collect/ImmutableCollection; allMustSucceed Z collectsValues
! " # afterDone ()V % & ' ( ) Hcom/google/common/util/concurrent/AggregateFuture$ReleaseResourcesReason OUTPUT_FUTURE_DONE JLcom/google/common/util/concurrent/AggregateFuture$ReleaseResourcesReason;
+ , - releaseResources M(Lcom/google/common/util/concurrent/AggregateFuture$ReleaseResourcesReason;)V
/ 0 1 isCancelled ()Z
3 4 1 wasInterrupted
6 7 8 iterator 2()Lcom/google/common/collect/UnmodifiableIterator; : ; < = 1 java/util/Iterator hasNext : ? @ A next ()Ljava/lang/Object; C java/util/concurrent/Future B E F G cancel (Z)Z I java/lang/StringBuilder
H K # M futures=
H O P Q append -(Ljava/lang/String;)Ljava/lang/StringBuilder;
H S P T -(Ljava/lang/Object;)Ljava/lang/StringBuilder;
H V W X toString ()Ljava/lang/String;
Z [ X pendingToString
] ^ _ ` java/util/Objects requireNonNull
b c 1 isEmpty
e f # handleAllCompleted h 2com/google/common/util/concurrent/ListenableFuture g j k 1 isDone
m n o processAllMustSucceedDoneFuture 8(ILcom/google/common/util/concurrent/ListenableFuture;)V q r s run ~(Lcom/google/common/util/concurrent/AggregateFuture;ILcom/google/common/util/concurrent/ListenableFuture;)Ljava/lang/Runnable;
u v w x y /com/google/common/util/concurrent/MoreExecutors directExecutor !()Ljava/util/concurrent/Executor; g { | } addListener 6(Ljava/lang/Runnable;Ljava/util/concurrent/Executor;)V r ? x(Lcom/google/common/util/concurrent/AggregateFuture;Lcom/google/common/collect/ImmutableCollection;)Ljava/lang/Runnable;
? ? ? decrementCountAndMaybeComplete 2(Lcom/google/common/collect/ImmutableCollection;)V g /
E
? ? ? "collectValueFromNonCancelledFuture !(ILjava/util/concurrent/Future;)V
? ? ? setException (Ljava/lang/Throwable;)Z
? ? ? getOrInitSeenExceptions ()Ljava/util/Set;
? ? ? addCausalChain '(Ljava/util/Set;Ljava/lang/Throwable;)Z
? ? ? log (Ljava/lang/Throwable;)V ? java/lang/Error ? Input Future failed with Error ? HGot more than one input Future failure. Logging failures after the first ? ? ? logger .Lcom/google/common/util/concurrent/LazyLogger;
? ? ? ? ? ,com/google/common/util/concurrent/LazyLogger 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; ? java/lang/Throwable
? ? ? ? ? 2com/google/common/util/concurrent/Uninterruptibles getUninterruptibly 1(Ljava/util/concurrent/Future;)Ljava/lang/Object;
? ? ? collectOneValue (ILjava/lang/Object;)V ? 'java/util/concurrent/ExecutionException
? ? ? ? getCause
? ? ? handleException
? ? decrementRemainingAndGet ? Less than 0 remaining futures
? ? ?
checkState (ZLjava/lang/Object;)V
? ? ? processCompleted B /
? ? # clearSeenExceptions % ? ? ) ALL_INPUT_FUTURES_PROCESSED ? ? ? ? ?
java/util/Set add (Ljava/lang/Object;)Z
? ?
? ? ? (Ljava/lang/Class;)V Signature qLcom/google/common/collect/ImmutableCollection<+Lcom/google/common/util/concurrent/ListenableFuture<+TInputT;>;>; RuntimeVisibleAnnotations Ljavax/annotation/CheckForNull; 7Lcom/google/errorprone/annotations/concurrent/LazyInit; 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 future Ljava/util/concurrent/Future; localFutures Ljava/util/concurrent/Future<*>; RLcom/google/common/collect/ImmutableCollection<+Ljava/util/concurrent/Future<*>;>;
StackMapTable init index I 4Lcom/google/common/util/concurrent/ListenableFuture; i localFuturesOrNull listener Ljava/lang/Runnable; ?Lcom/google/common/util/concurrent/ListenableFuture<+TInputT;>; ZLcom/google/common/collect/ImmutableCollection<+Ljava/util/concurrent/Future<+TInputT;>;>; java/lang/Runnable C(ILcom/google/common/util/concurrent/ListenableFuture<+TInputT;>;)V firstTimeSeeingThisException completedWithFailure throwable Ljava/lang/Throwable; message Ljava/lang/String; java/lang/String addInitialException (Ljava/util/Set;)V seen Ljava/util/Set; &Ljava/util/Set; )(Ljava/util/Set;)V e )Ljava/util/concurrent/ExecutionException; t (Ljava/util/concurrent/Future<+TInputT;>; ,(ILjava/util/concurrent/Future<+TInputT;>;)V "futuresIfNeedToCollectAtCompletion newRemaining ](Lcom/google/common/collect/ImmutableCollection<+Ljava/util/concurrent/Future<+TInputT;>;>;)V "RuntimeVisibleParameterAnnotations reason RuntimeInvisibleAnnotations /Lcom/google/errorprone/annotations/ForOverride; DLcom/google/errorprone/annotations/OverridingMethodsMustInvokeSuper; returnValue (ITInputT;)V 6Lcom/google/common/util/concurrent/ParametricNullness;
firstTimeSeen param >(Ljava/util/Set;Ljava/lang/Throwable;)Z
lambda$init$1
lambda$init$0 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; BootstrapMethods #;
</ o>
?. ?A
BCDEF "java/lang/invoke/LambdaMetafactory metafactory ?(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; InnerClasses ReleaseResourcesReasonJ %java/lang/invoke/MethodHandles$LookupL java/lang/invoke/MethodHandles Lookup ? ? ? ? ?
? ? ? ? ? *+? ? *+?
? ? *? *? ? ? I J K L M ? * ? ? ? ? ? ? ?
? ? " # ? L*? *? L*? $? **? .+? ? ~? -*? 2=+? 5N-? 9 ? -? > ? B:? D W??? ? &