public interface io.vertx.servicediscovery.types.MongoDataSource 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.MongoDataSource
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: "mongo"
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 "mongo"
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 getMongoClient(io.vertx.servicediscovery.ServiceDiscovery, io.vertx.core.json.JsonObject, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.mongo.MongoClient>>);
descriptor: (Lio/vertx/servicediscovery/ServiceDiscovery;Lio/vertx/core/json/JsonObject;Lio/vertx/core/Handler;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokestatic io.vertx.servicediscovery.types.MongoDataSource.getMongoClient:(Lio/vertx/servicediscovery/ServiceDiscovery;Lio/vertx/core/json/JsonObject;)Lio/vertx/core/Future;
aload 2
invokeinterface io.vertx.core.Future.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
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/mongo/MongoClient;>;>;
Signature: (Lio/vertx/servicediscovery/ServiceDiscovery;Lio/vertx/core/json/JsonObject;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/ext/mongo/MongoClient;>;>;)V
MethodParameters:
Name Flags
discovery
filter
resultHandler
public static io.vertx.core.Future<io.vertx.ext.mongo.MongoClient> getMongoClient(io.vertx.servicediscovery.ServiceDiscovery, io.vertx.core.json.JsonObject);
descriptor: (Lio/vertx/servicediscovery/ServiceDiscovery;Lio/vertx/core/json/JsonObject;)Lio/vertx/core/Future;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface io.vertx.servicediscovery.ServiceDiscovery.getRecord:(Lio/vertx/core/json/JsonObject;)Lio/vertx/core/Future;
aload 0
invokedynamic apply(Lio/vertx/servicediscovery/ServiceDiscovery;)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/servicediscovery/types/MongoDataSource.lambda$0(Lio/vertx/servicediscovery/ServiceDiscovery;Lio/vertx/servicediscovery/Record;)Lio/vertx/core/Future; (6 itf)
(Lio/vertx/servicediscovery/Record;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Future.flatMap:(Ljava/util/function/Function;)Lio/vertx/core/Future;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 discovery Lio/vertx/servicediscovery/ServiceDiscovery;
0 1 1 filter Lio/vertx/core/json/JsonObject;
Signature: (Lio/vertx/servicediscovery/ServiceDiscovery;Lio/vertx/core/json/JsonObject;)Lio/vertx/core/Future<Lio/vertx/ext/mongo/MongoClient;>;
MethodParameters:
Name Flags
discovery
filter
public static void getMongoClient(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.mongo.MongoClient>>);
descriptor: (Lio/vertx/servicediscovery/ServiceDiscovery;Ljava/util/function/Function;Lio/vertx/core/Handler;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokestatic io.vertx.servicediscovery.types.MongoDataSource.getMongoClient:(Lio/vertx/servicediscovery/ServiceDiscovery;Ljava/util/function/Function;)Lio/vertx/core/Future;
aload 2
invokeinterface io.vertx.core.Future.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
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/mongo/MongoClient;>;>;
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/mongo/MongoClient;>;>;)V
MethodParameters:
Name Flags
discovery
filter
resultHandler
public static io.vertx.core.Future<io.vertx.ext.mongo.MongoClient> getMongoClient(io.vertx.servicediscovery.ServiceDiscovery, java.util.function.Function<io.vertx.servicediscovery.Record, java.lang.Boolean>);
descriptor: (Lio/vertx/servicediscovery/ServiceDiscovery;Ljava/util/function/Function;)Lio/vertx/core/Future;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface io.vertx.servicediscovery.ServiceDiscovery.getRecord:(Ljava/util/function/Function;)Lio/vertx/core/Future;
aload 0
invokedynamic apply(Lio/vertx/servicediscovery/ServiceDiscovery;)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/servicediscovery/types/MongoDataSource.lambda$1(Lio/vertx/servicediscovery/ServiceDiscovery;Lio/vertx/servicediscovery/Record;)Lio/vertx/core/Future; (6 itf)
(Lio/vertx/servicediscovery/Record;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Future.flatMap:(Ljava/util/function/Function;)Lio/vertx/core/Future;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 discovery Lio/vertx/servicediscovery/ServiceDiscovery;
0 1 1 filter Ljava/util/function/Function<Lio/vertx/servicediscovery/Record;Ljava/lang/Boolean;>;
Signature: (Lio/vertx/servicediscovery/ServiceDiscovery;Ljava/util/function/Function<Lio/vertx/servicediscovery/Record;Ljava/lang/Boolean;>;)Lio/vertx/core/Future<Lio/vertx/ext/mongo/MongoClient;>;
MethodParameters:
Name Flags
discovery
filter
public static void getMongoClient(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.mongo.MongoClient>>);
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=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
invokestatic io.vertx.servicediscovery.types.MongoDataSource.getMongoClient:(Lio/vertx/servicediscovery/ServiceDiscovery;Lio/vertx/core/json/JsonObject;Lio/vertx/core/json/JsonObject;)Lio/vertx/core/Future;
aload 3
invokeinterface io.vertx.core.Future.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
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/mongo/MongoClient;>;>;
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/mongo/MongoClient;>;>;)V
MethodParameters:
Name Flags
discovery
filter
consumerConfiguration
resultHandler
public static io.vertx.core.Future<io.vertx.ext.mongo.MongoClient> getMongoClient(io.vertx.servicediscovery.ServiceDiscovery, io.vertx.core.json.JsonObject, io.vertx.core.json.JsonObject);
descriptor: (Lio/vertx/servicediscovery/ServiceDiscovery;Lio/vertx/core/json/JsonObject;Lio/vertx/core/json/JsonObject;)Lio/vertx/core/Future;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokeinterface io.vertx.servicediscovery.ServiceDiscovery.getRecord:(Lio/vertx/core/json/JsonObject;)Lio/vertx/core/Future;
aload 0
aload 2
invokedynamic apply(Lio/vertx/servicediscovery/ServiceDiscovery;Lio/vertx/core/json/JsonObject;)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/servicediscovery/types/MongoDataSource.lambda$2(Lio/vertx/servicediscovery/ServiceDiscovery;Lio/vertx/core/json/JsonObject;Lio/vertx/servicediscovery/Record;)Lio/vertx/core/Future; (6 itf)
(Lio/vertx/servicediscovery/Record;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Future.flatMap:(Ljava/util/function/Function;)Lio/vertx/core/Future;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 discovery Lio/vertx/servicediscovery/ServiceDiscovery;
0 1 1 filter Lio/vertx/core/json/JsonObject;
0 1 2 consumerConfiguration Lio/vertx/core/json/JsonObject;
Signature: (Lio/vertx/servicediscovery/ServiceDiscovery;Lio/vertx/core/json/JsonObject;Lio/vertx/core/json/JsonObject;)Lio/vertx/core/Future<Lio/vertx/ext/mongo/MongoClient;>;
MethodParameters:
Name Flags
discovery
filter
consumerConfiguration
private static io.vertx.core.Future lambda$0(io.vertx.servicediscovery.ServiceDiscovery, io.vertx.servicediscovery.Record);
descriptor: (Lio/vertx/servicediscovery/ServiceDiscovery;Lio/vertx/servicediscovery/Record;)Lio/vertx/core/Future;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 1
ifnonnull 2
1: ldc "No matching records"
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/String;)Lio/vertx/core/Future;
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
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.mongo.MongoClient
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
areturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 3 1 res Lio/vertx/servicediscovery/Record;
private static io.vertx.core.Future lambda$1(io.vertx.servicediscovery.ServiceDiscovery, io.vertx.servicediscovery.Record);
descriptor: (Lio/vertx/servicediscovery/ServiceDiscovery;Lio/vertx/servicediscovery/Record;)Lio/vertx/core/Future;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 1
ifnonnull 2
1: ldc "No matching records"
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/String;)Lio/vertx/core/Future;
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
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.mongo.MongoClient
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
areturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 3 1 res Lio/vertx/servicediscovery/Record;
private static io.vertx.core.Future lambda$2(io.vertx.servicediscovery.ServiceDiscovery, io.vertx.core.json.JsonObject, io.vertx.servicediscovery.Record);
descriptor: (Lio/vertx/servicediscovery/ServiceDiscovery;Lio/vertx/core/json/JsonObject;Lio/vertx/servicediscovery/Record;)Lio/vertx/core/Future;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 2 0: aload 2
ifnonnull 2
1: ldc "No matching records"
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/String;)Lio/vertx/core/Future;
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 1
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.mongo.MongoClient
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
areturn
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 3 2 res Lio/vertx/servicediscovery/Record;
}
SourceFile: "MongoDataSource.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.VertxGen()