class io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder implements io.vertx.core.shareddata.Shareable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder
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.shareddata.LocalMap<java.lang.String, io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder> map;
descriptor: Lio/vertx/core/shareddata/LocalMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lio/vertx/core/shareddata/LocalMap<Ljava/lang/String;Lio/vertx/ext/jdbc/impl/JDBCClientImpl$DataSourceHolder;>;
io.vertx.ext.jdbc.spi.DataSourceProvider provider;
descriptor: Lio/vertx/ext/jdbc/spi/DataSourceProvider;
flags: (0x0000)
io.vertx.core.json.JsonObject config;
descriptor: Lio/vertx/core/json/JsonObject;
flags: (0x0000)
javax.sql.DataSource ds;
descriptor: Ljavax/sql/DataSource;
flags: (0x0000)
io.vertx.core.spi.metrics.PoolMetrics metrics;
descriptor: Lio/vertx/core/spi/metrics/PoolMetrics;
flags: (0x0000)
java.util.concurrent.ExecutorService exec;
descriptor: Ljava/util/concurrent/ExecutorService;
flags: (0x0000)
private int refCount;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final io.vertx.ext.jdbc.impl.JDBCClientImpl this$0;
descriptor: Lio/vertx/ext/jdbc/impl/JDBCClientImpl;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(io.vertx.ext.jdbc.impl.JDBCClientImpl, io.vertx.core.impl.VertxInternal, javax.sql.DataSource);
descriptor: (Lio/vertx/ext/jdbc/impl/JDBCClientImpl;Lio/vertx/core/impl/VertxInternal;Ljavax/sql/DataSource;)V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=4
start local 0 start local 2 start local 3 0: aload 0
aload 1
putfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.this$0:Lio/vertx/ext/jdbc/impl/JDBCClientImpl;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_1
putfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.refCount:I
2: aload 0
aload 3
putfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.ds:Ljavax/sql/DataSource;
3: aload 0
aload 2
invokeinterface io.vertx.core.impl.VertxInternal.metricsSPI:()Lio/vertx/core/spi/metrics/VertxMetrics;
ifnull 4
aload 2
invokeinterface io.vertx.core.impl.VertxInternal.metricsSPI:()Lio/vertx/core/spi/metrics/VertxMetrics;
ldc "datasource"
invokestatic java.util.UUID.randomUUID:()Ljava/util/UUID;
invokevirtual java.util.UUID.toString:()Ljava/lang/String;
iconst_m1
invokeinterface io.vertx.core.spi.metrics.VertxMetrics.createPoolMetrics:(Ljava/lang/String;Ljava/lang/String;I)Lio/vertx/core/spi/metrics/PoolMetrics;
goto 5
StackMap locals: io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder io.vertx.ext.jdbc.impl.JDBCClientImpl io.vertx.core.impl.VertxInternal javax.sql.DataSource
StackMap stack: io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder
4: aconst_null
StackMap locals: io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder io.vertx.ext.jdbc.impl.JDBCClientImpl io.vertx.core.impl.VertxInternal javax.sql.DataSource
StackMap stack: io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder io.vertx.core.spi.metrics.PoolMetrics
5: putfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.metrics:Lio/vertx/core/spi/metrics/PoolMetrics;
6: aload 0
aload 2
putfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.vertx:Lio/vertx/core/impl/VertxInternal;
7: aload 0
aconst_null
putfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.map:Lio/vertx/core/shareddata/LocalMap;
8: aload 0
aconst_null
putfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.name:Ljava/lang/String;
9: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/vertx/ext/jdbc/impl/JDBCClientImpl$DataSourceHolder;
0 10 2 vertx Lio/vertx/core/impl/VertxInternal;
0 10 3 ds Ljavax/sql/DataSource;
MethodParameters:
Name Flags
this$0 final
vertx
ds
void <init>(io.vertx.core.impl.VertxInternal, io.vertx.core.json.JsonObject, io.vertx.core.shareddata.LocalMap<java.lang.String, io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder>, java.lang.String);
descriptor: (Lio/vertx/ext/jdbc/impl/JDBCClientImpl;Lio/vertx/core/impl/VertxInternal;Lio/vertx/core/json/JsonObject;Lio/vertx/core/shareddata/LocalMap;Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=3, locals=6, args_size=6
start local 0 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
putfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.this$0:Lio/vertx/ext/jdbc/impl/JDBCClientImpl;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_1
putfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.refCount:I
2: aload 0
aload 3
putfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.config:Lio/vertx/core/json/JsonObject;
3: aload 0
aload 4
putfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.map:Lio/vertx/core/shareddata/LocalMap;
4: aload 0
aload 2
putfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.vertx:Lio/vertx/core/impl/VertxInternal;
5: aload 0
aload 5
putfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.name:Ljava/lang/String;
6: aload 4
aload 5
aload 0
invokeinterface io.vertx.core.shareddata.LocalMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: return
end local 5 end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/ext/jdbc/impl/JDBCClientImpl$DataSourceHolder;
0 8 2 vertx Lio/vertx/core/impl/VertxInternal;
0 8 3 config Lio/vertx/core/json/JsonObject;
0 8 4 map Lio/vertx/core/shareddata/LocalMap<Ljava/lang/String;Lio/vertx/ext/jdbc/impl/JDBCClientImpl$DataSourceHolder;>;
0 8 5 name Ljava/lang/String;
Signature: (Lio/vertx/core/impl/VertxInternal;Lio/vertx/core/json/JsonObject;Lio/vertx/core/shareddata/LocalMap<Ljava/lang/String;Lio/vertx/ext/jdbc/impl/JDBCClientImpl$DataSourceHolder;>;Ljava/lang/String;)V
MethodParameters:
Name Flags
this$0 final
vertx
config
map
name
synchronized javax.sql.DataSource ds();
descriptor: ()Ljavax/sql/DataSource;
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=5, locals=5, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.ds:Ljavax/sql/DataSource;
ifnonnull 29
1: aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.config:Lio/vertx/core/json/JsonObject;
ldc "provider_class"
invokevirtual io.vertx.core.json.JsonObject.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 2: aload 1
ifnonnull 4
3: ldc "io.vertx.ext.jdbc.spi.impl.C3P0DataSourceProvider"
astore 1
4: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.vertx:Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.metricsSPI:()Lio/vertx/core/spi/metrics/VertxMetrics;
astore 2
start local 2 5: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
ifnull 18
6: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
aload 1
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 3
start local 3 7: aload 0
aload 3
invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
checkcast io.vertx.ext.jdbc.spi.DataSourceProvider
putfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.provider:Lio/vertx/ext/jdbc/spi/DataSourceProvider;
8: aload 0
aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.provider:Lio/vertx/ext/jdbc/spi/DataSourceProvider;
aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.config:Lio/vertx/core/json/JsonObject;
invokeinterface io.vertx.ext.jdbc.spi.DataSourceProvider.getDataSource:(Lio/vertx/core/json/JsonObject;)Ljavax/sql/DataSource;
putfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.ds:Ljavax/sql/DataSource;
9: aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.provider:Lio/vertx/ext/jdbc/spi/DataSourceProvider;
aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.ds:Ljavax/sql/DataSource;
aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.config:Lio/vertx/core/json/JsonObject;
invokeinterface io.vertx.ext.jdbc.spi.DataSourceProvider.maximumPoolSize:(Ljavax/sql/DataSource;Lio/vertx/core/json/JsonObject;)I
istore 4
start local 4 10: aload 0
aload 2
ifnull 11
aload 2
ldc "datasource"
aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.name:Ljava/lang/String;
iload 4
invokeinterface io.vertx.core.spi.metrics.VertxMetrics.createPoolMetrics:(Ljava/lang/String;Ljava/lang/String;I)Lio/vertx/core/spi/metrics/PoolMetrics;
goto 12
StackMap locals: io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder java.lang.String io.vertx.core.spi.metrics.VertxMetrics java.lang.Class int
StackMap stack: io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder
11: aconst_null
StackMap locals: io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder java.lang.String io.vertx.core.spi.metrics.VertxMetrics java.lang.Class int
StackMap stack: io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder io.vertx.core.spi.metrics.PoolMetrics
12: putfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.metrics:Lio/vertx/core/spi/metrics/PoolMetrics;
13: aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.ds:Ljavax/sql/DataSource;
14: areturn
end local 4 end local 3 15: StackMap locals: io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder java.lang.String io.vertx.core.spi.metrics.VertxMetrics
StackMap stack: java.lang.ClassNotFoundException
pop
goto 18
16: StackMap locals:
StackMap stack: java.lang.Exception
astore 3
start local 3 17: new java.lang.RuntimeException
dup
aload 3
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 3 18: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
aload 1
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 3
start local 3 19: aload 0
aload 3
invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
checkcast io.vertx.ext.jdbc.spi.DataSourceProvider
putfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.provider:Lio/vertx/ext/jdbc/spi/DataSourceProvider;
20: aload 0
aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.provider:Lio/vertx/ext/jdbc/spi/DataSourceProvider;
aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.config:Lio/vertx/core/json/JsonObject;
invokeinterface io.vertx.ext.jdbc.spi.DataSourceProvider.getDataSource:(Lio/vertx/core/json/JsonObject;)Ljavax/sql/DataSource;
putfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.ds:Ljavax/sql/DataSource;
21: aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.provider:Lio/vertx/ext/jdbc/spi/DataSourceProvider;
aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.ds:Ljavax/sql/DataSource;
aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.config:Lio/vertx/core/json/JsonObject;
invokeinterface io.vertx.ext.jdbc.spi.DataSourceProvider.maximumPoolSize:(Ljavax/sql/DataSource;Lio/vertx/core/json/JsonObject;)I
istore 4
start local 4 22: aload 0
aload 2
ifnull 23
aload 2
ldc "datasource"
aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.name:Ljava/lang/String;
iload 4
invokeinterface io.vertx.core.spi.metrics.VertxMetrics.createPoolMetrics:(Ljava/lang/String;Ljava/lang/String;I)Lio/vertx/core/spi/metrics/PoolMetrics;
goto 24
StackMap locals: io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder java.lang.String io.vertx.core.spi.metrics.VertxMetrics java.lang.Class int
StackMap stack: io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder
23: aconst_null
StackMap locals: io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder java.lang.String io.vertx.core.spi.metrics.VertxMetrics java.lang.Class int
StackMap stack: io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder io.vertx.core.spi.metrics.PoolMetrics
24: putfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.metrics:Lio/vertx/core/spi/metrics/PoolMetrics;
25: aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.ds:Ljavax/sql/DataSource;
26: areturn
end local 4 end local 3 27: StackMap locals: io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder java.lang.String io.vertx.core.spi.metrics.VertxMetrics
StackMap stack: java.lang.Exception
astore 3
start local 3 28: new java.lang.RuntimeException
dup
aload 3
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 3 end local 2 end local 1 29: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.ds:Ljavax/sql/DataSource;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lio/vertx/ext/jdbc/impl/JDBCClientImpl$DataSourceHolder;
2 29 1 providerClass Ljava/lang/String;
5 29 2 vertxMetrics Lio/vertx/core/spi/metrics/VertxMetrics;
7 15 3 clazz Ljava/lang/Class;
10 15 4 poolSize I
17 18 3 e Ljava/lang/Exception;
19 27 3 clazz Ljava/lang/Class;
22 27 4 poolSize I
28 29 3 e Ljava/lang/Exception;
Exception table:
from to target type
6 14 15 Class java.lang.ClassNotFoundException
6 14 16 Class java.lang.InstantiationException
6 14 16 Class java.sql.SQLException
6 14 16 Class java.lang.IllegalAccessException
18 26 27 Class java.lang.ClassNotFoundException
18 26 27 Class java.lang.InstantiationException
18 26 27 Class java.sql.SQLException
18 26 27 Class java.lang.IllegalAccessException
synchronized java.util.concurrent.ExecutorService exec();
descriptor: ()Ljava/util/concurrent/ExecutorService;
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=10, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.exec:Ljava/util/concurrent/ExecutorService;
ifnonnull 6
1: aload 0
new java.util.concurrent.ThreadPoolExecutor
dup
iconst_1
iconst_1
2: ldc 1000
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
3: new java.util.concurrent.LinkedBlockingQueue
dup
invokespecial java.util.concurrent.LinkedBlockingQueue.<init>:()V
4: invokedynamic newThread()Ljava/util/concurrent/ThreadFactory;
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:
(Ljava/lang/Runnable;)Ljava/lang/Thread;
io/vertx/ext/jdbc/impl/JDBCClientImpl$DataSourceHolder.lambda$0(Ljava/lang/Runnable;)Ljava/lang/Thread; (6)
(Ljava/lang/Runnable;)Ljava/lang/Thread;
invokespecial java.util.concurrent.ThreadPoolExecutor.<init>:(IIJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/BlockingQueue;Ljava/util/concurrent/ThreadFactory;)V
5: putfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.exec:Ljava/util/concurrent/ExecutorService;
6: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.exec:Ljava/util/concurrent/ExecutorService;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/ext/jdbc/impl/JDBCClientImpl$DataSourceHolder;
void incRefCount();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
dup
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.refCount:I
iconst_1
iadd
putfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.refCount:I
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/jdbc/impl/JDBCClientImpl$DataSourceHolder;
void close(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
descriptor: (Lio/vertx/core/Handler;)V
flags: (0x0000)
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.vertx:Lio/vertx/core/impl/VertxInternal;
dup
astore 2
monitorenter
1: aload 0
dup
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.refCount:I
iconst_1
isub
dup_x1
putfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.refCount:I
ifne 25
2: aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.metrics:Lio/vertx/core/spi/metrics/PoolMetrics;
ifnull 4
3: aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.metrics:Lio/vertx/core/spi/metrics/PoolMetrics;
invokeinterface io.vertx.core.spi.metrics.PoolMetrics.close:()V
4: StackMap locals: io.vertx.core.impl.VertxInternal
StackMap stack:
invokestatic io.vertx.core.Promise.promise:()Lio/vertx/core/Promise;
astore 3
start local 3 5: invokestatic io.vertx.core.Promise.promise:()Lio/vertx/core/Promise;
astore 4
start local 4 6: aload 1
ifnull 8
7: aload 3
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
aload 4
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
invokestatic io.vertx.core.CompositeFuture.all:(Lio/vertx/core/Future;Lio/vertx/core/Future;)Lio/vertx/core/CompositeFuture;
invokedynamic apply()Ljava/util/function/Function;
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:
(Ljava/lang/Object;)Ljava/lang/Object;
io/vertx/ext/jdbc/impl/JDBCClientImpl$DataSourceHolder.lambda$1(Lio/vertx/core/CompositeFuture;)Ljava/lang/Void; (6)
(Lio/vertx/core/CompositeFuture;)Ljava/lang/Void;
invokeinterface io.vertx.core.CompositeFuture.map:(Ljava/util/function/Function;)Lio/vertx/core/Future;
aload 1
invokeinterface io.vertx.core.Future.setHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
8: StackMap locals: io.vertx.core.Promise io.vertx.core.Promise
StackMap stack:
aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.provider:Lio/vertx/ext/jdbc/spi/DataSourceProvider;
ifnull 13
9: aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.vertx:Lio/vertx/core/impl/VertxInternal;
aload 0
invokedynamic handle(Lio/vertx/ext/jdbc/impl/JDBCClientImpl$DataSourceHolder;)Lio/vertx/core/Handler;
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:
(Ljava/lang/Object;)V
io/vertx/ext/jdbc/impl/JDBCClientImpl$DataSourceHolder.lambda$2(Lio/vertx/core/Promise;)V (7)
(Lio/vertx/core/Promise;)V
10: aload 4
11: invokeinterface io.vertx.core.impl.VertxInternal.executeBlocking:(Lio/vertx/core/Handler;Lio/vertx/core/Handler;)V
12: goto 14
13: StackMap locals:
StackMap stack:
aload 4
invokeinterface io.vertx.core.Promise.complete:()V
14: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.exec:Ljava/util/concurrent/ExecutorService;
ifnull 16
15: aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.exec:Ljava/util/concurrent/ExecutorService;
invokeinterface java.util.concurrent.ExecutorService.shutdown:()V
16: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.map:Lio/vertx/core/shareddata/LocalMap;
ifnull 20
17: aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.map:Lio/vertx/core/shareddata/LocalMap;
aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.name:Ljava/lang/String;
invokeinterface io.vertx.core.shareddata.LocalMap.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
18: aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.map:Lio/vertx/core/shareddata/LocalMap;
invokeinterface io.vertx.core.shareddata.LocalMap.isEmpty:()Z
ifeq 20
19: aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.map:Lio/vertx/core/shareddata/LocalMap;
invokeinterface io.vertx.core.shareddata.LocalMap.close:()V
20: StackMap locals:
StackMap stack:
aload 3
invokeinterface io.vertx.core.Promise.complete:()V
21: goto 27
StackMap locals:
StackMap stack: java.lang.Throwable
22: astore 5
start local 5 23: aload 3
aload 5
invokeinterface io.vertx.core.Promise.fail:(Ljava/lang/Throwable;)V
end local 5 end local 4 end local 3 24: goto 27
25: StackMap locals:
StackMap stack:
aload 1
ifnull 27
26: aload 1
invokestatic io.vertx.core.Future.succeededFuture:()Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
27: StackMap locals:
StackMap stack:
aload 2
monitorexit
28: goto 31
StackMap locals:
StackMap stack: java.lang.Throwable
29: aload 2
monitorexit
30: athrow
31: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lio/vertx/ext/jdbc/impl/JDBCClientImpl$DataSourceHolder;
0 32 1 completionHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
5 24 3 f1 Lio/vertx/core/Promise<Ljava/lang/Void;>;
6 24 4 f2 Lio/vertx/core/Promise<Ljava/lang/Void;>;
23 24 5 t Ljava/lang/Throwable;
Exception table:
from to target type
14 21 22 Class java.lang.Throwable
1 28 29 any
29 30 29 any
Signature: (Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)V
MethodParameters:
Name Flags
completionHandler
private static java.lang.Thread lambda$0(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)Ljava/lang/Thread;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.lang.Thread
dup
aload 0
ldc "vertx-jdbc-service-get-connection-thread"
invokespecial java.lang.Thread.<init>:(Ljava/lang/Runnable;Ljava/lang/String;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 r Ljava/lang/Runnable;
private static java.lang.Void lambda$1(io.vertx.core.CompositeFuture);
descriptor: (Lio/vertx/core/CompositeFuture;)Ljava/lang/Void;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 f Lio/vertx/core/CompositeFuture;
private void lambda$2(io.vertx.core.Promise);
descriptor: (Lio/vertx/core/Promise;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.provider:Lio/vertx/ext/jdbc/spi/DataSourceProvider;
aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.ds:Ljavax/sql/DataSource;
invokeinterface io.vertx.ext.jdbc.spi.DataSourceProvider.close:(Ljavax/sql/DataSource;)V
1: aload 1
invokeinterface io.vertx.core.Promise.complete:()V
2: goto 5
StackMap locals:
StackMap stack: java.sql.SQLException
3: astore 2
start local 2 4: aload 1
aload 2
invokeinterface io.vertx.core.Promise.fail:(Ljava/lang/Throwable;)V
end local 2 5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/ext/jdbc/impl/JDBCClientImpl$DataSourceHolder;
0 6 1 future Lio/vertx/core/Promise<Ljava/lang/Void;>;
4 5 2 e Ljava/sql/SQLException;
Exception table:
from to target type
0 2 3 Class java.sql.SQLException
}
SourceFile: "JDBCClientImpl.java"
NestHost: io.vertx.ext.jdbc.impl.JDBCClientImpl
InnerClasses:
private DataSourceHolder = io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder of io.vertx.ext.jdbc.impl.JDBCClientImpl
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles