com.groupbyinc.flux.common.http.concurrent.BasicFuture.class Maven / Gradle / Ivy
???? 2 ? 6com/groupbyinc/flux/common/http/concurrent/BasicFuture ?Ljava/lang/Object;Ljava/util/concurrent/Future;Lcom/groupbyinc/flux/common/http/concurrent/Cancellable; java/lang/Object java/util/concurrent/Future 6com/groupbyinc/flux/common/http/concurrent/Cancellable BasicFuture.java callback ;Lcom/groupbyinc/flux/common/http/concurrent/FutureCallback; @Lcom/groupbyinc/flux/common/http/concurrent/FutureCallback; completed Z cancelled result Ljava/lang/Object; TT; ex Ljava/lang/Exception; >(Lcom/groupbyinc/flux/common/http/concurrent/FutureCallback;)V ()V
this =Lcom/groupbyinc/flux/common/http/concurrent/BasicFuture; 8Lcom/groupbyinc/flux/common/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 = )com/groupbyinc/flux/common/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
<