public class org.springframework.scheduling.concurrent.ForkJoinPoolFactoryBean implements org.springframework.beans.factory.FactoryBean<java.util.concurrent.ForkJoinPool>, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.scheduling.concurrent.ForkJoinPoolFactoryBean
super_class: java.lang.Object
{
private boolean commonPool;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private int parallelism;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.util.concurrent.ForkJoinPool$ForkJoinWorkerThreadFactory threadFactory;
descriptor: Ljava/util/concurrent/ForkJoinPool$ForkJoinWorkerThreadFactory;
flags: (0x0002) ACC_PRIVATE
private java.lang.Thread$UncaughtExceptionHandler uncaughtExceptionHandler;
descriptor: Ljava/lang/Thread$UncaughtExceptionHandler;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private boolean asyncMode;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private int awaitTerminationSeconds;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.util.concurrent.ForkJoinPool forkJoinPool;
descriptor: Ljava/util/concurrent/ForkJoinPool;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield org.springframework.scheduling.concurrent.ForkJoinPoolFactoryBean.commonPool:Z
2: aload 0
invokestatic java.lang.Runtime.getRuntime:()Ljava/lang/Runtime;
invokevirtual java.lang.Runtime.availableProcessors:()I
putfield org.springframework.scheduling.concurrent.ForkJoinPoolFactoryBean.parallelism:I
3: aload 0
getstatic java.util.concurrent.ForkJoinPool.defaultForkJoinWorkerThreadFactory:Ljava/util/concurrent/ForkJoinPool$ForkJoinWorkerThreadFactory;
putfield org.springframework.scheduling.concurrent.ForkJoinPoolFactoryBean.threadFactory:Ljava/util/concurrent/ForkJoinPool$ForkJoinWorkerThreadFactory;
4: aload 0
iconst_0
putfield org.springframework.scheduling.concurrent.ForkJoinPoolFactoryBean.asyncMode:Z
5: aload 0
iconst_0
putfield org.springframework.scheduling.concurrent.ForkJoinPoolFactoryBean.awaitTerminationSeconds:I
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/scheduling/concurrent/ForkJoinPoolFactoryBean;
public void setCommonPool(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.springframework.scheduling.concurrent.ForkJoinPoolFactoryBean.commonPool:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/scheduling/concurrent/ForkJoinPoolFactoryBean;
0 2 1 commonPool Z
MethodParameters:
Name Flags
commonPool
public void setParallelism(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.springframework.scheduling.concurrent.ForkJoinPoolFactoryBean.parallelism:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/scheduling/concurrent/ForkJoinPoolFactoryBean;
0 2 1 parallelism I
MethodParameters:
Name Flags
parallelism
public void setThreadFactory(java.util.concurrent.ForkJoinPool$ForkJoinWorkerThreadFactory);
descriptor: (Ljava/util/concurrent/ForkJoinPool$ForkJoinWorkerThreadFactory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.springframework.scheduling.concurrent.ForkJoinPoolFactoryBean.threadFactory:Ljava/util/concurrent/ForkJoinPool$ForkJoinWorkerThreadFactory;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/scheduling/concurrent/ForkJoinPoolFactoryBean;
0 2 1 threadFactory Ljava/util/concurrent/ForkJoinPool$ForkJoinWorkerThreadFactory;
MethodParameters:
Name Flags
threadFactory
public void setUncaughtExceptionHandler(java.lang.Thread$UncaughtExceptionHandler);
descriptor: (Ljava/lang/Thread$UncaughtExceptionHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.springframework.scheduling.concurrent.ForkJoinPoolFactoryBean.uncaughtExceptionHandler:Ljava/lang/Thread$UncaughtExceptionHandler;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/scheduling/concurrent/ForkJoinPoolFactoryBean;
0 2 1 uncaughtExceptionHandler Ljava/lang/Thread$UncaughtExceptionHandler;
MethodParameters:
Name Flags
uncaughtExceptionHandler
public void setAsyncMode(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.springframework.scheduling.concurrent.ForkJoinPoolFactoryBean.asyncMode:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/scheduling/concurrent/ForkJoinPoolFactoryBean;
0 2 1 asyncMode Z
MethodParameters:
Name Flags
asyncMode
public void setAwaitTerminationSeconds(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.springframework.scheduling.concurrent.ForkJoinPoolFactoryBean.awaitTerminationSeconds:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/scheduling/concurrent/ForkJoinPoolFactoryBean;
0 2 1 awaitTerminationSeconds I
MethodParameters:
Name Flags
awaitTerminationSeconds
public void afterPropertiesSet();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield org.springframework.scheduling.concurrent.ForkJoinPoolFactoryBean.commonPool:Z
ifeq 1
invokestatic java.util.concurrent.ForkJoinPool.commonPool:()Ljava/util/concurrent/ForkJoinPool;
goto 2
1: StackMap locals:
StackMap stack: org.springframework.scheduling.concurrent.ForkJoinPoolFactoryBean
new java.util.concurrent.ForkJoinPool
dup
aload 0
getfield org.springframework.scheduling.concurrent.ForkJoinPoolFactoryBean.parallelism:I
aload 0
getfield org.springframework.scheduling.concurrent.ForkJoinPoolFactoryBean.threadFactory:Ljava/util/concurrent/ForkJoinPool$ForkJoinWorkerThreadFactory;
aload 0
getfield org.springframework.scheduling.concurrent.ForkJoinPoolFactoryBean.uncaughtExceptionHandler:Ljava/lang/Thread$UncaughtExceptionHandler;
aload 0
getfield org.springframework.scheduling.concurrent.ForkJoinPoolFactoryBean.asyncMode:Z
invokespecial java.util.concurrent.ForkJoinPool.<init>:(ILjava/util/concurrent/ForkJoinPool$ForkJoinWorkerThreadFactory;Ljava/lang/Thread$UncaughtExceptionHandler;Z)V
2: StackMap locals: org.springframework.scheduling.concurrent.ForkJoinPoolFactoryBean
StackMap stack: org.springframework.scheduling.concurrent.ForkJoinPoolFactoryBean java.util.concurrent.ForkJoinPool
putfield org.springframework.scheduling.concurrent.ForkJoinPoolFactoryBean.forkJoinPool:Ljava/util/concurrent/ForkJoinPool;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/scheduling/concurrent/ForkJoinPoolFactoryBean;
public java.util.concurrent.ForkJoinPool getObject();
descriptor: ()Ljava/util/concurrent/ForkJoinPool;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.scheduling.concurrent.ForkJoinPoolFactoryBean.forkJoinPool:Ljava/util/concurrent/ForkJoinPool;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/scheduling/concurrent/ForkJoinPoolFactoryBean;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public java.lang.Class<?> getObjectType();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc Ljava/util/concurrent/ForkJoinPool;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/scheduling/concurrent/ForkJoinPoolFactoryBean;
Signature: ()Ljava/lang/Class<*>;
public boolean isSingleton();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/scheduling/concurrent/ForkJoinPoolFactoryBean;
public void destroy();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.scheduling.concurrent.ForkJoinPoolFactoryBean.forkJoinPool:Ljava/util/concurrent/ForkJoinPool;
ifnull 7
1: aload 0
getfield org.springframework.scheduling.concurrent.ForkJoinPoolFactoryBean.forkJoinPool:Ljava/util/concurrent/ForkJoinPool;
invokevirtual java.util.concurrent.ForkJoinPool.shutdown:()V
2: aload 0
getfield org.springframework.scheduling.concurrent.ForkJoinPoolFactoryBean.awaitTerminationSeconds:I
ifle 7
3: aload 0
getfield org.springframework.scheduling.concurrent.ForkJoinPoolFactoryBean.forkJoinPool:Ljava/util/concurrent/ForkJoinPool;
aload 0
getfield org.springframework.scheduling.concurrent.ForkJoinPoolFactoryBean.awaitTerminationSeconds:I
i2l
getstatic java.util.concurrent.TimeUnit.SECONDS:Ljava/util/concurrent/TimeUnit;
invokevirtual java.util.concurrent.ForkJoinPool.awaitTermination:(JLjava/util/concurrent/TimeUnit;)Z
pop
4: goto 7
5: StackMap locals:
StackMap stack: java.lang.InterruptedException
pop
6: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.interrupt:()V
7: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/springframework/scheduling/concurrent/ForkJoinPoolFactoryBean;
Exception table:
from to target type
3 4 5 Class java.lang.InterruptedException
public java.lang.Object getObject();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.springframework.scheduling.concurrent.ForkJoinPoolFactoryBean.getObject:()Ljava/util/concurrent/ForkJoinPool;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
}
Signature: Ljava/lang/Object;Lorg/springframework/beans/factory/FactoryBean<Ljava/util/concurrent/ForkJoinPool;>;Lorg/springframework/beans/factory/InitializingBean;Lorg/springframework/beans/factory/DisposableBean;
SourceFile: "ForkJoinPoolFactoryBean.java"
InnerClasses:
public abstract UncaughtExceptionHandler = java.lang.Thread$UncaughtExceptionHandler of java.lang.Thread
public abstract ForkJoinWorkerThreadFactory = java.util.concurrent.ForkJoinPool$ForkJoinWorkerThreadFactory of java.util.concurrent.ForkJoinPool