public class org.springframework.scheduling.concurrent.ConcurrentTaskExecutor implements org.springframework.core.task.AsyncListenableTaskExecutor, org.springframework.scheduling.SchedulingTaskExecutor
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.scheduling.concurrent.ConcurrentTaskExecutor
super_class: java.lang.Object
{
private static java.lang.Class<?> managedExecutorServiceClass;
descriptor: Ljava/lang/Class;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/lang/Class<*>;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private java.util.concurrent.Executor concurrentExecutor;
descriptor: Ljava/util/concurrent/Executor;
flags: (0x0002) ACC_PRIVATE
private org.springframework.core.task.support.TaskExecutorAdapter adaptedExecutor;
descriptor: Lorg/springframework/core/task/support/TaskExecutorAdapter;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc "javax.enterprise.concurrent.ManagedExecutorService"
1: ldc Lorg/springframework/scheduling/concurrent/ConcurrentTaskScheduler;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
2: invokestatic org.springframework.util.ClassUtils.forName:(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Class;
putstatic org.springframework.scheduling.concurrent.ConcurrentTaskExecutor.managedExecutorServiceClass:Ljava/lang/Class;
3: goto 6
4: StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
pop
5: aconst_null
putstatic org.springframework.scheduling.concurrent.ConcurrentTaskExecutor.managedExecutorServiceClass:Ljava/lang/Class;
6: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
0 3 4 Class java.lang.ClassNotFoundException
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
invokestatic java.util.concurrent.Executors.newSingleThreadExecutor:()Ljava/util/concurrent/ExecutorService;
putfield org.springframework.scheduling.concurrent.ConcurrentTaskExecutor.concurrentExecutor:Ljava/util/concurrent/Executor;
2: aload 0
new org.springframework.core.task.support.TaskExecutorAdapter
dup
aload 0
getfield org.springframework.scheduling.concurrent.ConcurrentTaskExecutor.concurrentExecutor:Ljava/util/concurrent/Executor;
invokespecial org.springframework.core.task.support.TaskExecutorAdapter.<init>:(Ljava/util/concurrent/Executor;)V
putfield org.springframework.scheduling.concurrent.ConcurrentTaskExecutor.adaptedExecutor:Lorg/springframework/core/task/support/TaskExecutorAdapter;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/scheduling/concurrent/ConcurrentTaskExecutor;
public void <init>(java.util.concurrent.Executor);
descriptor: (Ljava/util/concurrent/Executor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
ifnull 2
aload 1
goto 3
StackMap locals: org.springframework.scheduling.concurrent.ConcurrentTaskExecutor java.util.concurrent.Executor
StackMap stack: org.springframework.scheduling.concurrent.ConcurrentTaskExecutor
2: invokestatic java.util.concurrent.Executors.newSingleThreadExecutor:()Ljava/util/concurrent/ExecutorService;
StackMap locals: org.springframework.scheduling.concurrent.ConcurrentTaskExecutor java.util.concurrent.Executor
StackMap stack: org.springframework.scheduling.concurrent.ConcurrentTaskExecutor java.util.concurrent.Executor
3: putfield org.springframework.scheduling.concurrent.ConcurrentTaskExecutor.concurrentExecutor:Ljava/util/concurrent/Executor;
4: aload 0
aload 0
getfield org.springframework.scheduling.concurrent.ConcurrentTaskExecutor.concurrentExecutor:Ljava/util/concurrent/Executor;
invokestatic org.springframework.scheduling.concurrent.ConcurrentTaskExecutor.getAdaptedExecutor:(Ljava/util/concurrent/Executor;)Lorg/springframework/core/task/support/TaskExecutorAdapter;
putfield org.springframework.scheduling.concurrent.ConcurrentTaskExecutor.adaptedExecutor:Lorg/springframework/core/task/support/TaskExecutorAdapter;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/scheduling/concurrent/ConcurrentTaskExecutor;
0 6 1 executor Ljava/util/concurrent/Executor;
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
executor
public final void setConcurrentExecutor(java.util.concurrent.Executor);
descriptor: (Ljava/util/concurrent/Executor;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ifnull 1
aload 1
goto 2
StackMap locals:
StackMap stack: org.springframework.scheduling.concurrent.ConcurrentTaskExecutor
1: invokestatic java.util.concurrent.Executors.newSingleThreadExecutor:()Ljava/util/concurrent/ExecutorService;
StackMap locals: org.springframework.scheduling.concurrent.ConcurrentTaskExecutor java.util.concurrent.Executor
StackMap stack: org.springframework.scheduling.concurrent.ConcurrentTaskExecutor java.util.concurrent.Executor
2: putfield org.springframework.scheduling.concurrent.ConcurrentTaskExecutor.concurrentExecutor:Ljava/util/concurrent/Executor;
3: aload 0
aload 0
getfield org.springframework.scheduling.concurrent.ConcurrentTaskExecutor.concurrentExecutor:Ljava/util/concurrent/Executor;
invokestatic org.springframework.scheduling.concurrent.ConcurrentTaskExecutor.getAdaptedExecutor:(Ljava/util/concurrent/Executor;)Lorg/springframework/core/task/support/TaskExecutorAdapter;
putfield org.springframework.scheduling.concurrent.ConcurrentTaskExecutor.adaptedExecutor:Lorg/springframework/core/task/support/TaskExecutorAdapter;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/scheduling/concurrent/ConcurrentTaskExecutor;
0 5 1 executor Ljava/util/concurrent/Executor;
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
executor
public final java.util.concurrent.Executor getConcurrentExecutor();
descriptor: ()Ljava/util/concurrent/Executor;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.scheduling.concurrent.ConcurrentTaskExecutor.concurrentExecutor:Ljava/util/concurrent/Executor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/scheduling/concurrent/ConcurrentTaskExecutor;
public final void setTaskDecorator(org.springframework.core.task.TaskDecorator);
descriptor: (Lorg/springframework/core/task/TaskDecorator;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.scheduling.concurrent.ConcurrentTaskExecutor.adaptedExecutor:Lorg/springframework/core/task/support/TaskExecutorAdapter;
aload 1
invokevirtual org.springframework.core.task.support.TaskExecutorAdapter.setTaskDecorator:(Lorg/springframework/core/task/TaskDecorator;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/scheduling/concurrent/ConcurrentTaskExecutor;
0 2 1 taskDecorator Lorg/springframework/core/task/TaskDecorator;
MethodParameters:
Name Flags
taskDecorator
public void execute(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.scheduling.concurrent.ConcurrentTaskExecutor.adaptedExecutor:Lorg/springframework/core/task/support/TaskExecutorAdapter;
aload 1
invokevirtual org.springframework.core.task.support.TaskExecutorAdapter.execute:(Ljava/lang/Runnable;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/scheduling/concurrent/ConcurrentTaskExecutor;
0 2 1 task Ljava/lang/Runnable;
MethodParameters:
Name Flags
task
public void execute(java.lang.Runnable, long);
descriptor: (Ljava/lang/Runnable;J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.springframework.scheduling.concurrent.ConcurrentTaskExecutor.adaptedExecutor:Lorg/springframework/core/task/support/TaskExecutorAdapter;
aload 1
lload 2
invokevirtual org.springframework.core.task.support.TaskExecutorAdapter.execute:(Ljava/lang/Runnable;J)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/scheduling/concurrent/ConcurrentTaskExecutor;
0 2 1 task Ljava/lang/Runnable;
0 2 2 startTimeout J
MethodParameters:
Name Flags
task
startTimeout
public java.util.concurrent.Future<?> submit(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.scheduling.concurrent.ConcurrentTaskExecutor.adaptedExecutor:Lorg/springframework/core/task/support/TaskExecutorAdapter;
aload 1
invokevirtual org.springframework.core.task.support.TaskExecutorAdapter.submit:(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/scheduling/concurrent/ConcurrentTaskExecutor;
0 1 1 task Ljava/lang/Runnable;
Signature: (Ljava/lang/Runnable;)Ljava/util/concurrent/Future<*>;
MethodParameters:
Name Flags
task
public <T> java.util.concurrent.Future<T> submit(java.util.concurrent.Callable<T>);
descriptor: (Ljava/util/concurrent/Callable;)Ljava/util/concurrent/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.scheduling.concurrent.ConcurrentTaskExecutor.adaptedExecutor:Lorg/springframework/core/task/support/TaskExecutorAdapter;
aload 1
invokevirtual org.springframework.core.task.support.TaskExecutorAdapter.submit:(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/Future;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/scheduling/concurrent/ConcurrentTaskExecutor;
0 1 1 task Ljava/util/concurrent/Callable<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/util/concurrent/Callable<TT;>;)Ljava/util/concurrent/Future<TT;>;
MethodParameters:
Name Flags
task
public org.springframework.util.concurrent.ListenableFuture<?> submitListenable(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)Lorg/springframework/util/concurrent/ListenableFuture;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.scheduling.concurrent.ConcurrentTaskExecutor.adaptedExecutor:Lorg/springframework/core/task/support/TaskExecutorAdapter;
aload 1
invokevirtual org.springframework.core.task.support.TaskExecutorAdapter.submitListenable:(Ljava/lang/Runnable;)Lorg/springframework/util/concurrent/ListenableFuture;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/scheduling/concurrent/ConcurrentTaskExecutor;
0 1 1 task Ljava/lang/Runnable;
Signature: (Ljava/lang/Runnable;)Lorg/springframework/util/concurrent/ListenableFuture<*>;
MethodParameters:
Name Flags
task
public <T> org.springframework.util.concurrent.ListenableFuture<T> submitListenable(java.util.concurrent.Callable<T>);
descriptor: (Ljava/util/concurrent/Callable;)Lorg/springframework/util/concurrent/ListenableFuture;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.scheduling.concurrent.ConcurrentTaskExecutor.adaptedExecutor:Lorg/springframework/core/task/support/TaskExecutorAdapter;
aload 1
invokevirtual org.springframework.core.task.support.TaskExecutorAdapter.submitListenable:(Ljava/util/concurrent/Callable;)Lorg/springframework/util/concurrent/ListenableFuture;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/scheduling/concurrent/ConcurrentTaskExecutor;
0 1 1 task Ljava/util/concurrent/Callable<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/util/concurrent/Callable<TT;>;)Lorg/springframework/util/concurrent/ListenableFuture<TT;>;
MethodParameters:
Name Flags
task
private static org.springframework.core.task.support.TaskExecutorAdapter getAdaptedExecutor(java.util.concurrent.Executor);
descriptor: (Ljava/util/concurrent/Executor;)Lorg/springframework/core/task/support/TaskExecutorAdapter;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic org.springframework.scheduling.concurrent.ConcurrentTaskExecutor.managedExecutorServiceClass:Ljava/lang/Class;
ifnull 2
getstatic org.springframework.scheduling.concurrent.ConcurrentTaskExecutor.managedExecutorServiceClass:Ljava/lang/Class;
aload 0
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifeq 2
1: new org.springframework.scheduling.concurrent.ConcurrentTaskExecutor$ManagedTaskExecutorAdapter
dup
aload 0
invokespecial org.springframework.scheduling.concurrent.ConcurrentTaskExecutor$ManagedTaskExecutorAdapter.<init>:(Ljava/util/concurrent/Executor;)V
areturn
2: StackMap locals:
StackMap stack:
new org.springframework.core.task.support.TaskExecutorAdapter
dup
aload 0
invokespecial org.springframework.core.task.support.TaskExecutorAdapter.<init>:(Ljava/util/concurrent/Executor;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 concurrentExecutor Ljava/util/concurrent/Executor;
MethodParameters:
Name Flags
concurrentExecutor
}
SourceFile: "ConcurrentTaskExecutor.java"
NestMembers:
org.springframework.scheduling.concurrent.ConcurrentTaskExecutor$ManagedTaskBuilder org.springframework.scheduling.concurrent.ConcurrentTaskExecutor$ManagedTaskExecutorAdapter
InnerClasses:
protected ManagedTaskBuilder = org.springframework.scheduling.concurrent.ConcurrentTaskExecutor$ManagedTaskBuilder of org.springframework.scheduling.concurrent.ConcurrentTaskExecutor
private ManagedTaskExecutorAdapter = org.springframework.scheduling.concurrent.ConcurrentTaskExecutor$ManagedTaskExecutorAdapter of org.springframework.scheduling.concurrent.ConcurrentTaskExecutor