class io.vertx.core.impl.WorkerContext extends io.vertx.core.impl.ContextImpl
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: io.vertx.core.impl.WorkerContext
super_class: io.vertx.core.impl.ContextImpl
{
void <init>(io.vertx.core.impl.VertxInternal, io.vertx.core.impl.WorkerPool, io.vertx.core.impl.WorkerPool, java.lang.String, io.vertx.core.json.JsonObject, java.lang.ClassLoader);
descriptor: (Lio/vertx/core/impl/VertxInternal;Lio/vertx/core/impl/WorkerPool;Lio/vertx/core/impl/WorkerPool;Ljava/lang/String;Lio/vertx/core/json/JsonObject;Ljava/lang/ClassLoader;)V
flags: (0x0000)
Code:
stack=7, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 1
aload 2
aload 3
aload 4
aload 5
aload 6
invokespecial io.vertx.core.impl.ContextImpl.<init>:(Lio/vertx/core/impl/VertxInternal;Lio/vertx/core/impl/WorkerPool;Lio/vertx/core/impl/WorkerPool;Ljava/lang/String;Lio/vertx/core/json/JsonObject;Ljava/lang/ClassLoader;)V
1: return
end local 6 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 2 0 this Lio/vertx/core/impl/WorkerContext;
0 2 1 vertx Lio/vertx/core/impl/VertxInternal;
0 2 2 internalBlockingPool Lio/vertx/core/impl/WorkerPool;
0 2 3 workerPool Lio/vertx/core/impl/WorkerPool;
0 2 4 deploymentID Ljava/lang/String;
0 2 5 config Lio/vertx/core/json/JsonObject;
0 2 6 tccl Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
vertx
internalBlockingPool
workerPool
deploymentID
config
tccl
final <T> java.lang.Runnable wrapTask(T, io.vertx.core.Handler<T>, io.vertx.core.spi.metrics.PoolMetrics);
descriptor: (Ljava/lang/Object;Lio/vertx/core/Handler;Lio/vertx/core/spi/metrics/PoolMetrics;)Ljava/lang/Runnable;
flags: (0x0010) ACC_FINAL
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
ifnull 1
aload 3
invokeinterface io.vertx.core.spi.metrics.PoolMetrics.submitted:()Ljava/lang/Object;
goto 2
StackMap locals:
StackMap stack:
1: aconst_null
StackMap locals:
StackMap stack: java.lang.Object
2: astore 4
start local 4 3: aload 0
aload 3
aload 4
aload 1
aload 2
invokedynamic run(Lio/vertx/core/impl/WorkerContext;Lio/vertx/core/spi/metrics/PoolMetrics;Ljava/lang/Object;Ljava/lang/Object;Lio/vertx/core/Handler;)Ljava/lang/Runnable;
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:
()V
io/vertx/core/impl/WorkerContext.lambda$0(Lio/vertx/core/spi/metrics/PoolMetrics;Ljava/lang/Object;Ljava/lang/Object;Lio/vertx/core/Handler;)V (7)
()V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/impl/WorkerContext;
0 4 1 arg TT;
0 4 2 hTask Lio/vertx/core/Handler<TT;>;
0 4 3 metrics Lio/vertx/core/spi/metrics/PoolMetrics;
3 4 4 queueMetric Ljava/lang/Object;
Signature: <T:Ljava/lang/Object;>(TT;Lio/vertx/core/Handler<TT;>;Lio/vertx/core/spi/metrics/PoolMetrics;)Ljava/lang/Runnable;
MethodParameters:
Name Flags
arg
hTask
metrics
void executeAsync(io.vertx.core.Handler<java.lang.Void>);
descriptor: (Lio/vertx/core/Handler;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aconst_null
aload 1
invokevirtual io.vertx.core.impl.WorkerContext.execute:(Ljava/lang/Object;Lio/vertx/core/Handler;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/impl/WorkerContext;
0 2 1 task Lio/vertx/core/Handler<Ljava/lang/Void;>;
Signature: (Lio/vertx/core/Handler<Ljava/lang/Void;>;)V
MethodParameters:
Name Flags
task
public boolean isEventLoopContext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/impl/WorkerContext;
public boolean isMultiThreadedWorkerContext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/impl/WorkerContext;
<T> void execute(T, io.vertx.core.Handler<T>);
descriptor: (Ljava/lang/Object;Lio/vertx/core/Handler;)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.core.impl.WorkerContext.orderedTasks:Lio/vertx/core/impl/TaskQueue;
aload 0
aload 1
aload 2
aload 0
getfield io.vertx.core.impl.WorkerContext.workerPool:Lio/vertx/core/impl/WorkerPool;
invokevirtual io.vertx.core.impl.WorkerPool.metrics:()Lio/vertx/core/spi/metrics/PoolMetrics;
invokevirtual io.vertx.core.impl.WorkerContext.wrapTask:(Ljava/lang/Object;Lio/vertx/core/Handler;Lio/vertx/core/spi/metrics/PoolMetrics;)Ljava/lang/Runnable;
aload 0
getfield io.vertx.core.impl.WorkerContext.workerPool:Lio/vertx/core/impl/WorkerPool;
invokevirtual io.vertx.core.impl.WorkerPool.executor:()Ljava/util/concurrent/ExecutorService;
invokevirtual io.vertx.core.impl.TaskQueue.execute:(Ljava/lang/Runnable;Ljava/util/concurrent/Executor;)V
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/WorkerContext;
0 2 1 value TT;
0 2 2 task Lio/vertx/core/Handler<TT;>;
Signature: <T:Ljava/lang/Object;>(TT;Lio/vertx/core/Handler<TT;>;)V
MethodParameters:
Name Flags
value
task
private void lambda$0(io.vertx.core.spi.metrics.PoolMetrics, java.lang.Object, java.lang.Object, io.vertx.core.Handler);
descriptor: (Lio/vertx/core/spi/metrics/PoolMetrics;Ljava/lang/Object;Ljava/lang/Object;Lio/vertx/core/Handler;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=7, args_size=5
start local 0 0: aconst_null
astore 5
start local 5 1: aload 1
ifnull 3
2: aload 1
aload 2
invokeinterface io.vertx.core.spi.metrics.PoolMetrics.begin:(Ljava/lang/Object;)Ljava/lang/Object;
astore 5
3: StackMap locals: java.lang.Object
StackMap stack:
aload 0
aload 3
aload 4
invokevirtual io.vertx.core.impl.WorkerContext.executeTask:(Ljava/lang/Object;Lio/vertx/core/Handler;)Z
istore 6
start local 6 4: aload 1
ifnull 6
5: aload 1
aload 5
iload 6
invokeinterface io.vertx.core.spi.metrics.PoolMetrics.end:(Ljava/lang/Object;Z)V
end local 6 end local 5 6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/core/impl/WorkerContext;
1 6 5 execMetric Ljava/lang/Object;
4 6 6 succeeded Z
}
SourceFile: "WorkerContext.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles