public interface io.vertx.servicediscovery.types.JDBCDataSource extends io.vertx.servicediscovery.spi.ServiceType
minor version: 0
major version: 59
flags: flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT
this_class: io.vertx.servicediscovery.types.JDBCDataSource
super_class: java.lang.Object
{
public static final java.lang.String TYPE;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "jdbc"
public static io.vertx.servicediscovery.Record createRecord(java.lang.String, io.vertx.core.json.JsonObject, io.vertx.core.json.JsonObject);
descriptor: (Ljava/lang/String;Lio/vertx/core/json/JsonObject;Lio/vertx/core/json/JsonObject;)Lio/vertx/servicediscovery/Record;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: new io.vertx.servicediscovery.Record
dup
invokespecial io.vertx.servicediscovery.Record.<init>:()V
aload 0
invokevirtual io.vertx.servicediscovery.Record.setName:(Ljava/lang/String;)Lio/vertx/servicediscovery/Record;
3: ldc "jdbc"
invokevirtual io.vertx.servicediscovery.Record.setType:(Ljava/lang/String;)Lio/vertx/servicediscovery/Record;
4: aload 1
invokevirtual io.vertx.servicediscovery.Record.setLocation:(Lio/vertx/core/json/JsonObject;)Lio/vertx/servicediscovery/Record;
5: astore 3
start local 3 6: aload 2
ifnull 8
7: aload 3
aload 2
invokevirtual io.vertx.servicediscovery.Record.setMetadata:(Lio/vertx/core/json/JsonObject;)Lio/vertx/servicediscovery/Record;
pop
8: StackMap locals: io.vertx.servicediscovery.Record
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 name Ljava/lang/String;
0 9 1 location Lio/vertx/core/json/JsonObject;
0 9 2 metadata Lio/vertx/core/json/JsonObject;
6 9 3 record Lio/vertx/servicediscovery/Record;
MethodParameters:
Name Flags
name
location
metadata
public static void getJDBCClient(io.vertx.servicediscovery.ServiceDiscovery, io.vertx.core.json.JsonObject, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.jdbc.JDBCClient>>);
descriptor: (Lio/vertx/servicediscovery/ServiceDiscovery;Lio/vertx/core/json/JsonObject;Lio/vertx/core/Handler;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aload 0
invokedynamic handle(Lio/vertx/core/Handler;Lio/vertx/servicediscovery/ServiceDiscovery;)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/servicediscovery/types/JDBCDataSource.lambda$0(Lio/vertx/core/Handler;Lio/vertx/servicediscovery/ServiceDiscovery;Lio/vertx/core/AsyncResult;)V (6 itf)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.servicediscovery.ServiceDiscovery.getRecord:(Lio/vertx/core/json/JsonObject;Lio/vertx/core/Handler;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 discovery Lio/vertx/servicediscovery/ServiceDiscovery;
0 2 1 filter Lio/vertx/core/json/JsonObject;
0 2 2 resultHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/ext/jdbc/JDBCClient;>;>;
Signature: (Lio/vertx/servicediscovery/ServiceDiscovery;Lio/vertx/core/json/JsonObject;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/ext/jdbc/JDBCClient;>;>;)V
MethodParameters:
Name Flags
discovery
filter
resultHandler
public static void getJDBCClient(io.vertx.servicediscovery.ServiceDiscovery, java.util.function.Function<io.vertx.servicediscovery.Record, java.lang.Boolean>, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.jdbc.JDBCClient>>);
descriptor: (Lio/vertx/servicediscovery/ServiceDiscovery;Ljava/util/function/Function;Lio/vertx/core/Handler;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aload 0
invokedynamic handle(Lio/vertx/core/Handler;Lio/vertx/servicediscovery/ServiceDiscovery;)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/servicediscovery/types/JDBCDataSource.lambda$1(Lio/vertx/core/Handler;Lio/vertx/servicediscovery/ServiceDiscovery;Lio/vertx/core/AsyncResult;)V (6 itf)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.servicediscovery.ServiceDiscovery.getRecord:(Ljava/util/function/Function;Lio/vertx/core/Handler;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 discovery Lio/vertx/servicediscovery/ServiceDiscovery;
0 2 1 filter Ljava/util/function/Function<Lio/vertx/servicediscovery/Record;Ljava/lang/Boolean;>;
0 2 2 resultHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/ext/jdbc/JDBCClient;>;>;
Signature: (Lio/vertx/servicediscovery/ServiceDiscovery;Ljava/util/function/Function<Lio/vertx/servicediscovery/Record;Ljava/lang/Boolean;>;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/ext/jdbc/JDBCClient;>;>;)V
MethodParameters:
Name Flags
discovery
filter
resultHandler
public static void getJDBCClient(io.vertx.servicediscovery.ServiceDiscovery, io.vertx.core.json.JsonObject, io.vertx.core.json.JsonObject, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.jdbc.JDBCClient>>);
descriptor: (Lio/vertx/servicediscovery/ServiceDiscovery;Lio/vertx/core/json/JsonObject;Lio/vertx/core/json/JsonObject;Lio/vertx/core/Handler;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 3
aload 0
aload 2
invokedynamic handle(Lio/vertx/core/Handler;Lio/vertx/servicediscovery/ServiceDiscovery;Lio/vertx/core/json/JsonObject;)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/servicediscovery/types/JDBCDataSource.lambda$2(Lio/vertx/core/Handler;Lio/vertx/servicediscovery/ServiceDiscovery;Lio/vertx/core/json/JsonObject;Lio/vertx/core/AsyncResult;)V (6 itf)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.servicediscovery.ServiceDiscovery.getRecord:(Lio/vertx/core/json/JsonObject;Lio/vertx/core/Handler;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 discovery Lio/vertx/servicediscovery/ServiceDiscovery;
0 2 1 filter Lio/vertx/core/json/JsonObject;
0 2 2 consumerConfiguration Lio/vertx/core/json/JsonObject;
0 2 3 resultHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/ext/jdbc/JDBCClient;>;>;
Signature: (Lio/vertx/servicediscovery/ServiceDiscovery;Lio/vertx/core/json/JsonObject;Lio/vertx/core/json/JsonObject;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/ext/jdbc/JDBCClient;>;>;)V
MethodParameters:
Name Flags
discovery
filter
consumerConfiguration
resultHandler
public static void getJDBCClient(io.vertx.servicediscovery.ServiceDiscovery, java.util.function.Function<io.vertx.servicediscovery.Record, java.lang.Boolean>, io.vertx.core.json.JsonObject, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.jdbc.JDBCClient>>);
descriptor: (Lio/vertx/servicediscovery/ServiceDiscovery;Ljava/util/function/Function;Lio/vertx/core/json/JsonObject;Lio/vertx/core/Handler;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 3
aload 0
aload 2
invokedynamic handle(Lio/vertx/core/Handler;Lio/vertx/servicediscovery/ServiceDiscovery;Lio/vertx/core/json/JsonObject;)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/servicediscovery/types/JDBCDataSource.lambda$3(Lio/vertx/core/Handler;Lio/vertx/servicediscovery/ServiceDiscovery;Lio/vertx/core/json/JsonObject;Lio/vertx/core/AsyncResult;)V (6 itf)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.servicediscovery.ServiceDiscovery.getRecord:(Ljava/util/function/Function;Lio/vertx/core/Handler;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 discovery Lio/vertx/servicediscovery/ServiceDiscovery;
0 2 1 filter Ljava/util/function/Function<Lio/vertx/servicediscovery/Record;Ljava/lang/Boolean;>;
0 2 2 consumerConfiguration Lio/vertx/core/json/JsonObject;
0 2 3 resultHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/ext/jdbc/JDBCClient;>;>;
Signature: (Lio/vertx/servicediscovery/ServiceDiscovery;Ljava/util/function/Function<Lio/vertx/servicediscovery/Record;Ljava/lang/Boolean;>;Lio/vertx/core/json/JsonObject;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/ext/jdbc/JDBCClient;>;>;)V
MethodParameters:
Name Flags
discovery
filter
consumerConfiguration
resultHandler
private static void lambda$0(io.vertx.core.Handler, io.vertx.servicediscovery.ServiceDiscovery, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Handler;Lio/vertx/servicediscovery/ServiceDiscovery;Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 2 0: aload 2
invokeinterface io.vertx.core.AsyncResult.failed:()Z
ifne 1
aload 2
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
ifnonnull 3
1: StackMap locals:
StackMap stack:
aload 0
ldc "No matching record"
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/String;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.servicediscovery.Record
invokeinterface io.vertx.servicediscovery.ServiceDiscovery.getReference:(Lio/vertx/servicediscovery/Record;)Lio/vertx/servicediscovery/ServiceReference;
invokeinterface io.vertx.servicediscovery.ServiceReference.get:()Ljava/lang/Object;
checkcast io.vertx.ext.jdbc.JDBCClient
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 5 2 ar Lio/vertx/core/AsyncResult<Lio/vertx/servicediscovery/Record;>;
private static void lambda$1(io.vertx.core.Handler, io.vertx.servicediscovery.ServiceDiscovery, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Handler;Lio/vertx/servicediscovery/ServiceDiscovery;Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 2 0: aload 2
invokeinterface io.vertx.core.AsyncResult.failed:()Z
ifne 1
aload 2
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
ifnonnull 3
1: StackMap locals:
StackMap stack:
aload 0
ldc "No matching record"
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/String;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.servicediscovery.Record
invokeinterface io.vertx.servicediscovery.ServiceDiscovery.getReference:(Lio/vertx/servicediscovery/Record;)Lio/vertx/servicediscovery/ServiceReference;
invokeinterface io.vertx.servicediscovery.ServiceReference.get:()Ljava/lang/Object;
checkcast io.vertx.ext.jdbc.JDBCClient
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 5 2 ar Lio/vertx/core/AsyncResult<Lio/vertx/servicediscovery/Record;>;
private static void lambda$2(io.vertx.core.Handler, io.vertx.servicediscovery.ServiceDiscovery, io.vertx.core.json.JsonObject, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Handler;Lio/vertx/servicediscovery/ServiceDiscovery;Lio/vertx/core/json/JsonObject;Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
start local 3 0: aload 3
invokeinterface io.vertx.core.AsyncResult.failed:()Z
ifne 1
aload 3
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
ifnonnull 3
1: StackMap locals:
StackMap stack:
aload 0
ldc "No matching record"
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/String;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
2: goto 6
3: StackMap locals:
StackMap stack:
aload 0
4: aload 1
aload 3
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.servicediscovery.Record
aload 2
invokeinterface io.vertx.servicediscovery.ServiceDiscovery.getReferenceWithConfiguration:(Lio/vertx/servicediscovery/Record;Lio/vertx/core/json/JsonObject;)Lio/vertx/servicediscovery/ServiceReference;
invokeinterface io.vertx.servicediscovery.ServiceReference.get:()Ljava/lang/Object;
checkcast io.vertx.ext.jdbc.JDBCClient
5: invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
6: StackMap locals:
StackMap stack:
return
end local 3 LocalVariableTable:
Start End Slot Name Signature
0 7 3 ar Lio/vertx/core/AsyncResult<Lio/vertx/servicediscovery/Record;>;
private static void lambda$3(io.vertx.core.Handler, io.vertx.servicediscovery.ServiceDiscovery, io.vertx.core.json.JsonObject, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Handler;Lio/vertx/servicediscovery/ServiceDiscovery;Lio/vertx/core/json/JsonObject;Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
start local 3 0: aload 3
invokeinterface io.vertx.core.AsyncResult.failed:()Z
ifne 1
aload 3
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
ifnonnull 3
1: StackMap locals:
StackMap stack:
aload 0
ldc "No matching record"
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/String;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
2: goto 6
3: StackMap locals:
StackMap stack:
aload 0
4: aload 1
aload 3
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.servicediscovery.Record
aload 2
invokeinterface io.vertx.servicediscovery.ServiceDiscovery.getReferenceWithConfiguration:(Lio/vertx/servicediscovery/Record;Lio/vertx/core/json/JsonObject;)Lio/vertx/servicediscovery/ServiceReference;
invokeinterface io.vertx.servicediscovery.ServiceReference.get:()Ljava/lang/Object;
checkcast io.vertx.ext.jdbc.JDBCClient
5: invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
6: StackMap locals:
StackMap stack:
return
end local 3 LocalVariableTable:
Start End Slot Name Signature
0 7 3 ar Lio/vertx/core/AsyncResult<Lio/vertx/servicediscovery/Record;>;
}
SourceFile: "JDBCDataSource.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.VertxGen()