public class org.eclipse.jetty.util.thread.ScheduledExecutorScheduler extends org.eclipse.jetty.util.component.AbstractLifeCycle implements org.eclipse.jetty.util.thread.Scheduler, org.eclipse.jetty.util.component.Dumpable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jetty.util.thread.ScheduledExecutorScheduler
super_class: org.eclipse.jetty.util.component.AbstractLifeCycle
{
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean daemon;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.ClassLoader classloader;
descriptor: Ljava/lang/ClassLoader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.ThreadGroup threadGroup;
descriptor: Ljava/lang/ThreadGroup;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int threads;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.atomic.AtomicInteger count;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private volatile java.util.concurrent.ScheduledThreadPoolExecutor scheduler;
descriptor: Ljava/util/concurrent/ScheduledThreadPoolExecutor;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile java.lang.Thread thread;
descriptor: Ljava/lang/Thread;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
iconst_0
invokespecial org.eclipse.jetty.util.thread.ScheduledExecutorScheduler.<init>:(Ljava/lang/String;Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/util/thread/ScheduledExecutorScheduler;
public void <init>(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
aconst_null
invokespecial org.eclipse.jetty.util.thread.ScheduledExecutorScheduler.<init>:(Ljava/lang/String;ZLjava/lang/ClassLoader;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/util/thread/ScheduledExecutorScheduler;
0 2 1 name Ljava/lang/String;
0 2 2 daemon Z
MethodParameters:
Name Flags
name
daemon
public void <init>(java.lang.String, boolean, int);
descriptor: (Ljava/lang/String;ZI)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iload 2
aconst_null
aconst_null
iload 3
invokespecial org.eclipse.jetty.util.thread.ScheduledExecutorScheduler.<init>:(Ljava/lang/String;ZLjava/lang/ClassLoader;Ljava/lang/ThreadGroup;I)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/util/thread/ScheduledExecutorScheduler;
0 2 1 name Ljava/lang/String;
0 2 2 daemon Z
0 2 3 threads I
RuntimeVisibleParameterAnnotations:
0:
org.eclipse.jetty.util.annotation.Name(value = "name")
1:
org.eclipse.jetty.util.annotation.Name(value = "daemon")
2:
org.eclipse.jetty.util.annotation.Name(value = "threads")
MethodParameters:
Name Flags
name
daemon
threads
public void <init>(java.lang.String, boolean, java.lang.ClassLoader);
descriptor: (Ljava/lang/String;ZLjava/lang/ClassLoader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iload 2
aload 3
aconst_null
invokespecial org.eclipse.jetty.util.thread.ScheduledExecutorScheduler.<init>:(Ljava/lang/String;ZLjava/lang/ClassLoader;Ljava/lang/ThreadGroup;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/util/thread/ScheduledExecutorScheduler;
0 2 1 name Ljava/lang/String;
0 2 2 daemon Z
0 2 3 classLoader Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
name
daemon
classLoader
public void <init>(java.lang.String, boolean, java.lang.ClassLoader, java.lang.ThreadGroup);
descriptor: (Ljava/lang/String;ZLjava/lang/ClassLoader;Ljava/lang/ThreadGroup;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, 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
iload 2
aload 3
aload 4
iconst_m1
invokespecial org.eclipse.jetty.util.thread.ScheduledExecutorScheduler.<init>:(Ljava/lang/String;ZLjava/lang/ClassLoader;Ljava/lang/ThreadGroup;I)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/util/thread/ScheduledExecutorScheduler;
0 2 1 name Ljava/lang/String;
0 2 2 daemon Z
0 2 3 classLoader Ljava/lang/ClassLoader;
0 2 4 threadGroup Ljava/lang/ThreadGroup;
MethodParameters:
Name Flags
name
daemon
classLoader
threadGroup
public void <init>(java.lang.String, boolean, java.lang.ClassLoader, java.lang.ThreadGroup, int);
descriptor: (Ljava/lang/String;ZLjava/lang/ClassLoader;Ljava/lang/ThreadGroup;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial org.eclipse.jetty.util.component.AbstractLifeCycle.<init>:()V
1: aload 0
new java.util.concurrent.atomic.AtomicInteger
dup
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:()V
putfield org.eclipse.jetty.util.thread.ScheduledExecutorScheduler.count:Ljava/util/concurrent/atomic/AtomicInteger;
2: aload 0
aload 1
invokestatic org.eclipse.jetty.util.StringUtil.isBlank:(Ljava/lang/String;)Z
ifeq 3
new java.lang.StringBuilder
dup
ldc "Scheduler-"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.Object.hashCode:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 4
StackMap locals: org.eclipse.jetty.util.thread.ScheduledExecutorScheduler java.lang.String int java.lang.ClassLoader java.lang.ThreadGroup int
StackMap stack: org.eclipse.jetty.util.thread.ScheduledExecutorScheduler
3: aload 1
StackMap locals: org.eclipse.jetty.util.thread.ScheduledExecutorScheduler java.lang.String int java.lang.ClassLoader java.lang.ThreadGroup int
StackMap stack: org.eclipse.jetty.util.thread.ScheduledExecutorScheduler java.lang.String
4: putfield org.eclipse.jetty.util.thread.ScheduledExecutorScheduler.name:Ljava/lang/String;
5: aload 0
iload 2
putfield org.eclipse.jetty.util.thread.ScheduledExecutorScheduler.daemon:Z
6: aload 0
aload 3
ifnonnull 7
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
goto 8
StackMap locals:
StackMap stack: org.eclipse.jetty.util.thread.ScheduledExecutorScheduler
7: aload 3
StackMap locals: org.eclipse.jetty.util.thread.ScheduledExecutorScheduler java.lang.String int java.lang.ClassLoader java.lang.ThreadGroup int
StackMap stack: org.eclipse.jetty.util.thread.ScheduledExecutorScheduler java.lang.ClassLoader
8: putfield org.eclipse.jetty.util.thread.ScheduledExecutorScheduler.classloader:Ljava/lang/ClassLoader;
9: aload 0
aload 4
putfield org.eclipse.jetty.util.thread.ScheduledExecutorScheduler.threadGroup:Ljava/lang/ThreadGroup;
10: aload 0
iload 5
putfield org.eclipse.jetty.util.thread.ScheduledExecutorScheduler.threads:I
11: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/eclipse/jetty/util/thread/ScheduledExecutorScheduler;
0 12 1 name Ljava/lang/String;
0 12 2 daemon Z
0 12 3 classLoader Ljava/lang/ClassLoader;
0 12 4 threadGroup Ljava/lang/ThreadGroup;
0 12 5 threads I
RuntimeVisibleParameterAnnotations:
0:
org.eclipse.jetty.util.annotation.Name(value = "name")
1:
org.eclipse.jetty.util.annotation.Name(value = "daemon")
2:
org.eclipse.jetty.util.annotation.Name(value = "classLoader")
3:
org.eclipse.jetty.util.annotation.Name(value = "threadGroup")
4:
org.eclipse.jetty.util.annotation.Name(value = "threads")
MethodParameters:
Name Flags
name
daemon
classLoader
threadGroup
threads
protected void doStart();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.thread.ScheduledExecutorScheduler.threads:I
ifle 1
aload 0
getfield org.eclipse.jetty.util.thread.ScheduledExecutorScheduler.threads:I
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: istore 1
start local 1 3: aload 0
new java.util.concurrent.ScheduledThreadPoolExecutor
dup
iload 1
aload 0
invokedynamic newThread(Lorg/eclipse/jetty/util/thread/ScheduledExecutorScheduler;)Ljava/util/concurrent/ThreadFactory;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Runnable;)Ljava/lang/Thread;
org/eclipse/jetty/util/thread/ScheduledExecutorScheduler.lambda$0(Ljava/lang/Runnable;)Ljava/lang/Thread; (7)
(Ljava/lang/Runnable;)Ljava/lang/Thread;
invokespecial java.util.concurrent.ScheduledThreadPoolExecutor.<init>:(ILjava/util/concurrent/ThreadFactory;)V
putfield org.eclipse.jetty.util.thread.ScheduledExecutorScheduler.scheduler:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
4: aload 0
getfield org.eclipse.jetty.util.thread.ScheduledExecutorScheduler.scheduler:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
iconst_1
invokevirtual java.util.concurrent.ScheduledThreadPoolExecutor.setRemoveOnCancelPolicy:(Z)V
5: aload 0
invokespecial org.eclipse.jetty.util.component.AbstractLifeCycle.doStart:()V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/eclipse/jetty/util/thread/ScheduledExecutorScheduler;
3 7 1 size I
Exceptions:
throws java.lang.Exception
protected void doStop();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.thread.ScheduledExecutorScheduler.scheduler:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
invokevirtual java.util.concurrent.ScheduledThreadPoolExecutor.shutdownNow:()Ljava/util/List;
pop
1: aload 0
invokespecial org.eclipse.jetty.util.component.AbstractLifeCycle.doStop:()V
2: aload 0
aconst_null
putfield org.eclipse.jetty.util.thread.ScheduledExecutorScheduler.scheduler:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/util/thread/ScheduledExecutorScheduler;
Exceptions:
throws java.lang.Exception
public org.eclipse.jetty.util.thread.Scheduler$Task schedule(java.lang.Runnable, long, java.util.concurrent.TimeUnit);
descriptor: (Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Lorg/eclipse/jetty/util/thread/Scheduler$Task;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 0
getfield org.eclipse.jetty.util.thread.ScheduledExecutorScheduler.scheduler:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
astore 5
start local 5 1: aload 5
ifnonnull 3
2: invokedynamic cancel()Lorg/eclipse/jetty/util/thread/Scheduler$Task;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Z
org/eclipse/jetty/util/thread/ScheduledExecutorScheduler.lambda$1()Z (6)
()Z
areturn
3: StackMap locals: java.util.concurrent.ScheduledThreadPoolExecutor
StackMap stack:
aload 5
aload 1
lload 2
aload 4
invokevirtual java.util.concurrent.ScheduledThreadPoolExecutor.schedule:(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture;
astore 6
start local 6 4: new org.eclipse.jetty.util.thread.ScheduledExecutorScheduler$ScheduledFutureTask
dup
aload 6
invokespecial org.eclipse.jetty.util.thread.ScheduledExecutorScheduler$ScheduledFutureTask.<init>:(Ljava/util/concurrent/ScheduledFuture;)V
areturn
end local 6 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/util/thread/ScheduledExecutorScheduler;
0 5 1 task Ljava/lang/Runnable;
0 5 2 delay J
0 5 4 unit Ljava/util/concurrent/TimeUnit;
1 5 5 s Ljava/util/concurrent/ScheduledThreadPoolExecutor;
4 5 6 result Ljava/util/concurrent/ScheduledFuture<*>;
MethodParameters:
Name Flags
task
delay
unit
public java.lang.String dump();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.eclipse.jetty.util.component.Dumpable.dump:(Lorg/eclipse/jetty/util/component/Dumpable;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/thread/ScheduledExecutorScheduler;
public void dump(java.lang.Appendable, java.lang.String);
descriptor: (Ljava/lang/Appendable;Ljava/lang/String;)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.eclipse.jetty.util.thread.ScheduledExecutorScheduler.thread:Ljava/lang/Thread;
astore 3
start local 3 1: aload 3
ifnonnull 3
2: aload 1
aload 0
invokestatic org.eclipse.jetty.util.component.Dumpable.dumpObject:(Ljava/lang/Appendable;Ljava/lang/Object;)V
goto 4
3: StackMap locals: java.lang.Thread
StackMap stack:
aload 1
aload 2
aload 0
aload 3
invokevirtual java.lang.Thread.getStackTrace:()[Ljava/lang/StackTraceElement;
invokestatic org.eclipse.jetty.util.component.Dumpable.dumpObjects:(Ljava/lang/Appendable;Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/util/thread/ScheduledExecutorScheduler;
0 5 1 out Ljava/lang/Appendable;
0 5 2 indent Ljava/lang/String;
1 5 3 thread Ljava/lang/Thread;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
indent
private java.lang.Thread lambda$0(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)Ljava/lang/Thread;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=8, locals=3, args_size=2
start local 0 start local 1 0: aload 0
new java.lang.Thread
dup
aload 0
getfield org.eclipse.jetty.util.thread.ScheduledExecutorScheduler.threadGroup:Ljava/lang/ThreadGroup;
aload 1
new java.lang.StringBuilder
dup
aload 0
getfield org.eclipse.jetty.util.thread.ScheduledExecutorScheduler.name:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.eclipse.jetty.util.thread.ScheduledExecutorScheduler.count:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.incrementAndGet:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.Thread.<init>:(Ljava/lang/ThreadGroup;Ljava/lang/Runnable;Ljava/lang/String;)V
dup_x1
putfield org.eclipse.jetty.util.thread.ScheduledExecutorScheduler.thread:Ljava/lang/Thread;
astore 2
start local 2 1: aload 2
aload 0
getfield org.eclipse.jetty.util.thread.ScheduledExecutorScheduler.daemon:Z
invokevirtual java.lang.Thread.setDaemon:(Z)V
2: aload 2
aload 0
getfield org.eclipse.jetty.util.thread.ScheduledExecutorScheduler.classloader:Ljava/lang/ClassLoader;
invokevirtual java.lang.Thread.setContextClassLoader:(Ljava/lang/ClassLoader;)V
3: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/util/thread/ScheduledExecutorScheduler;
0 4 1 r Ljava/lang/Runnable;
1 4 2 thread Ljava/lang/Thread;
private static boolean lambda$1();
descriptor: ()Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "ScheduledExecutorScheduler.java"
NestMembers:
org.eclipse.jetty.util.thread.ScheduledExecutorScheduler$ScheduledFutureTask
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
private ScheduledFutureTask = org.eclipse.jetty.util.thread.ScheduledExecutorScheduler$ScheduledFutureTask of org.eclipse.jetty.util.thread.ScheduledExecutorScheduler
public abstract Task = org.eclipse.jetty.util.thread.Scheduler$Task of org.eclipse.jetty.util.thread.Scheduler