com.google.common.util.concurrent.Futures.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jelly Show documentation
Show all versions of jelly Show documentation
Java Functional Metaprogramming API
The newest version!
???? 2?
WIJ
KLM
N OP
QR
QS
TU
IV
W
XY
VZ[
V\
V]^
_ `
Vab
cd
ef
gh
ijk l
Vm
Vno
&pq
(rs
*Nt
,u Vvw
xy
/z
x{|
3g
}~
x?
7???????
??
???
>?
?
?
V??
C?
V?
V?
??
??
???
J?
V??
MI??
P??
RT?
TI?? MappingCheckedFuture InnerClasses
ListFuture NonCancellationPropagatingFuture ChainingFuture AsyncChainingFuture? AbstractChainingFuture
TimeoutFuture CatchingFuture AsyncCatchingFuture? AbstractCatchingFuture ImmediateFailedCheckedFuture ImmediateCancelledFuture ImmediateFailedFuture ImmediateSuccessfulCheckedFuture ImmediateSuccessfulFuture? ImmediateFuture DEREFERENCER 1Lcom/google/common/util/concurrent/AsyncFunction; Signature ?Lcom/google/common/util/concurrent/AsyncFunction;Ljava/lang/Object;>; ()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/util/concurrent/ListenableFuture;Lcom/google/common/base/Function<-Ljava/lang/Exception;TX;>;)Lcom/google/common/util/concurrent/CheckedFuture; RuntimeVisibleAnnotations #Ljavax/annotation/CheckReturnValue; RuntimeInvisibleAnnotations /Lcom/google/common/annotations/GwtIncompatible; value TODO immediateFuture H(Ljava/lang/Object;)Lcom/google/common/util/concurrent/ListenableFuture; typedNull Ljava/lang/Object; TV;
StackMapTable 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;>;
Deprecated ?(Lcom/google/common/util/concurrent/ListenableFuture<+TV;>;Lcom/google/common/util/concurrent/FutureFallback<+TV;>;)Lcom/google/common/util/concurrent/ListenableFuture; Ljava/lang/Deprecated; ?(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; catching ?(Lcom/google/common/util/concurrent/ListenableFuture;Ljava/lang/Class;Lcom/google/common/base/Function;)Lcom/google/common/util/concurrent/ListenableFuture;
exceptionType Ljava/lang/Class; :Lcom/google/common/util/concurrent/Futures$CatchingFuture; Ljava/lang/Class; +Lcom/google/common/base/Function<-TX;+TV;>; BLcom/google/common/util/concurrent/Futures$CatchingFuture; ?(Lcom/google/common/util/concurrent/ListenableFuture<+TV;>;Ljava/lang/Class;Lcom/google/common/base/Function<-TX;+TV;>;)Lcom/google/common/util/concurrent/ListenableFuture; :AVAILABLE but requires exceptionType to be Throwable.class ?(Lcom/google/common/util/concurrent/ListenableFuture;Ljava/lang/Class;Lcom/google/common/base/Function;Ljava/util/concurrent/Executor;)Lcom/google/common/util/concurrent/ListenableFuture;(Lcom/google/common/util/concurrent/ListenableFuture<+TV;>;Ljava/lang/Class;Lcom/google/common/base/Function<-TX;+TV;>;Ljava/util/concurrent/Executor;)Lcom/google/common/util/concurrent/ListenableFuture;
catchingAsync ?(Lcom/google/common/util/concurrent/ListenableFuture;Ljava/lang/Class;Lcom/google/common/util/concurrent/AsyncFunction;)Lcom/google/common/util/concurrent/ListenableFuture; ?Lcom/google/common/util/concurrent/Futures$AsyncCatchingFuture; ;Lcom/google/common/util/concurrent/AsyncFunction<-TX;+TV;>; GLcom/google/common/util/concurrent/Futures$AsyncCatchingFuture; ?(Lcom/google/common/util/concurrent/ListenableFuture<+TV;>;Ljava/lang/Class;Lcom/google/common/util/concurrent/AsyncFunction<-TX;+TV;>;)Lcom/google/common/util/concurrent/ListenableFuture; ?(Lcom/google/common/util/concurrent/ListenableFuture;Ljava/lang/Class;Lcom/google/common/util/concurrent/AsyncFunction;Ljava/util/concurrent/Executor;)Lcom/google/common/util/concurrent/ListenableFuture;(Lcom/google/common/util/concurrent/ListenableFuture<+TV;>;Ljava/lang/Class;Lcom/google/common/util/concurrent/AsyncFunction<-TX;+TV;>;Ljava/util/concurrent/Executor;)Lcom/google/common/util/concurrent/ListenableFuture; asAsyncFunction e(Lcom/google/common/util/concurrent/FutureFallback;)Lcom/google/common/util/concurrent/AsyncFunction; 7Lcom/google/common/util/concurrent/FutureFallback; ?(Lcom/google/common/util/concurrent/FutureFallback;)Lcom/google/common/util/concurrent/AsyncFunction; withTimeout ?(Lcom/google/common/util/concurrent/ListenableFuture;JLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/ScheduledExecutorService;)Lcom/google/common/util/concurrent/ListenableFuture; delegate time J unit Ljava/util/concurrent/TimeUnit; scheduledExecutor /Ljava/util/concurrent/ScheduledExecutorService; result 9Lcom/google/common/util/concurrent/Futures$TimeoutFuture; fire Fire >Lcom/google/common/util/concurrent/Futures$TimeoutFuture$Fire; >Lcom/google/common/util/concurrent/Futures$TimeoutFuture; CLcom/google/common/util/concurrent/Futures$TimeoutFuture$Fire; ?(Lcom/google/common/util/concurrent/ListenableFuture;JLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/ScheduledExecutorService;)Lcom/google/common/util/concurrent/ListenableFuture; -java.util.concurrent.ScheduledExecutorService 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; ?(Lcom/google/common/util/concurrent/ListenableFuture;Lcom/google/common/util/concurrent/AsyncFunction<-TI;+TO;>;Ljava/util/concurrent/Executor;)Lcom/google/common/util/concurrent/ListenableFuture; transformAsync output ?Lcom/google/common/util/concurrent/Futures$AsyncChainingFuture; GLcom/google/common/util/concurrent/Futures$AsyncChainingFuture; rejectionPropagatingExecutor r(Ljava/util/concurrent/Executor;Lcom/google/common/util/concurrent/AbstractFuture;)Ljava/util/concurrent/Executor; 2Lcom/google/common/util/concurrent/AbstractFuture; 5Lcom/google/common/util/concurrent/AbstractFuture<*>; u(Ljava/util/concurrent/Executor;Lcom/google/common/util/concurrent/AbstractFuture<*>;)Ljava/util/concurrent/Executor; ?(Lcom/google/common/util/concurrent/ListenableFuture;Lcom/google/common/base/Function;)Lcom/google/common/util/concurrent/ListenableFuture; :Lcom/google/common/util/concurrent/Futures$ChainingFuture; +Lcom/google/common/base/Function<-TI;+TO;>; BLcom/google/common/util/concurrent/Futures$ChainingFuture; ?(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; ?(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;>; Ljava/lang/SafeVarargs; $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 inCompletionOrder ?(Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableList; 2Lcom/google/common/util/concurrent/SettableFuture; i$ Ljava/util/Iterator; delegates ,Ljava/util/concurrent/ConcurrentLinkedQueue; listBuilder? Builder 1Lcom/google/common/collect/ImmutableList$Builder; 7Lcom/google/common/util/concurrent/SerializingExecutor; 7Lcom/google/common/util/concurrent/SettableFuture; :Lcom/google/common/util/concurrent/ListenableFuture<+TT;>; QLjava/lang/Iterable<+Lcom/google/common/util/concurrent/ListenableFuture<+TT;>;>; eLjava/util/concurrent/ConcurrentLinkedQueue;>; lLcom/google/common/collect/ImmutableList$Builder;>;????? ?(Ljava/lang/Iterable<+Lcom/google/common/util/concurrent/ListenableFuture<+TT;>;>;)Lcom/google/common/collect/ImmutableList;>; 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; exceptionClass "Ljava/util/concurrent/Future;
Exceptions? n(Ljava/util/concurrent/Future;Ljava/lang/Class;)TV;^TX;
reflection b(Ljava/util/concurrent/Future;JLjava/util/concurrent/TimeUnit;Ljava/lang/Class;)Ljava/lang/Object; timeout ?(Ljava/util/concurrent/Future;JLjava/util/concurrent/TimeUnit;Ljava/lang/Class;)TV;^TX;
getChecked b(Ljava/util/concurrent/Future;Ljava/lang/Class;JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object; ?(Ljava/util/concurrent/Future;Ljava/lang/Class;JLjava/util/concurrent/TimeUnit;)TV;^TX; getUnchecked 1(Ljava/util/concurrent/Future;)Ljava/lang/Object; e )Ljava/util/concurrent/ExecutionException;? =(Ljava/util/concurrent/Future;)TV; wrapAndThrowUnchecked (Ljava/lang/Throwable;)V cause
SourceFile Futures.java -Lcom/google/common/annotations/GwtCompatible; emulated q r >com/google/common/util/concurrent/Futures$MappingCheckedFuture??? 2com/google/common/util/concurrent/ListenableFuture q??? Ccom/google/common/util/concurrent/Futures$ImmediateSuccessfulFuture q? Jcom/google/common/util/concurrent/Futures$ImmediateSuccessfulCheckedFuture ?com/google/common/util/concurrent/Futures$ImmediateFailedFuture qA Bcom/google/common/util/concurrent/Futures$ImmediateCancelledFuture Fcom/google/common/util/concurrent/Futures$ImmediateFailedCheckedFuture q???? ? ? java/lang/Throwable ? ? ? ? 8com/google/common/util/concurrent/Futures$CatchingFuture q??? ? ? =com/google/common/util/concurrent/Futures$AsyncCatchingFuture q? +com/google/common/util/concurrent/Futures$1 q? 7com/google/common/util/concurrent/Futures$TimeoutFuture q?