class org.springframework.scheduling.concurrent.ReschedulingRunnable extends org.springframework.scheduling.support.DelegatingErrorHandlingRunnable implements java.util.concurrent.ScheduledFuture<java.lang.Object>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.springframework.scheduling.concurrent.ReschedulingRunnable
super_class: org.springframework.scheduling.support.DelegatingErrorHandlingRunnable
{
private final org.springframework.scheduling.Trigger trigger;
descriptor: Lorg/springframework/scheduling/Trigger;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.springframework.scheduling.support.SimpleTriggerContext triggerContext;
descriptor: Lorg/springframework/scheduling/support/SimpleTriggerContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.ScheduledExecutorService executor;
descriptor: Ljava/util/concurrent/ScheduledExecutorService;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.util.concurrent.ScheduledFuture<?> currentFuture;
descriptor: Ljava/util/concurrent/ScheduledFuture;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/concurrent/ScheduledFuture<*>;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private java.util.Date scheduledExecutionTime;
descriptor: Ljava/util/Date;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private final java.lang.Object triggerContextMonitor;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.lang.Runnable, org.springframework.scheduling.Trigger, java.util.concurrent.ScheduledExecutorService, org.springframework.util.ErrorHandler);
descriptor: (Ljava/lang/Runnable;Lorg/springframework/scheduling/Trigger;Ljava/util/concurrent/ScheduledExecutorService;Lorg/springframework/util/ErrorHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 4
invokespecial org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.<init>:(Ljava/lang/Runnable;Lorg/springframework/util/ErrorHandler;)V
1: aload 0
new org.springframework.scheduling.support.SimpleTriggerContext
dup
invokespecial org.springframework.scheduling.support.SimpleTriggerContext.<init>:()V
putfield org.springframework.scheduling.concurrent.ReschedulingRunnable.triggerContext:Lorg/springframework/scheduling/support/SimpleTriggerContext;
2: aload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putfield org.springframework.scheduling.concurrent.ReschedulingRunnable.triggerContextMonitor:Ljava/lang/Object;
3: aload 0
aload 2
putfield org.springframework.scheduling.concurrent.ReschedulingRunnable.trigger:Lorg/springframework/scheduling/Trigger;
4: aload 0
aload 3
putfield org.springframework.scheduling.concurrent.ReschedulingRunnable.executor:Ljava/util/concurrent/ScheduledExecutorService;
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/scheduling/concurrent/ReschedulingRunnable;
0 6 1 delegate Ljava/lang/Runnable;
0 6 2 trigger Lorg/springframework/scheduling/Trigger;
0 6 3 executor Ljava/util/concurrent/ScheduledExecutorService;
0 6 4 errorHandler Lorg/springframework/util/ErrorHandler;
MethodParameters:
Name Flags
delegate
trigger
executor
errorHandler
public java.util.concurrent.ScheduledFuture<?> schedule();
descriptor: ()Ljava/util/concurrent/ScheduledFuture;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=1
start local 0 0: aload 0
getfield org.springframework.scheduling.concurrent.ReschedulingRunnable.triggerContextMonitor:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
aload 0
getfield org.springframework.scheduling.concurrent.ReschedulingRunnable.trigger:Lorg/springframework/scheduling/Trigger;
aload 0
getfield org.springframework.scheduling.concurrent.ReschedulingRunnable.triggerContext:Lorg/springframework/scheduling/support/SimpleTriggerContext;
invokeinterface org.springframework.scheduling.Trigger.nextExecutionTime:(Lorg/springframework/scheduling/TriggerContext;)Ljava/util/Date;
putfield org.springframework.scheduling.concurrent.ReschedulingRunnable.scheduledExecutionTime:Ljava/util/Date;
2: aload 0
getfield org.springframework.scheduling.concurrent.ReschedulingRunnable.scheduledExecutionTime:Ljava/util/Date;
ifnonnull 5
3: aload 1
monitorexit
4: aconst_null
areturn
5: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield org.springframework.scheduling.concurrent.ReschedulingRunnable.scheduledExecutionTime:Ljava/util/Date;
invokevirtual java.util.Date.getTime:()J
invokestatic java.lang.System.currentTimeMillis:()J
lsub
lstore 2
start local 2 6: aload 0
aload 0
getfield org.springframework.scheduling.concurrent.ReschedulingRunnable.executor:Ljava/util/concurrent/ScheduledExecutorService;
aload 0
lload 2
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invokeinterface java.util.concurrent.ScheduledExecutorService.schedule:(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture;
putfield org.springframework.scheduling.concurrent.ReschedulingRunnable.currentFuture:Ljava/util/concurrent/ScheduledFuture;
7: aload 0
aload 1
monitorexit
8: areturn
end local 2 9: StackMap locals:
StackMap stack: java.lang.Throwable
aload 1
monitorexit
10: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/springframework/scheduling/concurrent/ReschedulingRunnable;
6 9 2 initialDelay J
Exception table:
from to target type
1 4 9 any
5 8 9 any
9 10 9 any
Signature: ()Ljava/util/concurrent/ScheduledFuture<*>;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private java.util.concurrent.ScheduledFuture<?> obtainCurrentFuture();
descriptor: ()Ljava/util/concurrent/ScheduledFuture;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.scheduling.concurrent.ReschedulingRunnable.currentFuture:Ljava/util/concurrent/ScheduledFuture;
ifnull 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ldc "No scheduled future"
invokestatic org.springframework.util.Assert.state:(ZLjava/lang/String;)V
3: aload 0
getfield org.springframework.scheduling.concurrent.ReschedulingRunnable.currentFuture:Ljava/util/concurrent/ScheduledFuture;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/scheduling/concurrent/ReschedulingRunnable;
Signature: ()Ljava/util/concurrent/ScheduledFuture<*>;
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: new java.util.Date
dup
invokespecial java.util.Date.<init>:()V
astore 1
start local 1 1: aload 0
invokespecial org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run:()V
2: new java.util.Date
dup
invokespecial java.util.Date.<init>:()V
astore 2
start local 2 3: aload 0
getfield org.springframework.scheduling.concurrent.ReschedulingRunnable.triggerContextMonitor:Ljava/lang/Object;
dup
astore 3
monitorenter
4: aload 0
getfield org.springframework.scheduling.concurrent.ReschedulingRunnable.scheduledExecutionTime:Ljava/util/Date;
ifnull 5
iconst_1
goto 6
StackMap locals: java.util.Date java.util.Date java.lang.Object
StackMap stack:
5: iconst_0
StackMap locals:
StackMap stack: int
6: ldc "No scheduled execution"
invokestatic org.springframework.util.Assert.state:(ZLjava/lang/String;)V
7: aload 0
getfield org.springframework.scheduling.concurrent.ReschedulingRunnable.triggerContext:Lorg/springframework/scheduling/support/SimpleTriggerContext;
aload 0
getfield org.springframework.scheduling.concurrent.ReschedulingRunnable.scheduledExecutionTime:Ljava/util/Date;
aload 1
aload 2
invokevirtual org.springframework.scheduling.support.SimpleTriggerContext.update:(Ljava/util/Date;Ljava/util/Date;Ljava/util/Date;)V
8: aload 0
invokevirtual org.springframework.scheduling.concurrent.ReschedulingRunnable.obtainCurrentFuture:()Ljava/util/concurrent/ScheduledFuture;
invokeinterface java.util.concurrent.ScheduledFuture.isCancelled:()Z
ifne 10
9: aload 0
invokevirtual org.springframework.scheduling.concurrent.ReschedulingRunnable.schedule:()Ljava/util/concurrent/ScheduledFuture;
pop
10: StackMap locals:
StackMap stack:
aload 3
monitorexit
11: goto 14
StackMap locals:
StackMap stack: java.lang.Throwable
12: aload 3
monitorexit
13: athrow
14: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/springframework/scheduling/concurrent/ReschedulingRunnable;
1 15 1 actualExecutionTime Ljava/util/Date;
3 15 2 completionTime Ljava/util/Date;
Exception table:
from to target type
4 11 12 any
12 13 12 any
public boolean cancel(boolean);
descriptor: (Z)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.scheduling.concurrent.ReschedulingRunnable.triggerContextMonitor:Ljava/lang/Object;
dup
astore 2
monitorenter
1: aload 0
invokevirtual org.springframework.scheduling.concurrent.ReschedulingRunnable.obtainCurrentFuture:()Ljava/util/concurrent/ScheduledFuture;
iload 1
invokeinterface java.util.concurrent.ScheduledFuture.cancel:(Z)Z
aload 2
monitorexit
2: ireturn
3: StackMap locals: org.springframework.scheduling.concurrent.ReschedulingRunnable int java.lang.Object
StackMap stack: java.lang.Throwable
aload 2
monitorexit
4: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/scheduling/concurrent/ReschedulingRunnable;
0 5 1 mayInterruptIfRunning Z
Exception table:
from to target type
1 2 3 any
3 4 3 any
MethodParameters:
Name Flags
mayInterruptIfRunning
public boolean isCancelled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.springframework.scheduling.concurrent.ReschedulingRunnable.triggerContextMonitor:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
invokevirtual org.springframework.scheduling.concurrent.ReschedulingRunnable.obtainCurrentFuture:()Ljava/util/concurrent/ScheduledFuture;
invokeinterface java.util.concurrent.ScheduledFuture.isCancelled:()Z
aload 1
monitorexit
2: ireturn
3: StackMap locals: org.springframework.scheduling.concurrent.ReschedulingRunnable java.lang.Object
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/scheduling/concurrent/ReschedulingRunnable;
Exception table:
from to target type
1 2 3 any
3 4 3 any
public boolean isDone();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.springframework.scheduling.concurrent.ReschedulingRunnable.triggerContextMonitor:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
invokevirtual org.springframework.scheduling.concurrent.ReschedulingRunnable.obtainCurrentFuture:()Ljava/util/concurrent/ScheduledFuture;
invokeinterface java.util.concurrent.ScheduledFuture.isDone:()Z
aload 1
monitorexit
2: ireturn
3: StackMap locals: org.springframework.scheduling.concurrent.ReschedulingRunnable java.lang.Object
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/scheduling/concurrent/ReschedulingRunnable;
Exception table:
from to target type
1 2 3 any
3 4 3 any
public java.lang.Object get();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield org.springframework.scheduling.concurrent.ReschedulingRunnable.triggerContextMonitor:Ljava/lang/Object;
dup
astore 2
monitorenter
1: aload 0
invokevirtual org.springframework.scheduling.concurrent.ReschedulingRunnable.obtainCurrentFuture:()Ljava/util/concurrent/ScheduledFuture;
astore 1
start local 1 2: aload 2
monitorexit
3: goto 6
end local 1 StackMap locals: org.springframework.scheduling.concurrent.ReschedulingRunnable top java.lang.Object
StackMap stack: java.lang.Throwable
4: aload 2
monitorexit
5: athrow
start local 1 6: StackMap locals: org.springframework.scheduling.concurrent.ReschedulingRunnable java.util.concurrent.ScheduledFuture
StackMap stack:
aload 1
invokeinterface java.util.concurrent.ScheduledFuture.get:()Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/scheduling/concurrent/ReschedulingRunnable;
2 4 1 curr Ljava/util/concurrent/ScheduledFuture<*>;
6 7 1 curr Ljava/util/concurrent/ScheduledFuture<*>;
Exception table:
from to target type
1 3 4 any
4 5 4 any
Exceptions:
throws java.lang.InterruptedException, java.util.concurrent.ExecutionException
public java.lang.Object get(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 3 0: aload 0
getfield org.springframework.scheduling.concurrent.ReschedulingRunnable.triggerContextMonitor:Ljava/lang/Object;
dup
astore 5
monitorenter
1: aload 0
invokevirtual org.springframework.scheduling.concurrent.ReschedulingRunnable.obtainCurrentFuture:()Ljava/util/concurrent/ScheduledFuture;
astore 4
start local 4 2: aload 5
monitorexit
3: goto 6
end local 4 StackMap locals: org.springframework.scheduling.concurrent.ReschedulingRunnable long java.util.concurrent.TimeUnit top java.lang.Object
StackMap stack: java.lang.Throwable
4: aload 5
monitorexit
5: athrow
start local 4 6: StackMap locals: org.springframework.scheduling.concurrent.ReschedulingRunnable long java.util.concurrent.TimeUnit java.util.concurrent.ScheduledFuture
StackMap stack:
aload 4
lload 1
aload 3
invokeinterface java.util.concurrent.ScheduledFuture.get:(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;
areturn
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/scheduling/concurrent/ReschedulingRunnable;
0 7 1 timeout J
0 7 3 unit Ljava/util/concurrent/TimeUnit;
2 4 4 curr Ljava/util/concurrent/ScheduledFuture<*>;
6 7 4 curr Ljava/util/concurrent/ScheduledFuture<*>;
Exception table:
from to target type
1 3 4 any
4 5 4 any
Exceptions:
throws java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.util.concurrent.TimeoutException
MethodParameters:
Name Flags
timeout
unit
public long getDelay(java.util.concurrent.TimeUnit);
descriptor: (Ljava/util/concurrent/TimeUnit;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.scheduling.concurrent.ReschedulingRunnable.triggerContextMonitor:Ljava/lang/Object;
dup
astore 3
monitorenter
1: aload 0
invokevirtual org.springframework.scheduling.concurrent.ReschedulingRunnable.obtainCurrentFuture:()Ljava/util/concurrent/ScheduledFuture;
astore 2
start local 2 2: aload 3
monitorexit
3: goto 6
end local 2 StackMap locals: org.springframework.scheduling.concurrent.ReschedulingRunnable java.util.concurrent.TimeUnit top java.lang.Object
StackMap stack: java.lang.Throwable
4: aload 3
monitorexit
5: athrow
start local 2 6: StackMap locals: org.springframework.scheduling.concurrent.ReschedulingRunnable java.util.concurrent.TimeUnit java.util.concurrent.ScheduledFuture
StackMap stack:
aload 2
aload 1
invokeinterface java.util.concurrent.ScheduledFuture.getDelay:(Ljava/util/concurrent/TimeUnit;)J
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/scheduling/concurrent/ReschedulingRunnable;
0 7 1 unit Ljava/util/concurrent/TimeUnit;
2 4 2 curr Ljava/util/concurrent/ScheduledFuture<*>;
6 7 2 curr Ljava/util/concurrent/ScheduledFuture<*>;
Exception table:
from to target type
1 3 4 any
4 5 4 any
MethodParameters:
Name Flags
unit
public int compareTo(java.util.concurrent.Delayed);
descriptor: (Ljava/util/concurrent/Delayed;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invokevirtual org.springframework.scheduling.concurrent.ReschedulingRunnable.getDelay:(Ljava/util/concurrent/TimeUnit;)J
aload 1
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invokeinterface java.util.concurrent.Delayed.getDelay:(Ljava/util/concurrent/TimeUnit;)J
lsub
lstore 2
start local 2 3: lload 2
lconst_0
lcmp
ifne 4
iconst_0
goto 6
StackMap locals: long
StackMap stack:
4: lload 2
lconst_0
lcmp
ifge 5
iconst_m1
goto 6
StackMap locals:
StackMap stack:
5: iconst_1
StackMap locals:
StackMap stack: int
6: ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/scheduling/concurrent/ReschedulingRunnable;
0 7 1 other Ljava/util/concurrent/Delayed;
3 7 2 diff J
MethodParameters:
Name Flags
other
public int compareTo(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.util.concurrent.Delayed
invokevirtual org.springframework.scheduling.concurrent.ReschedulingRunnable.compareTo:(Ljava/util/concurrent/Delayed;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lorg/springframework/scheduling/support/DelegatingErrorHandlingRunnable;Ljava/util/concurrent/ScheduledFuture<Ljava/lang/Object;>;
SourceFile: "ReschedulingRunnable.java"