![JAR search and dependency download from the Maven repository](/logo.png)
com.google.common.util.concurrent.InterruptibleTask.class Maven / Gradle / Ivy
???? 4 ?
+java/util/concurrent/atomic/AtomicReference ()V
java/lang/Thread
currentThread ()Ljava/lang/Thread;
3com/google/common/util/concurrent/InterruptibleTask
compareAndSet '(Ljava/lang/Object;Ljava/lang/Object;)Z
isDone ()Z
runInterruptibly ()Ljava/lang/Object; DONE Ljava/lang/Runnable;
! " waitForInterrupt (Ljava/lang/Thread;)V
$ % & ' ( /com/google/common/util/concurrent/NullnessCasts uncheckedCastNullableTToT &(Ljava/lang/Object;)Ljava/lang/Object;
* + , afterRanInterruptiblySuccess (Ljava/lang/Object;)V
. / 0 afterRanInterruptiblyFailure (Ljava/lang/Throwable;)V 2 java/lang/Throwable
4 5 6 7 0 *com/google/common/util/concurrent/Platform (restoreInterruptIfIsInterruptedException
9 : get < java/lang/Runnable > ;com/google/common/util/concurrent/InterruptibleTask$Blocker @ A PARKED
C D interrupted
F G H I , &java/util/concurrent/locks/LockSupport park
K L yield
N O interrupt
= Q R o(Lcom/google/common/util/concurrent/InterruptibleTask;Lcom/google/common/util/concurrent/InterruptibleTask$1;)V
= T U V
access$200 R(Lcom/google/common/util/concurrent/InterruptibleTask$Blocker;Ljava/lang/Thread;)V
X Y ( getAndSet
F [ \ " unpark ^ running=[DONE] ` running=[INTERRUPTED] b java/lang/StringBuilder
a e running=[RUNNING ON
a g h i append -(Ljava/lang/String;)Ljava/lang/StringBuilder;
k l m getName ()Ljava/lang/String; o ]
a q r m toString t running=[NOT STARTED YET] v ,
x y m toPendingString { Ecom/google/common/util/concurrent/InterruptibleTask$DoNothingRunnable
z } ~ :(Lcom/google/common/util/concurrent/InterruptibleTask$1;)V MAX_BUSY_WAIT_SPINS I
ConstantValue ? Code LineNumberTable LocalVariableTable this 5Lcom/google/common/util/concurrent/InterruptibleTask; LocalVariableTypeTable :Lcom/google/common/util/concurrent/InterruptibleTask; run t Ljava/lang/Throwable; Ljava/lang/Thread; Z result Ljava/lang/Object; error TT;
StackMapTable ? java/lang/Object restoreInterruptedBit spinCount state blocker =Lcom/google/common/util/concurrent/InterruptibleTask$Blocker; MethodParameters
Exceptions ? java/lang/Exception Signature ()TT; RuntimeVisibleAnnotations 6Lcom/google/common/util/concurrent/ParametricNullness; (TT;)V "RuntimeVisibleParameterAnnotations
interruptTask prev
currentRunner Ljava/lang/String; ? java/lang/String mLjava/util/concurrent/atomic/AtomicReference;Ljava/lang/Runnable;
SourceFile InterruptibleTask.java CLcom/google/common/util/concurrent/ElementTypesAreNonnullByDefault; RuntimeInvisibleAnnotations -Lcom/google/common/annotations/GwtCompatible; emulated 1Lcom/google/j2objc/annotations/ReflectionSupport; value 7Lcom/google/j2objc/annotations/ReflectionSupport$Level; FULL RuntimeVisibleTypeAnnotations 5Lorg/checkerframework/checker/nullness/qual/Nullable; InnerClasses Blocker ? 5com/google/common/util/concurrent/InterruptibleTask$1 DoNothingRunnable ? 5com/google/j2objc/annotations/ReflectionSupport$Level ? /com/google/j2objc/annotations/ReflectionSupport Level ; A ? ? ? ? A *? ? ? % ? ? ? ? ? ? ? ? ?? L*+?
? ?*? ? ? =N:? *? N*+? ?
? *+? ? ?? *-? #? )? s*? -? j:? 3:*+? ?
? *+? ? K? *-? #? )? ;*? -? 2:*+? ?
? *+? ? ? *-? #? )? *? -?? ) V 1 ) ? V a ? ? ? ? ? ~ A B
C F G H J $ K ) R 4 S 9 U = V B X M Z V M X N ] O a R l S q U u V z X ? Z ? R ? S ? U ? V ? X ? Z ? ] ? ^ ? > X ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? - ?
@? ? 1H 1H 1? 1? ! " ? S }=>*? 8? ;::? =? ? ?? W? =?
? =:?? /? ?? *? ??
? ? B? ? ? =? E? ? J*? 8? ;:???? +? M? ? F n o y
z { | ( } / 2 ? 9 ? M ? ] ? e ? h ? t ? x ? | ? ? > } ? ? } ? { ? ? y ? ?
p ? m ? ? ? } ? ? ? " ? ; = @ ? ? ? ? ? ? ? + , ? ? ? ? ? ? / 0 ? ? ? ? 8 m*? 8? ;L+? ? `? =Y*? PM,? ? S*+,?
? F+? ? M*? ? W? ;N-? ??
+? ? Z? #:*? ? W? ;:? ??
+? ? Z?? ) 0 L L N L ? > ? ? ? ? ? ) ? 0 ? ; ? B ? I ? L ? Z ? b ? i ? l ? ? 4 ; ? Z ? S ? ? m ? ? e ? ? m ? ? ? ? I ; =B 1? 1? r m ?
i*? 8? ;L+? ? ]M? <+? =? _M? /+? ? %? aY? cd? f+? ? j? fn? f? pM? sM? aY? c,? fu? f*? w? f? p? ? &