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.impl.VertxInternal vertx;
descriptor: Lio/vertx/core/impl/VertxInternal;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.core.impl.CloseHooks closeHooks;
descriptor: Lio/vertx/core/impl/CloseHooks;
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.impl.VertxInternal, io.vertx.core.impl.CloseHooks, io.vertx.core.impl.VertxImpl$SharedWorkerPool);
descriptor: (Lio/vertx/core/impl/VertxInternal;Lio/vertx/core/impl/CloseHooks;Lio/vertx/core/impl/VertxImpl$SharedWorkerPool;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield io.vertx.core.impl.WorkerExecutorImpl.vertx:Lio/vertx/core/impl/VertxInternal;
2: aload 0
aload 2
putfield io.vertx.core.impl.WorkerExecutorImpl.closeHooks:Lio/vertx/core/impl/CloseHooks;
3: aload 0
aload 3
putfield io.vertx.core.impl.WorkerExecutorImpl.pool:Lio/vertx/core/impl/VertxImpl$SharedWorkerPool;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/core/impl/WorkerExecutorImpl;
0 5 1 vertx Lio/vertx/core/impl/VertxInternal;
0 5 2 closeHooks Lio/vertx/core/impl/CloseHooks;
0 5 3 pool Lio/vertx/core/impl/VertxImpl$SharedWorkerPool;
MethodParameters:
Name Flags
vertx
closeHooks
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.vertx:Lio/vertx/core/impl/VertxInternal;
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 <T> io.vertx.core.Future<T> executeBlocking(io.vertx.core.Handler<io.vertx.core.Promise<T>>, boolean);
descriptor: (Lio/vertx/core/Handler;Z)Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 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.vertx:Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.getOrCreateContext:()Lio/vertx/core/impl/ContextInternal;
astore 3
start local 3 3: aload 3
instanceof io.vertx.core.impl.DuplicatedContext
ifeq 4
aload 3
checkcast io.vertx.core.impl.DuplicatedContext
getfield io.vertx.core.impl.DuplicatedContext.delegate:Lio/vertx/core/impl/ContextImpl;
goto 5
StackMap locals: io.vertx.core.impl.ContextInternal
StackMap stack:
4: aload 3
checkcast io.vertx.core.impl.ContextImpl
StackMap locals:
StackMap stack: io.vertx.core.impl.ContextImpl
5: astore 4
start local 4 6: aload 3
aload 1
aload 0
getfield io.vertx.core.impl.WorkerExecutorImpl.pool:Lio/vertx/core/impl/VertxImpl$SharedWorkerPool;
iload 2
ifeq 7
aload 4
getfield io.vertx.core.impl.ContextImpl.orderedTasks:Lio/vertx/core/impl/TaskQueue;
goto 8
StackMap locals: io.vertx.core.impl.WorkerExecutorImpl io.vertx.core.Handler int io.vertx.core.impl.ContextInternal io.vertx.core.impl.ContextImpl
StackMap stack: io.vertx.core.impl.ContextInternal io.vertx.core.Handler io.vertx.core.impl.VertxImpl$SharedWorkerPool
7: aconst_null
StackMap locals: io.vertx.core.impl.WorkerExecutorImpl io.vertx.core.Handler int io.vertx.core.impl.ContextInternal io.vertx.core.impl.ContextImpl
StackMap stack: io.vertx.core.impl.ContextInternal io.vertx.core.Handler io.vertx.core.impl.VertxImpl$SharedWorkerPool io.vertx.core.impl.TaskQueue
8: invokestatic io.vertx.core.impl.ContextImpl.executeBlocking:(Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler;Lio/vertx/core/impl/WorkerPool;Lio/vertx/core/impl/TaskQueue;)Lio/vertx/core/Future;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/vertx/core/impl/WorkerExecutorImpl;
0 9 1 blockingCodeHandler Lio/vertx/core/Handler<Lio/vertx/core/Promise<TT;>;>;
0 9 2 ordered Z
3 9 3 context Lio/vertx/core/impl/ContextInternal;
6 9 4 impl Lio/vertx/core/impl/ContextImpl;
Signature: <T:Ljava/lang/Object;>(Lio/vertx/core/Handler<Lio/vertx/core/Promise<TT;>;>;Z)Lio/vertx/core/Future<TT;>;
RuntimeVisibleTypeAnnotations:
METHOD_RETURN, location=[TYPE_ARGUMENT(0)]
io.vertx.codegen.annotations.Nullable()
MethodParameters:
Name Flags
blockingCodeHandler
ordered
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=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iload 2
invokevirtual io.vertx.core.impl.WorkerExecutorImpl.executeBlocking:(Lio/vertx/core/Handler;Z)Lio/vertx/core/Future;
astore 4
start local 4 1: aload 3
ifnull 3
2: aload 4
aload 3
invokeinterface io.vertx.core.Future.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
3: StackMap locals: io.vertx.core.Future
StackMap stack:
return
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/WorkerExecutorImpl;
0 4 1 blockingCodeHandler Lio/vertx/core/Handler<Lio/vertx/core/Promise<TT;>;>;
0 4 2 ordered Z
0 4 3 asyncResultHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<TT;>;>;
1 4 4 fut Lio/vertx/core/Future<TT;>;
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 io.vertx.core.Future<java.lang.Void> close();
descriptor: ()Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.impl.WorkerExecutorImpl.vertx:Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.promise:()Lio/vertx/core/impl/future/PromiseInternal;
astore 1
start local 1 1: aload 0
aload 1
invokevirtual io.vertx.core.impl.WorkerExecutorImpl.close:(Lio/vertx/core/Promise;)V
2: aload 1
invokeinterface io.vertx.core.impl.future.PromiseInternal.future:()Lio/vertx/core/Future;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/impl/WorkerExecutorImpl;
1 3 1 promise Lio/vertx/core/impl/future/PromiseInternal<Ljava/lang/Void;>;
Signature: ()Lio/vertx/core/Future<Ljava/lang/Void;>;
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:()Lio/vertx/core/Future;
aload 1
invokeinterface io.vertx.core.Future.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/impl/WorkerExecutorImpl;
0 2 1 handler 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
handler
public void close(io.vertx.core.Promise<java.lang.Void>);
descriptor: (Lio/vertx/core/Promise;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dup
astore 2
monitorenter
1: aload 0
getfield io.vertx.core.impl.WorkerExecutorImpl.closed:Z
ifne 5
2: aload 0
iconst_1
putfield io.vertx.core.impl.WorkerExecutorImpl.closed:Z
3: aload 0
getfield io.vertx.core.impl.WorkerExecutorImpl.closeHooks:Lio/vertx/core/impl/CloseHooks;
aload 0
invokevirtual io.vertx.core.impl.CloseHooks.remove:(Lio/vertx/core/Closeable;)V
4: aload 0
getfield io.vertx.core.impl.WorkerExecutorImpl.pool:Lio/vertx/core/impl/VertxImpl$SharedWorkerPool;
invokevirtual io.vertx.core.impl.VertxImpl$SharedWorkerPool.release:()V
5: StackMap locals: io.vertx.core.impl.WorkerExecutorImpl
StackMap stack:
aload 2
monitorexit
6: goto 9
StackMap locals:
StackMap stack: java.lang.Throwable
7: aload 2
monitorexit
8: athrow
9: StackMap locals:
StackMap stack:
aload 1
invokeinterface io.vertx.core.Promise.complete:()V
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/vertx/core/impl/WorkerExecutorImpl;
0 11 1 completion Lio/vertx/core/Promise<Ljava/lang/Void;>;
Exception table:
from to target type
1 6 7 any
7 8 7 any
Signature: (Lio/vertx/core/Promise<Ljava/lang/Void;>;)V
MethodParameters:
Name Flags
completion
}
SourceFile: "WorkerExecutorImpl.java"
InnerClasses:
SharedWorkerPool = io.vertx.core.impl.VertxImpl$SharedWorkerPool of io.vertx.core.impl.VertxImpl