public class io.vertx.core.impl.VertxThreadFactory implements java.util.concurrent.ThreadFactory
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.core.impl.VertxThreadFactory
super_class: java.lang.Object
{
private final java.lang.String prefix;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.atomic.AtomicInteger threadCount;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.core.impl.BlockedThreadChecker checker;
descriptor: Lio/vertx/core/impl/BlockedThreadChecker;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean worker;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long maxExecTime;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.TimeUnit maxExecTimeUnit;
descriptor: Ljava/util/concurrent/TimeUnit;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(java.lang.String, io.vertx.core.impl.BlockedThreadChecker, boolean, long, java.util.concurrent.TimeUnit);
descriptor: (Ljava/lang/String;Lio/vertx/core/impl/BlockedThreadChecker;ZJLjava/util/concurrent/TimeUnit;)V
flags: (0x0000)
Code:
stack=4, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 6 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.atomic.AtomicInteger
dup
iconst_0
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:(I)V
putfield io.vertx.core.impl.VertxThreadFactory.threadCount:Ljava/util/concurrent/atomic/AtomicInteger;
2: aload 0
aload 1
putfield io.vertx.core.impl.VertxThreadFactory.prefix:Ljava/lang/String;
3: aload 0
aload 2
putfield io.vertx.core.impl.VertxThreadFactory.checker:Lio/vertx/core/impl/BlockedThreadChecker;
4: aload 0
iload 3
putfield io.vertx.core.impl.VertxThreadFactory.worker:Z
5: aload 0
lload 4
putfield io.vertx.core.impl.VertxThreadFactory.maxExecTime:J
6: aload 0
aload 6
putfield io.vertx.core.impl.VertxThreadFactory.maxExecTimeUnit:Ljava/util/concurrent/TimeUnit;
7: return
end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/core/impl/VertxThreadFactory;
0 8 1 prefix Ljava/lang/String;
0 8 2 checker Lio/vertx/core/impl/BlockedThreadChecker;
0 8 3 worker Z
0 8 4 maxExecTime J
0 8 6 maxExecTimeUnit Ljava/util/concurrent/TimeUnit;
MethodParameters:
Name Flags
prefix
checker
worker
maxExecTime
maxExecTimeUnit
public java.lang.Thread newThread(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)Ljava/lang/Thread;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=3, args_size=2
start local 0 start local 1 0: new io.vertx.core.impl.VertxThread
dup
aload 1
new java.lang.StringBuilder
dup
aload 0
getfield io.vertx.core.impl.VertxThreadFactory.prefix:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield io.vertx.core.impl.VertxThreadFactory.threadCount:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.getAndIncrement:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 0
getfield io.vertx.core.impl.VertxThreadFactory.worker:Z
aload 0
getfield io.vertx.core.impl.VertxThreadFactory.maxExecTime:J
aload 0
getfield io.vertx.core.impl.VertxThreadFactory.maxExecTimeUnit:Ljava/util/concurrent/TimeUnit;
invokespecial io.vertx.core.impl.VertxThread.<init>:(Ljava/lang/Runnable;Ljava/lang/String;ZJLjava/util/concurrent/TimeUnit;)V
astore 2
start local 2 1: aload 0
getfield io.vertx.core.impl.VertxThreadFactory.checker:Lio/vertx/core/impl/BlockedThreadChecker;
ifnull 3
2: aload 0
getfield io.vertx.core.impl.VertxThreadFactory.checker:Lio/vertx/core/impl/BlockedThreadChecker;
aload 2
aload 2
invokevirtual io.vertx.core.impl.BlockedThreadChecker.registerThread:(Ljava/lang/Thread;Lio/vertx/core/impl/BlockedThreadChecker$Task;)V
3: StackMap locals: io.vertx.core.impl.VertxThread
StackMap stack:
aload 2
iconst_0
invokevirtual io.vertx.core.impl.VertxThread.setDaemon:(Z)V
4: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/core/impl/VertxThreadFactory;
0 5 1 runnable Ljava/lang/Runnable;
1 5 2 t Lio/vertx/core/impl/VertxThread;
MethodParameters:
Name Flags
runnable
}
SourceFile: "VertxThreadFactory.java"
InnerClasses:
public abstract Task = io.vertx.core.impl.BlockedThreadChecker$Task of io.vertx.core.impl.BlockedThreadChecker