public class org.springframework.scheduling.concurrent.ScheduledExecutorFactoryBean extends org.springframework.scheduling.concurrent.ExecutorConfigurationSupport implements org.springframework.beans.factory.FactoryBean<java.util.concurrent.ScheduledExecutorService>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.scheduling.concurrent.ScheduledExecutorFactoryBean
super_class: org.springframework.scheduling.concurrent.ExecutorConfigurationSupport
{
private int poolSize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private org.springframework.scheduling.concurrent.ScheduledExecutorTask[] scheduledExecutorTasks;
descriptor: [Lorg/springframework/scheduling/concurrent/ScheduledExecutorTask;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private boolean removeOnCancelPolicy;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean continueScheduledExecutionAfterException;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean exposeUnconfigurableExecutor;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.util.concurrent.ScheduledExecutorService exposedExecutor;
descriptor: Ljava/util/concurrent/ScheduledExecutorService;
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 org.springframework.scheduling.concurrent.ExecutorConfigurationSupport.<init>:()V
1: aload 0
iconst_1
putfield org.springframework.scheduling.concurrent.ScheduledExecutorFactoryBean.poolSize:I
2: aload 0
iconst_0
putfield org.springframework.scheduling.concurrent.ScheduledExecutorFactoryBean.removeOnCancelPolicy:Z
3: aload 0
iconst_0
putfield org.springframework.scheduling.concurrent.ScheduledExecutorFactoryBean.continueScheduledExecutionAfterException:Z
4: aload 0
iconst_0
putfield org.springframework.scheduling.concurrent.ScheduledExecutorFactoryBean.exposeUnconfigurableExecutor:Z
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/scheduling/concurrent/ScheduledExecutorFactoryBean;
public void setPoolSize(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifle 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ldc "'poolSize' must be 1 or higher"
invokestatic org.springframework.util.Assert.isTrue:(ZLjava/lang/String;)V
3: aload 0
iload 1
putfield org.springframework.scheduling.concurrent.ScheduledExecutorFactoryBean.poolSize:I
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/scheduling/concurrent/ScheduledExecutorFactoryBean;
0 5 1 poolSize I
MethodParameters:
Name Flags
poolSize
public void setScheduledExecutorTasks(org.springframework.scheduling.concurrent.ScheduledExecutorTask[]);
descriptor: ([Lorg/springframework/scheduling/concurrent/ScheduledExecutorTask;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.springframework.scheduling.concurrent.ScheduledExecutorFactoryBean.scheduledExecutorTasks:[Lorg/springframework/scheduling/concurrent/ScheduledExecutorTask;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/scheduling/concurrent/ScheduledExecutorFactoryBean;
0 2 1 scheduledExecutorTasks [Lorg/springframework/scheduling/concurrent/ScheduledExecutorTask;
MethodParameters:
Name Flags
scheduledExecutorTasks
public void setRemoveOnCancelPolicy(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.ScheduledExecutorFactoryBean.removeOnCancelPolicy:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/scheduling/concurrent/ScheduledExecutorFactoryBean;
0 2 1 removeOnCancelPolicy Z
MethodParameters:
Name Flags
removeOnCancelPolicy
public void setContinueScheduledExecutionAfterException(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.ScheduledExecutorFactoryBean.continueScheduledExecutionAfterException:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/scheduling/concurrent/ScheduledExecutorFactoryBean;
0 2 1 continueScheduledExecutionAfterException Z
MethodParameters:
Name Flags
continueScheduledExecutionAfterException
public void setExposeUnconfigurableExecutor(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.ScheduledExecutorFactoryBean.exposeUnconfigurableExecutor:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/scheduling/concurrent/ScheduledExecutorFactoryBean;
0 2 1 exposeUnconfigurableExecutor Z
MethodParameters:
Name Flags
exposeUnconfigurableExecutor
protected java.util.concurrent.ExecutorService initializeExecutor(java.util.concurrent.ThreadFactory, java.util.concurrent.RejectedExecutionHandler);
descriptor: (Ljava/util/concurrent/ThreadFactory;Ljava/util/concurrent/RejectedExecutionHandler;)Ljava/util/concurrent/ExecutorService;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
getfield org.springframework.scheduling.concurrent.ScheduledExecutorFactoryBean.poolSize:I
aload 1
aload 2
invokevirtual org.springframework.scheduling.concurrent.ScheduledExecutorFactoryBean.createExecutor:(ILjava/util/concurrent/ThreadFactory;Ljava/util/concurrent/RejectedExecutionHandler;)Ljava/util/concurrent/ScheduledExecutorService;
1: astore 3
start local 3 2: aload 0
getfield org.springframework.scheduling.concurrent.ScheduledExecutorFactoryBean.removeOnCancelPolicy:Z
ifeq 7
3: aload 3
instanceof java.util.concurrent.ScheduledThreadPoolExecutor
ifeq 6
4: aload 3
checkcast java.util.concurrent.ScheduledThreadPoolExecutor
iconst_1
invokevirtual java.util.concurrent.ScheduledThreadPoolExecutor.setRemoveOnCancelPolicy:(Z)V
5: goto 7
6: StackMap locals: java.util.concurrent.ScheduledExecutorService
StackMap stack:
aload 0
getfield org.springframework.scheduling.concurrent.ScheduledExecutorFactoryBean.logger:Lorg/apache/commons/logging/Log;
ldc "Could not apply remove-on-cancel policy - not a ScheduledThreadPoolExecutor"
invokeinterface org.apache.commons.logging.Log.debug:(Ljava/lang/Object;)V
7: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.scheduling.concurrent.ScheduledExecutorFactoryBean.scheduledExecutorTasks:[Lorg/springframework/scheduling/concurrent/ScheduledExecutorTask;
invokestatic org.springframework.util.ObjectUtils.isEmpty:([Ljava/lang/Object;)Z
ifne 9
8: aload 0
aload 0
getfield org.springframework.scheduling.concurrent.ScheduledExecutorFactoryBean.scheduledExecutorTasks:[Lorg/springframework/scheduling/concurrent/ScheduledExecutorTask;
aload 3
invokevirtual org.springframework.scheduling.concurrent.ScheduledExecutorFactoryBean.registerTasks:([Lorg/springframework/scheduling/concurrent/ScheduledExecutorTask;Ljava/util/concurrent/ScheduledExecutorService;)V
9: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.springframework.scheduling.concurrent.ScheduledExecutorFactoryBean.exposeUnconfigurableExecutor:Z
ifeq 11
10: aload 3
invokestatic java.util.concurrent.Executors.unconfigurableScheduledExecutorService:(Ljava/util/concurrent/ScheduledExecutorService;)Ljava/util/concurrent/ScheduledExecutorService;
goto 12
StackMap locals:
StackMap stack: org.springframework.scheduling.concurrent.ScheduledExecutorFactoryBean
11: aload 3
12: StackMap locals: org.springframework.scheduling.concurrent.ScheduledExecutorFactoryBean java.util.concurrent.ThreadFactory java.util.concurrent.RejectedExecutionHandler java.util.concurrent.ScheduledExecutorService
StackMap stack: org.springframework.scheduling.concurrent.ScheduledExecutorFactoryBean java.util.concurrent.ScheduledExecutorService
putfield org.springframework.scheduling.concurrent.ScheduledExecutorFactoryBean.exposedExecutor:Ljava/util/concurrent/ScheduledExecutorService;
13: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/springframework/scheduling/concurrent/ScheduledExecutorFactoryBean;
0 14 1 threadFactory Ljava/util/concurrent/ThreadFactory;
0 14 2 rejectedExecutionHandler Ljava/util/concurrent/RejectedExecutionHandler;
2 14 3 executor Ljava/util/concurrent/ScheduledExecutorService;
MethodParameters:
Name Flags
threadFactory
rejectedExecutionHandler
protected java.util.concurrent.ScheduledExecutorService createExecutor(int, java.util.concurrent.ThreadFactory, java.util.concurrent.RejectedExecutionHandler);
descriptor: (ILjava/util/concurrent/ThreadFactory;Ljava/util/concurrent/RejectedExecutionHandler;)Ljava/util/concurrent/ScheduledExecutorService;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.util.concurrent.ScheduledThreadPoolExecutor
dup
iload 1
aload 2
aload 3
invokespecial java.util.concurrent.ScheduledThreadPoolExecutor.<init>:(ILjava/util/concurrent/ThreadFactory;Ljava/util/concurrent/RejectedExecutionHandler;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/scheduling/concurrent/ScheduledExecutorFactoryBean;
0 1 1 poolSize I
0 1 2 threadFactory Ljava/util/concurrent/ThreadFactory;
0 1 3 rejectedExecutionHandler Ljava/util/concurrent/RejectedExecutionHandler;
MethodParameters:
Name Flags
poolSize
threadFactory
rejectedExecutionHandler
protected void registerTasks(org.springframework.scheduling.concurrent.ScheduledExecutorTask[], java.util.concurrent.ScheduledExecutorService);
descriptor: ([Lorg/springframework/scheduling/concurrent/ScheduledExecutorTask;Ljava/util/concurrent/ScheduledExecutorService;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 11
StackMap locals: org.springframework.scheduling.concurrent.ScheduledExecutorFactoryBean org.springframework.scheduling.concurrent.ScheduledExecutorTask[] java.util.concurrent.ScheduledExecutorService top int int org.springframework.scheduling.concurrent.ScheduledExecutorTask[]
StackMap stack:
1: aload 6
iload 4
aaload
astore 3
start local 3 2: aload 0
aload 3
invokevirtual org.springframework.scheduling.concurrent.ScheduledExecutorFactoryBean.getRunnableToSchedule:(Lorg/springframework/scheduling/concurrent/ScheduledExecutorTask;)Ljava/lang/Runnable;
astore 7
start local 7 3: aload 3
invokevirtual org.springframework.scheduling.concurrent.ScheduledExecutorTask.isOneTimeTask:()Z
ifeq 6
4: aload 2
aload 7
aload 3
invokevirtual org.springframework.scheduling.concurrent.ScheduledExecutorTask.getDelay:()J
aload 3
invokevirtual org.springframework.scheduling.concurrent.ScheduledExecutorTask.getTimeUnit:()Ljava/util/concurrent/TimeUnit;
invokeinterface java.util.concurrent.ScheduledExecutorService.schedule:(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture;
pop
5: goto 10
6: StackMap locals: org.springframework.scheduling.concurrent.ScheduledExecutorFactoryBean org.springframework.scheduling.concurrent.ScheduledExecutorTask[] java.util.concurrent.ScheduledExecutorService org.springframework.scheduling.concurrent.ScheduledExecutorTask int int org.springframework.scheduling.concurrent.ScheduledExecutorTask[] java.lang.Runnable
StackMap stack:
aload 3
invokevirtual org.springframework.scheduling.concurrent.ScheduledExecutorTask.isFixedRate:()Z
ifeq 9
7: aload 2
aload 7
aload 3
invokevirtual org.springframework.scheduling.concurrent.ScheduledExecutorTask.getDelay:()J
aload 3
invokevirtual org.springframework.scheduling.concurrent.ScheduledExecutorTask.getPeriod:()J
aload 3
invokevirtual org.springframework.scheduling.concurrent.ScheduledExecutorTask.getTimeUnit:()Ljava/util/concurrent/TimeUnit;
invokeinterface java.util.concurrent.ScheduledExecutorService.scheduleAtFixedRate:(Ljava/lang/Runnable;JJLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture;
pop
8: goto 10
9: StackMap locals:
StackMap stack:
aload 2
aload 7
aload 3
invokevirtual org.springframework.scheduling.concurrent.ScheduledExecutorTask.getDelay:()J
aload 3
invokevirtual org.springframework.scheduling.concurrent.ScheduledExecutorTask.getPeriod:()J
aload 3
invokevirtual org.springframework.scheduling.concurrent.ScheduledExecutorTask.getTimeUnit:()Ljava/util/concurrent/TimeUnit;
invokeinterface java.util.concurrent.ScheduledExecutorService.scheduleWithFixedDelay:(Ljava/lang/Runnable;JJLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture;
pop
end local 7 end local 3 10: StackMap locals: org.springframework.scheduling.concurrent.ScheduledExecutorFactoryBean org.springframework.scheduling.concurrent.ScheduledExecutorTask[] java.util.concurrent.ScheduledExecutorService top int int org.springframework.scheduling.concurrent.ScheduledExecutorTask[]
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
11: iload 4
iload 5
if_icmplt 1
12: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/springframework/scheduling/concurrent/ScheduledExecutorFactoryBean;
0 13 1 tasks [Lorg/springframework/scheduling/concurrent/ScheduledExecutorTask;
0 13 2 executor Ljava/util/concurrent/ScheduledExecutorService;
2 10 3 task Lorg/springframework/scheduling/concurrent/ScheduledExecutorTask;
3 10 7 runnable Ljava/lang/Runnable;
MethodParameters:
Name Flags
tasks
executor
protected java.lang.Runnable getRunnableToSchedule(org.springframework.scheduling.concurrent.ScheduledExecutorTask);
descriptor: (Lorg/springframework/scheduling/concurrent/ScheduledExecutorTask;)Ljava/lang/Runnable;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.scheduling.concurrent.ScheduledExecutorFactoryBean.continueScheduledExecutionAfterException:Z
ifeq 2
1: new org.springframework.scheduling.support.DelegatingErrorHandlingRunnable
dup
aload 1
invokevirtual org.springframework.scheduling.concurrent.ScheduledExecutorTask.getRunnable:()Ljava/lang/Runnable;
getstatic org.springframework.scheduling.support.TaskUtils.LOG_AND_SUPPRESS_ERROR_HANDLER:Lorg/springframework/util/ErrorHandler;
invokespecial org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.<init>:(Ljava/lang/Runnable;Lorg/springframework/util/ErrorHandler;)V
goto 3
2: StackMap locals:
StackMap stack:
new org.springframework.scheduling.support.DelegatingErrorHandlingRunnable
dup
aload 1
invokevirtual org.springframework.scheduling.concurrent.ScheduledExecutorTask.getRunnable:()Ljava/lang/Runnable;
getstatic org.springframework.scheduling.support.TaskUtils.LOG_AND_PROPAGATE_ERROR_HANDLER:Lorg/springframework/util/ErrorHandler;
invokespecial org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.<init>:(Ljava/lang/Runnable;Lorg/springframework/util/ErrorHandler;)V
3: StackMap locals:
StackMap stack: org.springframework.scheduling.support.DelegatingErrorHandlingRunnable
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/scheduling/concurrent/ScheduledExecutorFactoryBean;
0 4 1 task Lorg/springframework/scheduling/concurrent/ScheduledExecutorTask;
MethodParameters:
Name Flags
task
public java.util.concurrent.ScheduledExecutorService getObject();
descriptor: ()Ljava/util/concurrent/ScheduledExecutorService;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.scheduling.concurrent.ScheduledExecutorFactoryBean.exposedExecutor:Ljava/util/concurrent/ScheduledExecutorService;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/scheduling/concurrent/ScheduledExecutorFactoryBean;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public java.lang.Class<? extends java.util.concurrent.ScheduledExecutorService> getObjectType();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.scheduling.concurrent.ScheduledExecutorFactoryBean.exposedExecutor:Ljava/util/concurrent/ScheduledExecutorService;
ifnull 1
aload 0
getfield org.springframework.scheduling.concurrent.ScheduledExecutorFactoryBean.exposedExecutor:Ljava/util/concurrent/ScheduledExecutorService;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
goto 2
StackMap locals:
StackMap stack:
1: ldc Ljava/util/concurrent/ScheduledExecutorService;
StackMap locals:
StackMap stack: java.lang.Class
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/scheduling/concurrent/ScheduledExecutorFactoryBean;
Signature: ()Ljava/lang/Class<+Ljava/util/concurrent/ScheduledExecutorService;>;
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/ScheduledExecutorFactoryBean;
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.ScheduledExecutorFactoryBean.getObject:()Ljava/util/concurrent/ScheduledExecutorService;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
}
Signature: Lorg/springframework/scheduling/concurrent/ExecutorConfigurationSupport;Lorg/springframework/beans/factory/FactoryBean<Ljava/util/concurrent/ScheduledExecutorService;>;
SourceFile: "ScheduledExecutorFactoryBean.java"