com.google.common.util.concurrent.Futures.class Maven / Gradle / Ivy
???? 2?
*AB
CDE
FG
HI
HJ
KL
AM
N
OP
iQR
S
iTU
V W
iXY
Z[
\ i]
i^
_`
ia
_bc
"d
ief
%gh
ijkl
Cmnop
qr
qs
itu
1v
iwx
4Anyz{|
9}~
;K
?
i?
i?
??
i????????
i??
Gv
G???
KA?
K?
K??
K?
J? i?
??
E??
*?
Y??
E??????
_A
^??
bA
???
eA
??
??? MappingCheckedFuture InnerClasses CombinedFuture? FutureCombiner NonCancellationPropagatingFuture ChainingListenableFuture FallbackFuture ImmediateFailedCheckedFuture ImmediateCancelledFuture ImmediateFailedFuture ImmediateSuccessfulCheckedFuture ImmediateSuccessfulFuture? ImmediateFuture DEREFERENCER 1Lcom/google/common/util/concurrent/AsyncFunction; Signature ?Lcom/google/common/util/concurrent/AsyncFunction;Ljava/lang/Object;>; WITH_STRING_PARAM_FIRST $Lcom/google/common/collect/Ordering; HLcom/google/common/collect/Ordering;>; ()V Code LineNumberTable LocalVariableTable this +Lcom/google/common/util/concurrent/Futures; makeChecked ?(Lcom/google/common/util/concurrent/ListenableFuture;Lcom/google/common/base/Function;)Lcom/google/common/util/concurrent/CheckedFuture; future 4Lcom/google/common/util/concurrent/ListenableFuture; mapper !Lcom/google/common/base/Function; LocalVariableTypeTable 9Lcom/google/common/util/concurrent/ListenableFuture; ;Lcom/google/common/base/Function; ?(Lcom/google/common/util/concurrent/ListenableFuture;Lcom/google/common/base/Function;)Lcom/google/common/util/concurrent/CheckedFuture; immediateFuture H(Ljava/lang/Object;)Lcom/google/common/util/concurrent/ListenableFuture; value Ljava/lang/Object; TV; T(TV;)Lcom/google/common/util/concurrent/ListenableFuture; "RuntimeVisibleParameterAnnotations Ljavax/annotation/Nullable; immediateCheckedFuture E(Ljava/lang/Object;)Lcom/google/common/util/concurrent/CheckedFuture; k(TV;)Lcom/google/common/util/concurrent/CheckedFuture; immediateFailedFuture K(Ljava/lang/Throwable;)Lcom/google/common/util/concurrent/ListenableFuture; throwable Ljava/lang/Throwable; f(Ljava/lang/Throwable;)Lcom/google/common/util/concurrent/ListenableFuture; immediateCancelledFuture 6()Lcom/google/common/util/concurrent/ListenableFuture; Q()Lcom/google/common/util/concurrent/ListenableFuture; immediateFailedCheckedFuture H(Ljava/lang/Exception;)Lcom/google/common/util/concurrent/CheckedFuture; exception Ljava/lang/Exception; TX; k(TX;)Lcom/google/common/util/concurrent/CheckedFuture; withFallback ?(Lcom/google/common/util/concurrent/ListenableFuture;Lcom/google/common/util/concurrent/FutureFallback;)Lcom/google/common/util/concurrent/ListenableFuture; input fallback 2Lcom/google/common/util/concurrent/FutureFallback; :Lcom/google/common/util/concurrent/ListenableFuture<+TV;>; 8Lcom/google/common/util/concurrent/FutureFallback<+TV;>; ?(Lcom/google/common/util/concurrent/ListenableFuture<+TV;>;Lcom/google/common/util/concurrent/FutureFallback<+TV;>;)Lcom/google/common/util/concurrent/ListenableFuture; ?(Lcom/google/common/util/concurrent/ListenableFuture;Lcom/google/common/util/concurrent/FutureFallback;Ljava/util/concurrent/Executor;)Lcom/google/common/util/concurrent/ListenableFuture; executor Ljava/util/concurrent/Executor; ?(Lcom/google/common/util/concurrent/ListenableFuture<+TV;>;Lcom/google/common/util/concurrent/FutureFallback<+TV;>;Ljava/util/concurrent/Executor;)Lcom/google/common/util/concurrent/ListenableFuture; transform ?(Lcom/google/common/util/concurrent/ListenableFuture;Lcom/google/common/util/concurrent/AsyncFunction;)Lcom/google/common/util/concurrent/ListenableFuture; function 9Lcom/google/common/util/concurrent/ListenableFuture; ;Lcom/google/common/util/concurrent/AsyncFunction<-TI;+TO;>; ?(Lcom/google/common/util/concurrent/ListenableFuture;Lcom/google/common/util/concurrent/AsyncFunction<-TI;+TO;>;)Lcom/google/common/util/concurrent/ListenableFuture; ?(Lcom/google/common/util/concurrent/ListenableFuture;Lcom/google/common/util/concurrent/AsyncFunction;Ljava/util/concurrent/Executor;)Lcom/google/common/util/concurrent/ListenableFuture; output DLcom/google/common/util/concurrent/Futures$ChainingListenableFuture; LLcom/google/common/util/concurrent/Futures$ChainingListenableFuture; ?(Lcom/google/common/util/concurrent/ListenableFuture;Lcom/google/common/util/concurrent/AsyncFunction<-TI;+TO;>;Ljava/util/concurrent/Executor;)Lcom/google/common/util/concurrent/ListenableFuture; ?(Lcom/google/common/util/concurrent/ListenableFuture;Lcom/google/common/base/Function;)Lcom/google/common/util/concurrent/ListenableFuture; +Lcom/google/common/base/Function<-TI;+TO;>; ?(Lcom/google/common/util/concurrent/ListenableFuture;Lcom/google/common/base/Function<-TI;+TO;>;)Lcom/google/common/util/concurrent/ListenableFuture; ?(Lcom/google/common/util/concurrent/ListenableFuture;Lcom/google/common/base/Function;Ljava/util/concurrent/Executor;)Lcom/google/common/util/concurrent/ListenableFuture; wrapperFunction 9Lcom/google/common/util/concurrent/AsyncFunction; ?(Lcom/google/common/util/concurrent/ListenableFuture;Lcom/google/common/base/Function<-TI;+TO;>;Ljava/util/concurrent/Executor;)Lcom/google/common/util/concurrent/ListenableFuture;
lazyTransform ](Ljava/util/concurrent/Future;Lcom/google/common/base/Function;)Ljava/util/concurrent/Future; Ljava/util/concurrent/Future; "Ljava/util/concurrent/Future; ?(Ljava/util/concurrent/Future;Lcom/google/common/base/Function<-TI;+TO;>;)Ljava/util/concurrent/Future; dereference j(Lcom/google/common/util/concurrent/ListenableFuture;)Lcom/google/common/util/concurrent/ListenableFuture; nested qLcom/google/common/util/concurrent/ListenableFuture<+Lcom/google/common/util/concurrent/ListenableFuture<+TV;>;>; ?(Lcom/google/common/util/concurrent/ListenableFuture<+Lcom/google/common/util/concurrent/ListenableFuture<+TV;>;>;)Lcom/google/common/util/concurrent/ListenableFuture; allAsList k([Lcom/google/common/util/concurrent/ListenableFuture;)Lcom/google/common/util/concurrent/ListenableFuture; futures 5[Lcom/google/common/util/concurrent/ListenableFuture; ;[Lcom/google/common/util/concurrent/ListenableFuture<+TV;>; ?([Lcom/google/common/util/concurrent/ListenableFuture<+TV;>;)Lcom/google/common/util/concurrent/ListenableFuture;>; RuntimeInvisibleAnnotations $Lcom/google/common/annotations/Beta; J(Ljava/lang/Iterable;)Lcom/google/common/util/concurrent/ListenableFuture; Ljava/lang/Iterable; QLjava/lang/Iterable<+Lcom/google/common/util/concurrent/ListenableFuture<+TV;>;>; ?(Ljava/lang/Iterable<+Lcom/google/common/util/concurrent/ListenableFuture<+TV;>;>;)Lcom/google/common/util/concurrent/ListenableFuture;>; nonCancellationPropagating ?(Lcom/google/common/util/concurrent/ListenableFuture;)Lcom/google/common/util/concurrent/ListenableFuture; successfulAsList addCallback i(Lcom/google/common/util/concurrent/ListenableFuture;Lcom/google/common/util/concurrent/FutureCallback;)V callback 2Lcom/google/common/util/concurrent/FutureCallback; 8Lcom/google/common/util/concurrent/FutureCallback<-TV;>; ?(Lcom/google/common/util/concurrent/ListenableFuture;Lcom/google/common/util/concurrent/FutureCallback<-TV;>;)V ?(Lcom/google/common/util/concurrent/ListenableFuture;Lcom/google/common/util/concurrent/FutureCallback;Ljava/util/concurrent/Executor;)V callbackListener Ljava/lang/Runnable; ?(Lcom/google/common/util/concurrent/ListenableFuture;Lcom/google/common/util/concurrent/FutureCallback<-TV;>;Ljava/util/concurrent/Executor;)V get B(Ljava/util/concurrent/Future;Ljava/lang/Class;)Ljava/lang/Object; e Ljava/lang/InterruptedException; )Ljava/util/concurrent/ExecutionException; exceptionClass Ljava/lang/Class; "Ljava/util/concurrent/Future; Ljava/lang/Class;
StackMapTablepu
Exceptions n(Ljava/util/concurrent/Future;Ljava/lang/Class;)TV;^TX; b(Ljava/util/concurrent/Future;JLjava/util/concurrent/TimeUnit;Ljava/lang/Class;)Ljava/lang/Object; 'Ljava/util/concurrent/TimeoutException; timeout J unit Ljava/util/concurrent/TimeUnit;z ?(Ljava/util/concurrent/Future;JLjava/util/concurrent/TimeUnit;Ljava/lang/Class;)TV;^TX; wrapAndThrowExceptionOrError )(Ljava/lang/Throwable;Ljava/lang/Class;)V cause K(Ljava/lang/Throwable;Ljava/lang/Class;)V^TX; getUnchecked 1(Ljava/util/concurrent/Future;)Ljava/lang/Object; =(Ljava/util/concurrent/Future;)TV; wrapAndThrowUnchecked (Ljava/lang/Throwable;)V newWithCause =(Ljava/lang/Class;Ljava/lang/Throwable;)Ljava/lang/Exception; instance constructor Ljava/lang/reflect/Constructor; i$ Ljava/util/Iterator; constructors Ljava/util/List; $Ljava/lang/reflect/Constructor; 6Ljava/util/List;>;???? I(Ljava/lang/Class;Ljava/lang/Throwable;)TX; preferringStrings "(Ljava/util/List;)Ljava/util/List; ?(Ljava/util/List;>;)Ljava/util/List;>; newFromConstructor H(Ljava/lang/reflect/Constructor;Ljava/lang/Throwable;)Ljava/lang/Object; paramType i I $Ljava/lang/IllegalArgumentException; "Ljava/lang/InstantiationException; "Ljava/lang/IllegalAccessException; -Ljava/lang/reflect/InvocationTargetException;
paramTypes [Ljava/lang/Class; params [Ljava/lang/Object; Ljava/lang/Class<*>; [Ljava/lang/Class<*>;(*????? T(Ljava/lang/reflect/Constructor;Ljava/lang/Throwable;)TX; RuntimeVisibleAnnotations
listFuture (Lcom/google/common/collect/ImmutableList;ZLjava/util/concurrent/Executor;)Lcom/google/common/util/concurrent/ListenableFuture; )Lcom/google/common/collect/ImmutableList; allMustSucceed Z listenerExecutor eLcom/google/common/collect/ImmutableList;>; ?(Lcom/google/common/collect/ImmutableList;>;ZLjava/util/concurrent/Executor;)Lcom/google/common/util/concurrent/ListenableFuture;>;
SourceFile Futures.java ? ? >com/google/common/util/concurrent/Futures$MappingCheckedFuture??? 2com/google/common/util/concurrent/ListenableFuture ?? Ccom/google/common/util/concurrent/Futures$ImmediateSuccessfulFuture ?? Jcom/google/common/util/concurrent/Futures$ImmediateSuccessfulCheckedFuture ?com/google/common/util/concurrent/Futures$ImmediateFailedFuture ?
Bcom/google/common/util/concurrent/Futures$ImmediateCancelledFuture Fcom/google/common/util/concurrent/Futures$ImmediateFailedCheckedFuture ????? ? ? 8com/google/common/util/concurrent/Futures$FallbackFuture ?? ? ? Bcom/google/common/util/concurrent/Futures$ChainingListenableFuture ???? ? ? +com/google/common/util/concurrent/Futures$1 ?? +com/google/common/util/concurrent/Futures$2 ?? z { ? ????67?? Jcom/google/common/util/concurrent/Futures$NonCancellationPropagatingFuture ?? ? ? +com/google/common/util/concurrent/Futures$4 ? ? java/lang/RuntimeException??? >Futures.get exception type (%s) must not be a RuntimeException java/lang/Object??? ?? java/lang/InterruptedException???? ? 'java/util/concurrent/ExecutionException?? java/lang/AssertionError ?? %java/util/concurrent/TimeoutException java/lang/Error 0com/google/common/util/concurrent/ExecutionError ?? =com/google/common/util/concurrent/UncheckedExecutionException??
????????????? java/lang/reflect/Constructor java/lang/Exception?? "java/lang/IllegalArgumentException java/lang/StringBuilder 1No appropriate constructor for exception of type ???? ! in response to chained exception?? ?? ~ ????? java/lang/String?? java/lang/Throwable?? java/lang/InstantiationException java/lang/IllegalAccessException +java/lang/reflect/InvocationTargetException 8com/google/common/util/concurrent/Futures$CombinedFuture +com/google/common/util/concurrent/Futures$6 ?? +com/google/common/util/concurrent/Futures$3?? +com/google/common/util/concurrent/Futures$5???? )com/google/common/util/concurrent/Futures 8com/google/common/util/concurrent/Futures$FutureCombiner 9com/google/common/util/concurrent/Futures$ImmediateFuture java/util/List java/util/Iterator java/lang/Class $com/google/common/base/Preconditions checkNotNull &(Ljava/lang/Object;)Ljava/lang/Object; X(Lcom/google/common/util/concurrent/ListenableFuture;Lcom/google/common/base/Function;)V (Ljava/lang/Object;)V (Ljava/lang/Exception;)V /com/google/common/util/concurrent/MoreExecutors sameThreadExecutor >()Lcom/google/common/util/concurrent/ListeningExecutorService; ?(Lcom/google/common/util/concurrent/ListenableFuture;Lcom/google/common/util/concurrent/FutureFallback;Ljava/util/concurrent/Executor;)V ?(Lcom/google/common/util/concurrent/AsyncFunction;Lcom/google/common/util/concurrent/ListenableFuture;Lcom/google/common/util/concurrent/Futures$1;)V addListener 6(Ljava/lang/Runnable;Ljava/util/concurrent/Executor;)V $(Lcom/google/common/base/Function;)V A(Ljava/util/concurrent/Future;Lcom/google/common/base/Function;)V 'com/google/common/collect/ImmutableList copyOf >([Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList; ?(Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableList; 7(Lcom/google/common/util/concurrent/ListenableFuture;)V isAssignableFrom (Ljava/lang/Class;)Z
checkArgument )(ZLjava/lang/String;[Ljava/lang/Object;)V java/util/concurrent/Future ()Ljava/lang/Object; java/lang/Thread
currentThread ()Ljava/lang/Thread; interrupt getCause ()Ljava/lang/Throwable; 4(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object; (Ljava/lang/Error;)V 2com/google/common/util/concurrent/Uninterruptibles getUninterruptibly getConstructors "()[Ljava/lang/reflect/Constructor; java/util/Arrays asList %([Ljava/lang/Object;)Ljava/util/List; iterator ()Ljava/util/Iterator; hasNext ()Z next initCause ,(Ljava/lang/Throwable;)Ljava/lang/Throwable; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; *(Ljava/lang/String;Ljava/lang/Throwable;)V "com/google/common/collect/Ordering
sortedCopy &(Ljava/lang/Iterable;)Ljava/util/List; getParameterTypes ()[Ljava/lang/Class; equals (Ljava/lang/Object;)Z newInstance '([Ljava/lang/Object;)Ljava/lang/Object; ?(Lcom/google/common/collect/ImmutableCollection;ZLjava/util/concurrent/Executor;Lcom/google/common/util/concurrent/Futures$FutureCombiner;)V natural &()Lcom/google/common/collect/Ordering;
onResultOf G(Lcom/google/common/base/Function;)Lcom/google/common/collect/Ordering; reverse 1 i * z { | } ~ | ? ? ? ? / *? ? ? F ? ? ? ? ? ? ` ? Y*? ? +? ? ? V ? ? ? ? ? ? ? ? ? ? | ? ? ? ? E ? Y*? ? ? ? ? ? ? ? ? ? | ? ? ? ? ? ? E ? Y*? ? ? ? ? ? ? ? ? ? | ? ? ? ? ? ? <