class io.vertx.core.impl.WorkerExecutorImpl implements io.vertx.core.spi.metrics.MetricsProvider, io.vertx.core.impl.WorkerExecutorInternal
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: io.vertx.core.impl.WorkerExecutorImpl
super_class: java.lang.Object
{
private final io.vertx.core.Context ctx;
descriptor: Lio/vertx/core/Context;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.core.impl.VertxImpl$SharedWorkerPool pool;
descriptor: Lio/vertx/core/impl/VertxImpl$SharedWorkerPool;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean closed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>(io.vertx.core.Context, io.vertx.core.impl.VertxImpl$SharedWorkerPool);
descriptor: (Lio/vertx/core/Context;Lio/vertx/core/impl/VertxImpl$SharedWorkerPool;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield io.vertx.core.impl.WorkerExecutorImpl.ctx:Lio/vertx/core/Context;
2: aload 0
aload 2
putfield io.vertx.core.impl.WorkerExecutorImpl.pool:Lio/vertx/core/impl/VertxImpl$SharedWorkerPool;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/impl/WorkerExecutorImpl;
0 4 1 ctx Lio/vertx/core/Context;
0 4 2 pool Lio/vertx/core/impl/VertxImpl$SharedWorkerPool;
MethodParameters:
Name Flags
ctx
pool
public io.vertx.core.spi.metrics.Metrics getMetrics();
descriptor: ()Lio/vertx/core/spi/metrics/Metrics;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.impl.WorkerExecutorImpl.pool:Lio/vertx/core/impl/VertxImpl$SharedWorkerPool;
invokevirtual io.vertx.core.impl.VertxImpl$SharedWorkerPool.metrics:()Lio/vertx/core/spi/metrics/PoolMetrics;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/impl/WorkerExecutorImpl;
public boolean isMetricsEnabled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.impl.WorkerExecutorImpl.pool:Lio/vertx/core/impl/VertxImpl$SharedWorkerPool;
invokevirtual io.vertx.core.impl.VertxImpl$SharedWorkerPool.metrics:()Lio/vertx/core/spi/metrics/PoolMetrics;
astore 1
start local 1 1: aload 1
ifnull 2
iconst_1
ireturn
StackMap locals: io.vertx.core.spi.metrics.PoolMetrics
StackMap stack:
2: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/impl/WorkerExecutorImpl;
1 3 1 metrics Lio/vertx/core/spi/metrics/PoolMetrics;
public io.vertx.core.Vertx vertx();
descriptor: ()Lio/vertx/core/Vertx;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.impl.WorkerExecutorImpl.ctx:Lio/vertx/core/Context;
invokeinterface io.vertx.core.Context.owner:()Lio/vertx/core/Vertx;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/impl/WorkerExecutorImpl;
public io.vertx.core.impl.WorkerPool getPool();
descriptor: ()Lio/vertx/core/impl/WorkerPool;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.impl.WorkerExecutorImpl.pool:Lio/vertx/core/impl/VertxImpl$SharedWorkerPool;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/impl/WorkerExecutorImpl;
public synchronized <T> void executeBlocking(io.vertx.core.Handler<io.vertx.core.Promise<T>>, boolean, io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>);
descriptor: (Lio/vertx/core/Handler;ZLio/vertx/core/Handler;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield io.vertx.core.impl.WorkerExecutorImpl.closed:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "Worker executor closed"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.impl.WorkerExecutorImpl.ctx:Lio/vertx/core/Context;
invokeinterface io.vertx.core.Context.owner:()Lio/vertx/core/Vertx;
invokeinterface io.vertx.core.Vertx.getOrCreateContext:()Lio/vertx/core/Context;
checkcast io.vertx.core.impl.ContextImpl
astore 4
start local 4 3: aload 4
aload 1
aload 3
aload 0
getfield io.vertx.core.impl.WorkerExecutorImpl.pool:Lio/vertx/core/impl/VertxImpl$SharedWorkerPool;
invokevirtual io.vertx.core.impl.VertxImpl$SharedWorkerPool.executor:()Ljava/util/concurrent/ExecutorService;
iload 2
ifeq 4
aload 4
getfield io.vertx.core.impl.ContextImpl.orderedTasks:Lio/vertx/core/impl/TaskQueue;
goto 5
StackMap locals: io.vertx.core.impl.WorkerExecutorImpl io.vertx.core.Handler int io.vertx.core.Handler io.vertx.core.impl.ContextImpl
StackMap stack: io.vertx.core.impl.ContextImpl io.vertx.core.Handler io.vertx.core.Handler java.util.concurrent.ExecutorService
4: aconst_null
StackMap locals: io.vertx.core.impl.WorkerExecutorImpl io.vertx.core.Handler int io.vertx.core.Handler io.vertx.core.impl.ContextImpl
StackMap stack: io.vertx.core.impl.ContextImpl io.vertx.core.Handler io.vertx.core.Handler java.util.concurrent.ExecutorService io.vertx.core.impl.TaskQueue
5: aload 0
getfield io.vertx.core.impl.WorkerExecutorImpl.pool:Lio/vertx/core/impl/VertxImpl$SharedWorkerPool;
invokevirtual io.vertx.core.impl.VertxImpl$SharedWorkerPool.metrics:()Lio/vertx/core/spi/metrics/PoolMetrics;
invokevirtual io.vertx.core.impl.ContextImpl.executeBlocking:(Lio/vertx/core/Handler;Lio/vertx/core/Handler;Ljava/util/concurrent/Executor;Lio/vertx/core/impl/TaskQueue;Lio/vertx/core/spi/metrics/PoolMetrics;)V
6: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/core/impl/WorkerExecutorImpl;
0 7 1 blockingCodeHandler Lio/vertx/core/Handler<Lio/vertx/core/Promise<TT;>;>;
0 7 2 ordered Z
0 7 3 asyncResultHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<TT;>;>;
3 7 4 context Lio/vertx/core/impl/ContextImpl;
Signature: <T:Ljava/lang/Object;>(Lio/vertx/core/Handler<Lio/vertx/core/Promise<TT;>;>;ZLio/vertx/core/Handler<Lio/vertx/core/AsyncResult<TT;>;>;)V
MethodParameters:
Name Flags
blockingCodeHandler
ordered
asyncResultHandler
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
dup
astore 1
monitorenter
1: aload 0
getfield io.vertx.core.impl.WorkerExecutorImpl.closed:Z
ifne 4
2: aload 0
iconst_1
putfield io.vertx.core.impl.WorkerExecutorImpl.closed:Z
3: goto 6
4: StackMap locals: io.vertx.core.impl.WorkerExecutorImpl
StackMap stack:
aload 1
monitorexit
5: return
6: StackMap locals:
StackMap stack:
aload 1
monitorexit
7: goto 10
StackMap locals:
StackMap stack: java.lang.Throwable
8: aload 1
monitorexit
9: athrow
10: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.impl.WorkerExecutorImpl.ctx:Lio/vertx/core/Context;
aload 0
invokeinterface io.vertx.core.Context.removeCloseHook:(Lio/vertx/core/Closeable;)Z
pop
11: aload 0
getfield io.vertx.core.impl.WorkerExecutorImpl.pool:Lio/vertx/core/impl/VertxImpl$SharedWorkerPool;
invokevirtual io.vertx.core.impl.VertxImpl$SharedWorkerPool.release:()V
12: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lio/vertx/core/impl/WorkerExecutorImpl;
Exception table:
from to target type
1 5 8 any
6 7 8 any
8 9 8 any
public void close(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
descriptor: (Lio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.vertx.core.impl.WorkerExecutorImpl.close:()V
1: aload 1
invokestatic io.vertx.core.Future.succeededFuture:()Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/impl/WorkerExecutorImpl;
0 3 1 completionHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
Signature: (Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)V
MethodParameters:
Name Flags
completionHandler
}
SourceFile: "WorkerExecutorImpl.java"
InnerClasses:
SharedWorkerPool = io.vertx.core.impl.VertxImpl$SharedWorkerPool of io.vertx.core.impl.VertxImpl