com.groupbyinc.flux.common.apache.http.concurrent.BasicFuture.class Maven / Gradle / Ivy
???? 2 ? =com/groupbyinc/flux/common/apache/http/concurrent/BasicFuture ?Ljava/lang/Object;Ljava/util/concurrent/Future;Lcom/groupbyinc/flux/common/apache/http/concurrent/Cancellable; java/lang/Object java/util/concurrent/Future =com/groupbyinc/flux/common/apache/http/concurrent/Cancellable BasicFuture.java callback BLcom/groupbyinc/flux/common/apache/http/concurrent/FutureCallback; GLcom/groupbyinc/flux/common/apache/http/concurrent/FutureCallback; completed Z cancelled result Ljava/lang/Object; TT; ex Ljava/lang/Exception; E(Lcom/groupbyinc/flux/common/apache/http/concurrent/FutureCallback;)V ()V
this DLcom/groupbyinc/flux/common/apache/http/concurrent/BasicFuture; ?Lcom/groupbyinc/flux/common/apache/http/concurrent/BasicFuture; isCancelled ()Z " isDone % getResult ()Ljava/lang/Object; 'java/util/concurrent/ExecutionException ) + (Ljava/lang/Throwable;)V -
* . 0 get java/lang/InterruptedException 3 wait 5
6 ' (
8 4(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object; %java/util/concurrent/TimeoutException ; Time unit = 0com/groupbyinc/flux/common/apache/http/util/Args ? notNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; A B
@ C java/util/concurrent/TimeUnit E toMillis (J)J G H
F I java/lang/System K currentTimeMillis ()J M N
L O
<