io.netty.util.concurrent.DefaultProgressivePromise.class Maven / Gradle / Ivy
???? 2 ? 2io/netty/util/concurrent/DefaultProgressivePromise vLio/netty/util/concurrent/DefaultPromise;Lio/netty/util/concurrent/ProgressivePromise; 'io/netty/util/concurrent/DefaultPromise +io/netty/util/concurrent/ProgressivePromise DefaultProgressivePromise.java +(Lio/netty/util/concurrent/EventExecutor;)V
this 9Lio/netty/util/concurrent/DefaultProgressivePromise; 4Lio/netty/util/concurrent/DefaultProgressivePromise; executor (Lio/netty/util/concurrent/EventExecutor; ()V
setProgress 1(JJ)Lio/netty/util/concurrent/ProgressivePromise;???????? "java/lang/IllegalArgumentException java/lang/StringBuilder
progress: append -(Ljava/lang/String;)Ljava/lang/StringBuilder; !
" (J)Ljava/lang/StringBuilder; $
% (expected: >= 0) ' toString ()Ljava/lang/String; ) *
+ (Ljava/lang/String;)V -
. $ (expected: 0 <= progress <= total ( 0 )) 2 isDone ()Z 4 5
6 java/lang/IllegalStateException 8 complete already :
9 . notifyProgressiveListeners (JJ)V = >
? progress J total tryProgress (JJ)Z addListener _(Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/util/concurrent/ProgressivePromise; T(Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/util/concurrent/Promise; F H
I listener ZLio/netty/util/concurrent/GenericFutureListener<+Lio/netty/util/concurrent/Future<-TV;>;>; 0Lio/netty/util/concurrent/GenericFutureListener; addListeners `([Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/util/concurrent/ProgressivePromise; U([Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/util/concurrent/Promise; N P
Q listeners [[Lio/netty/util/concurrent/GenericFutureListener<+Lio/netty/util/concurrent/Future<-TV;>;>; 1[Lio/netty/util/concurrent/GenericFutureListener; removeListener V H
W removeListeners Y P
Z sync /()Lio/netty/util/concurrent/ProgressivePromise; java/lang/InterruptedException ^ $()Lio/netty/util/concurrent/Promise; \ `
a syncUninterruptibly c `
d await f `
g awaitUninterruptibly i `
j
setSuccess A(Ljava/lang/Object;)Lio/netty/util/concurrent/ProgressivePromise; 6(Ljava/lang/Object;)Lio/netty/util/concurrent/Promise; l n
o result TV; Ljava/lang/Object;
setFailure D(Ljava/lang/Throwable;)Lio/netty/util/concurrent/ProgressivePromise; 9(Ljava/lang/Throwable;)Lio/netty/util/concurrent/Promise; t v
w cause Ljava/lang/Throwable; c ]
{ \ ]
} i ]
f ]
? Y O
? V G
? N O
? F G
? t u
? l m
? #()Lio/netty/util/concurrent/Future; T([Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/util/concurrent/Future; S(Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/util/concurrent/Future; .()Lio/netty/util/concurrent/ProgressiveFuture; _([Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/util/concurrent/ProgressiveFuture; ^(Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/util/concurrent/ProgressiveFuture; Code LocalVariableTable LocalVariableTypeTable LineNumberTable
StackMapTable Signature 6(JJ)Lio/netty/util/concurrent/ProgressivePromise; ?(Lio/netty/util/concurrent/GenericFutureListener<+Lio/netty/util/concurrent/Future<-TV;>;>;)Lio/netty/util/concurrent/ProgressivePromise; ?([Lio/netty/util/concurrent/GenericFutureListener<+Lio/netty/util/concurrent/Future<-TV;>;>;)Lio/netty/util/concurrent/ProgressivePromise;
Exceptions 4()Lio/netty/util/concurrent/ProgressivePromise; 7(TV;)Lio/netty/util/concurrent/ProgressivePromise; I(Ljava/lang/Throwable;)Lio/netty/util/concurrent/ProgressivePromise;
SourceFile ! (
? P *+? ? ?
?
?
? A *? ? ?
?
? ! ? ? ~! ?? - B ?? X? Y? Y? ? #? &(? #? ,? /? ?? !?? ,? Y? Y? ? #? &1? #!? &3? #? ,? /?*? 7?
? 9Y;? *!? @*? ? ~
~ A B ~ C B ? ~
? *
% '
( ) 0 + <