org.apache.commons.lang3.concurrent.BackgroundInitializer.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jelly Show documentation
Show all versions of jelly Show documentation
Java Functional Metaprogramming API
The newest version!
???? 2 ?
W
X
Y Z [
\ ] ^
_
` a
b
c d e
f g h i
j k l
m n
m o p
q r s
t
u
v w x y z InitializationTask InnerClasses externalExecutor &Ljava/util/concurrent/ExecutorService; executor future Ljava/util/concurrent/Future; Signature "Ljava/util/concurrent/Future; ()V Code LineNumberTable LocalVariableTable this ;Lorg/apache/commons/lang3/concurrent/BackgroundInitializer; LocalVariableTypeTable @Lorg/apache/commons/lang3/concurrent/BackgroundInitializer; )(Ljava/util/concurrent/ExecutorService;)V exec getExternalExecutor (()Ljava/util/concurrent/ExecutorService; isStarted ()Z
StackMapTable setExternalExecutor start tempExec { get ()Ljava/lang/Object; execex )Ljava/util/concurrent/ExecutionException; iex Ljava/lang/InterruptedException; i l
Exceptions ()TT; getFuture ()Ljava/util/concurrent/Future; $()Ljava/util/concurrent/Future; getActiveExecutor getTaskCount ()I
initialize |
createTask G(Ljava/util/concurrent/ExecutorService;)Ljava/util/concurrent/Callable; execDestroy L(Ljava/util/concurrent/ExecutorService;)Ljava/util/concurrent/Callable; createExecutor hLjava/lang/Object;Lorg/apache/commons/lang3/concurrent/ConcurrentInitializer;
SourceFile BackgroundInitializer.java ) 2 ) * 9 2 " # % & 6 7 java/lang/IllegalStateException )Cannot set ExecutorService after start()! ) } 4 5 $ # S 5 O P { ~ G H ? = > 'java/util/concurrent/ExecutionException ? ? ? java/lang/InterruptedException ? ? ? ? * 7org/apache/commons/lang3/concurrent/ConcurrentException ) ? start() must be called first! Lorg/apache/commons/lang3/concurrent/BackgroundInitializer$InitializationTask ) ? K L ? ? ? 9org/apache/commons/lang3/concurrent/BackgroundInitializer java/lang/Object 9org/apache/commons/lang3/concurrent/ConcurrentInitializer $java/util/concurrent/ExecutorService java/lang/Exception (Ljava/lang/String;)V submit >(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/Future; java/util/concurrent/Future 3org/apache/commons/lang3/concurrent/ConcurrentUtils handleCause ,(Ljava/util/concurrent/ExecutionException;)V java/lang/Thread
currentThread ()Ljava/lang/Thread; interrupt (Ljava/lang/Throwable;)V d(Lorg/apache/commons/lang3/concurrent/BackgroundInitializer;Ljava/util/concurrent/ExecutorService;)V java/util/concurrent/Executors newFixedThreadPool )(I)Ljava/util/concurrent/ExecutorService;! " # $ # % &