public class io.vertx.core.impl.BlockedThreadChecker
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.core.impl.BlockedThreadChecker
super_class: java.lang.Object
{
private static final io.vertx.core.impl.logging.Logger log;
descriptor: Lio/vertx/core/impl/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.util.Map<java.lang.Thread, io.vertx.core.impl.BlockedThreadChecker$Task> threads;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Thread;Lio/vertx/core/impl/BlockedThreadChecker$Task;>;
private final java.util.Timer timer;
descriptor: Ljava/util/Timer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lio/vertx/core/impl/BlockedThreadChecker;
invokestatic io.vertx.core.impl.logging.LoggerFactory.getLogger:(Ljava/lang/Class;)Lio/vertx/core/impl/logging/Logger;
putstatic io.vertx.core.impl.BlockedThreadChecker.log:Lio/vertx/core/impl/logging/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(long, java.util.concurrent.TimeUnit, long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;JLjava/util/concurrent/TimeUnit;)V
flags: (0x0000)
Code:
stack=8, locals=7, args_size=5
start local 0 start local 1 start local 3 start local 4 start local 6 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.WeakHashMap
dup
invokespecial java.util.WeakHashMap.<init>:()V
putfield io.vertx.core.impl.BlockedThreadChecker.threads:Ljava/util/Map;
2: aload 0
new java.util.Timer
dup
ldc "vertx-blocked-thread-checker"
iconst_1
invokespecial java.util.Timer.<init>:(Ljava/lang/String;Z)V
putfield io.vertx.core.impl.BlockedThreadChecker.timer:Ljava/util/Timer;
3: aload 0
getfield io.vertx.core.impl.BlockedThreadChecker.timer:Ljava/util/Timer;
new io.vertx.core.impl.BlockedThreadChecker$1
dup
aload 0
aload 6
lload 4
invokespecial io.vertx.core.impl.BlockedThreadChecker$1.<init>:(Lio/vertx/core/impl/BlockedThreadChecker;Ljava/util/concurrent/TimeUnit;J)V
4: aload 3
lload 1
invokevirtual java.util.concurrent.TimeUnit.toMillis:(J)J
aload 3
lload 1
invokevirtual java.util.concurrent.TimeUnit.toMillis:(J)J
5: invokevirtual java.util.Timer.schedule:(Ljava/util/TimerTask;JJ)V
6: return
end local 6 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/core/impl/BlockedThreadChecker;
0 7 1 interval J
0 7 3 intervalUnit Ljava/util/concurrent/TimeUnit;
0 7 4 warningExceptionTime J
0 7 6 warningExceptionTimeUnit Ljava/util/concurrent/TimeUnit;
MethodParameters:
Name Flags
interval
intervalUnit
warningExceptionTime
warningExceptionTimeUnit
synchronized void registerThread(java.lang.Thread, io.vertx.core.impl.BlockedThreadChecker$Task);
descriptor: (Ljava/lang/Thread;Lio/vertx/core/impl/BlockedThreadChecker$Task;)V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.core.impl.BlockedThreadChecker.threads:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/impl/BlockedThreadChecker;
0 2 1 thread Ljava/lang/Thread;
0 2 2 checked Lio/vertx/core/impl/BlockedThreadChecker$Task;
MethodParameters:
Name Flags
thread
checked
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.impl.BlockedThreadChecker.timer:Ljava/util/Timer;
invokevirtual java.util.Timer.cancel:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/impl/BlockedThreadChecker;
}
SourceFile: "BlockedThreadChecker.java"
NestMembers:
io.vertx.core.impl.BlockedThreadChecker$1 io.vertx.core.impl.BlockedThreadChecker$Task
InnerClasses:
io.vertx.core.impl.BlockedThreadChecker$1
public abstract Task = io.vertx.core.impl.BlockedThreadChecker$Task of io.vertx.core.impl.BlockedThreadChecker