classes.io.netty.util.concurrent.PromiseTask.class Maven / Gradle / Ivy
???? 2 ? $io/netty/util/concurrent/PromiseTask nLio/netty/util/concurrent/DefaultPromise;Ljava/util/concurrent/RunnableFuture; 'io/netty/util/concurrent/DefaultPromise #java/util/concurrent/RunnableFuture PromiseTask.java 4io/netty/util/concurrent/PromiseTask$RunnableAdapter RunnableAdapter task Ljava/util/concurrent/Callable; $Ljava/util/concurrent/Callable;
toCallable G(Ljava/lang/Runnable;Ljava/lang/Object;)Ljava/util/concurrent/Callable; )(Ljava/lang/Runnable;Ljava/lang/Object;)V
runnable Ljava/lang/Runnable; result TT; Ljava/lang/Object; Q(Lio/netty/util/concurrent/EventExecutor;Ljava/lang/Runnable;Ljava/lang/Object;)V
J(Lio/netty/util/concurrent/EventExecutor;Ljava/util/concurrent/Callable;)V
this +Lio/netty/util/concurrent/PromiseTask; &Lio/netty/util/concurrent/PromiseTask; executor (Lio/netty/util/concurrent/EventExecutor; TV; +(Lio/netty/util/concurrent/EventExecutor;)V &
'
) callable hashCode ()I java/lang/System . identityHashCode (Ljava/lang/Object;)I 0 1
/ 2 equals (Ljava/lang/Object;)Z obj run ()V java/lang/Throwable 9 setUncancellableInternal ()Z ; <
= java/util/concurrent/Callable ? call ()Ljava/lang/Object; A B @ C setSuccessInternal 6(Ljava/lang/Object;)Lio/netty/util/concurrent/Promise; E F
G setFailureInternal 9(Ljava/lang/Throwable;)Lio/netty/util/concurrent/Promise; I J
K e Ljava/lang/Throwable;
setFailure java/lang/IllegalStateException P 8
Q R cause O J
U
tryFailure (Ljava/lang/Throwable;)Z tryFailureInternal W X
Z
setSuccess \ F
]
trySuccess trySuccessInternal _ 5
a setUncancellable c <
d toStringBuilder ()Ljava/lang/StringBuilder; f g
h java/lang/StringBuilder j length l -
k m setCharAt (IC)V o p
k q task: s append -(Ljava/lang/String;)Ljava/lang/StringBuilder; u v
k w -(Ljava/lang/Object;)Ljava/lang/StringBuilder; u y
k z (C)Ljava/lang/StringBuilder; u |
k } buf Ljava/lang/StringBuilder; Signature Code LocalVariableTable LocalVariableTypeTable LineNumberTable S(Ljava/lang/Runnable;TT;)Ljava/util/concurrent/Callable; B(Lio/netty/util/concurrent/EventExecutor;Ljava/lang/Runnable;TV;)V O(Lio/netty/util/concurrent/EventExecutor;Ljava/util/concurrent/Callable;)V
StackMapTable >(Ljava/lang/Throwable;)Lio/netty/util/concurrent/Promise; ,(TV;)Lio/netty/util/concurrent/Promise; (TV;)Z
SourceFile InnerClasses
? ? P
?
Y*+? ? ?
?
? ? ? ? s *+,-? ? ? ? * " # $ ? ! % ?
3
4 ? ? ? m *+? (*,? *? ? " # $ +
? ! + ? 7 8
9 ? ? , - ? A *? 3? ? " ? ! ? = 4 5 ? \ *+? ? ? ? " 6 ? ! ? B ? @ 7 8 ? ? "*? >? *? *? D L*+? HW?
L*+? LW? : ? M N " " ? % " ! ? H I J N L M ! O ? B : O J ? N ? QY? S? ? " T N ? ! ? S ? ? I J ? R *+? VW*? ? " T N ? ! ?
W X ? ? W X ? H ? ? " T N ? ! ? ] Y X ? L *+? [? ? " T N ? ! ? a \ F ? X ? QY? S? ? " ? ! % ? f ? ? E F ? \ *+? ^W*? ? " ? ! % ?
j k ? ? _ 5 ? R ? ? " ? ! % ? p ? ? ` 5 ? V *+? b? ? " ? ! % ? t ? ? c <