public interface io.vertx.servicediscovery.ServiceDiscovery
minor version: 0
major version: 59
flags: flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT
this_class: io.vertx.servicediscovery.ServiceDiscovery
super_class: java.lang.Object
{
public static io.vertx.servicediscovery.ServiceDiscovery create(io.vertx.core.Vertx, io.vertx.servicediscovery.ServiceDiscoveryOptions);
descriptor: (Lio/vertx/core/Vertx;Lio/vertx/servicediscovery/ServiceDiscoveryOptions;)Lio/vertx/servicediscovery/ServiceDiscovery;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new io.vertx.servicediscovery.impl.DiscoveryImpl
dup
aload 0
aload 1
invokespecial io.vertx.servicediscovery.impl.DiscoveryImpl.<init>:(Lio/vertx/core/Vertx;Lio/vertx/servicediscovery/ServiceDiscoveryOptions;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 vertx Lio/vertx/core/Vertx;
0 1 1 options Lio/vertx/servicediscovery/ServiceDiscoveryOptions;
MethodParameters:
Name Flags
vertx
options
public static io.vertx.servicediscovery.ServiceDiscovery create(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)Lio/vertx/servicediscovery/ServiceDiscovery;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
new io.vertx.servicediscovery.ServiceDiscoveryOptions
dup
invokespecial io.vertx.servicediscovery.ServiceDiscoveryOptions.<init>:()V
invokestatic io.vertx.servicediscovery.ServiceDiscovery.create:(Lio/vertx/core/Vertx;Lio/vertx/servicediscovery/ServiceDiscoveryOptions;)Lio/vertx/servicediscovery/ServiceDiscovery;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 vertx Lio/vertx/core/Vertx;
MethodParameters:
Name Flags
vertx
public abstract io.vertx.servicediscovery.ServiceReference getReference(io.vertx.servicediscovery.Record);
descriptor: (Lio/vertx/servicediscovery/Record;)Lio/vertx/servicediscovery/ServiceReference;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
record
public abstract io.vertx.servicediscovery.ServiceReference getReferenceWithConfiguration(io.vertx.servicediscovery.Record, io.vertx.core.json.JsonObject);
descriptor: (Lio/vertx/servicediscovery/Record;Lio/vertx/core/json/JsonObject;)Lio/vertx/servicediscovery/ServiceReference;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
record
configuration
public abstract boolean release(io.vertx.servicediscovery.ServiceReference);
descriptor: (Lio/vertx/servicediscovery/ServiceReference;)Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
reference
public abstract io.vertx.core.Future<java.lang.Void> registerServiceImporter(io.vertx.servicediscovery.spi.ServiceImporter, io.vertx.core.json.JsonObject);
descriptor: (Lio/vertx/servicediscovery/spi/ServiceImporter;Lio/vertx/core/json/JsonObject;)Lio/vertx/core/Future;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Lio/vertx/servicediscovery/spi/ServiceImporter;Lio/vertx/core/json/JsonObject;)Lio/vertx/core/Future<Ljava/lang/Void;>;
MethodParameters:
Name Flags
importer
configuration
public abstract io.vertx.servicediscovery.ServiceDiscovery registerServiceImporter(io.vertx.servicediscovery.spi.ServiceImporter, io.vertx.core.json.JsonObject, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
descriptor: (Lio/vertx/servicediscovery/spi/ServiceImporter;Lio/vertx/core/json/JsonObject;Lio/vertx/core/Handler;)Lio/vertx/servicediscovery/ServiceDiscovery;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Lio/vertx/servicediscovery/spi/ServiceImporter;Lio/vertx/core/json/JsonObject;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)Lio/vertx/servicediscovery/ServiceDiscovery;
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.Fluent()
MethodParameters:
Name Flags
importer
configuration
completionHandler
public abstract io.vertx.core.Future<java.lang.Void> registerServiceExporter(io.vertx.servicediscovery.spi.ServiceExporter, io.vertx.core.json.JsonObject);
descriptor: (Lio/vertx/servicediscovery/spi/ServiceExporter;Lio/vertx/core/json/JsonObject;)Lio/vertx/core/Future;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Lio/vertx/servicediscovery/spi/ServiceExporter;Lio/vertx/core/json/JsonObject;)Lio/vertx/core/Future<Ljava/lang/Void;>;
MethodParameters:
Name Flags
exporter
configuration
public abstract io.vertx.servicediscovery.ServiceDiscovery registerServiceExporter(io.vertx.servicediscovery.spi.ServiceExporter, io.vertx.core.json.JsonObject, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
descriptor: (Lio/vertx/servicediscovery/spi/ServiceExporter;Lio/vertx/core/json/JsonObject;Lio/vertx/core/Handler;)Lio/vertx/servicediscovery/ServiceDiscovery;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Lio/vertx/servicediscovery/spi/ServiceExporter;Lio/vertx/core/json/JsonObject;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)Lio/vertx/servicediscovery/ServiceDiscovery;
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.Fluent()
MethodParameters:
Name Flags
exporter
configuration
completionHandler
public abstract void close();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract void publish(io.vertx.servicediscovery.Record, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.servicediscovery.Record>>);
descriptor: (Lio/vertx/servicediscovery/Record;Lio/vertx/core/Handler;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Lio/vertx/servicediscovery/Record;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/servicediscovery/Record;>;>;)V
MethodParameters:
Name Flags
record
resultHandler
public abstract io.vertx.core.Future<io.vertx.servicediscovery.Record> publish(io.vertx.servicediscovery.Record);
descriptor: (Lio/vertx/servicediscovery/Record;)Lio/vertx/core/Future;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Lio/vertx/servicediscovery/Record;)Lio/vertx/core/Future<Lio/vertx/servicediscovery/Record;>;
MethodParameters:
Name Flags
record
public abstract void unpublish(java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
descriptor: (Ljava/lang/String;Lio/vertx/core/Handler;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Ljava/lang/String;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)V
MethodParameters:
Name Flags
id
resultHandler
public abstract io.vertx.core.Future<java.lang.Void> unpublish(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/core/Future;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Ljava/lang/String;)Lio/vertx/core/Future<Ljava/lang/Void;>;
MethodParameters:
Name Flags
id
public abstract void getRecord(io.vertx.core.json.JsonObject, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.servicediscovery.Record>>);
descriptor: (Lio/vertx/core/json/JsonObject;Lio/vertx/core/Handler;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Lio/vertx/core/json/JsonObject;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/servicediscovery/Record;>;>;)V
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER, location=[TYPE_ARGUMENT(0), TYPE_ARGUMENT(0)]
io.vertx.codegen.annotations.Nullable()
MethodParameters:
Name Flags
filter
resultHandler
public abstract io.vertx.core.Future<io.vertx.servicediscovery.Record> getRecord(io.vertx.core.json.JsonObject);
descriptor: (Lio/vertx/core/json/JsonObject;)Lio/vertx/core/Future;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Lio/vertx/core/json/JsonObject;)Lio/vertx/core/Future<Lio/vertx/servicediscovery/Record;>;
RuntimeVisibleTypeAnnotations:
METHOD_RETURN, location=[TYPE_ARGUMENT(0)]
io.vertx.codegen.annotations.Nullable()
MethodParameters:
Name Flags
filter
public abstract void getRecord(java.util.function.Function<io.vertx.servicediscovery.Record, java.lang.Boolean>, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.servicediscovery.Record>>);
descriptor: (Ljava/util/function/Function;Lio/vertx/core/Handler;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Ljava/util/function/Function<Lio/vertx/servicediscovery/Record;Ljava/lang/Boolean;>;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/servicediscovery/Record;>;>;)V
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER, location=[TYPE_ARGUMENT(0), TYPE_ARGUMENT(0)]
io.vertx.codegen.annotations.Nullable()
MethodParameters:
Name Flags
filter
resultHandler
public abstract io.vertx.core.Future<io.vertx.servicediscovery.Record> getRecord(java.util.function.Function<io.vertx.servicediscovery.Record, java.lang.Boolean>);
descriptor: (Ljava/util/function/Function;)Lio/vertx/core/Future;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Ljava/util/function/Function<Lio/vertx/servicediscovery/Record;Ljava/lang/Boolean;>;)Lio/vertx/core/Future<Lio/vertx/servicediscovery/Record;>;
RuntimeVisibleTypeAnnotations:
METHOD_RETURN, location=[TYPE_ARGUMENT(0)]
io.vertx.codegen.annotations.Nullable()
MethodParameters:
Name Flags
filter
public abstract void getRecord(java.util.function.Function<io.vertx.servicediscovery.Record, java.lang.Boolean>, boolean, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.servicediscovery.Record>>);
descriptor: (Ljava/util/function/Function;ZLio/vertx/core/Handler;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Ljava/util/function/Function<Lio/vertx/servicediscovery/Record;Ljava/lang/Boolean;>;ZLio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/servicediscovery/Record;>;>;)V
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER, location=[TYPE_ARGUMENT(0), TYPE_ARGUMENT(0)]
io.vertx.codegen.annotations.Nullable()
MethodParameters:
Name Flags
filter
includeOutOfService
resultHandler
public abstract io.vertx.core.Future<io.vertx.servicediscovery.Record> getRecord(java.util.function.Function<io.vertx.servicediscovery.Record, java.lang.Boolean>, boolean);
descriptor: (Ljava/util/function/Function;Z)Lio/vertx/core/Future;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Ljava/util/function/Function<Lio/vertx/servicediscovery/Record;Ljava/lang/Boolean;>;Z)Lio/vertx/core/Future<Lio/vertx/servicediscovery/Record;>;
RuntimeVisibleTypeAnnotations:
METHOD_RETURN, location=[TYPE_ARGUMENT(0)]
io.vertx.codegen.annotations.Nullable()
MethodParameters:
Name Flags
filter
includeOutOfService
public abstract void getRecords(io.vertx.core.json.JsonObject, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<io.vertx.servicediscovery.Record>>>);
descriptor: (Lio/vertx/core/json/JsonObject;Lio/vertx/core/Handler;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Lio/vertx/core/json/JsonObject;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/util/List<Lio/vertx/servicediscovery/Record;>;>;>;)V
MethodParameters:
Name Flags
filter
resultHandler
public abstract io.vertx.core.Future<java.util.List<io.vertx.servicediscovery.Record>> getRecords(io.vertx.core.json.JsonObject);
descriptor: (Lio/vertx/core/json/JsonObject;)Lio/vertx/core/Future;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Lio/vertx/core/json/JsonObject;)Lio/vertx/core/Future<Ljava/util/List<Lio/vertx/servicediscovery/Record;>;>;
MethodParameters:
Name Flags
filter
public abstract void getRecords(java.util.function.Function<io.vertx.servicediscovery.Record, java.lang.Boolean>, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<io.vertx.servicediscovery.Record>>>);
descriptor: (Ljava/util/function/Function;Lio/vertx/core/Handler;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Ljava/util/function/Function<Lio/vertx/servicediscovery/Record;Ljava/lang/Boolean;>;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/util/List<Lio/vertx/servicediscovery/Record;>;>;>;)V
MethodParameters:
Name Flags
filter
resultHandler
public abstract io.vertx.core.Future<java.util.List<io.vertx.servicediscovery.Record>> getRecords(java.util.function.Function<io.vertx.servicediscovery.Record, java.lang.Boolean>);
descriptor: (Ljava/util/function/Function;)Lio/vertx/core/Future;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Ljava/util/function/Function<Lio/vertx/servicediscovery/Record;Ljava/lang/Boolean;>;)Lio/vertx/core/Future<Ljava/util/List<Lio/vertx/servicediscovery/Record;>;>;
MethodParameters:
Name Flags
filter
public abstract void getRecords(java.util.function.Function<io.vertx.servicediscovery.Record, java.lang.Boolean>, boolean, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<io.vertx.servicediscovery.Record>>>);
descriptor: (Ljava/util/function/Function;ZLio/vertx/core/Handler;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Ljava/util/function/Function<Lio/vertx/servicediscovery/Record;Ljava/lang/Boolean;>;ZLio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/util/List<Lio/vertx/servicediscovery/Record;>;>;>;)V
MethodParameters:
Name Flags
filter
includeOutOfService
resultHandler
public abstract io.vertx.core.Future<java.util.List<io.vertx.servicediscovery.Record>> getRecords(java.util.function.Function<io.vertx.servicediscovery.Record, java.lang.Boolean>, boolean);
descriptor: (Ljava/util/function/Function;Z)Lio/vertx/core/Future;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Ljava/util/function/Function<Lio/vertx/servicediscovery/Record;Ljava/lang/Boolean;>;Z)Lio/vertx/core/Future<Ljava/util/List<Lio/vertx/servicediscovery/Record;>;>;
MethodParameters:
Name Flags
filter
includeOutOfService
public abstract void update(io.vertx.servicediscovery.Record, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.servicediscovery.Record>>);
descriptor: (Lio/vertx/servicediscovery/Record;Lio/vertx/core/Handler;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Lio/vertx/servicediscovery/Record;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/servicediscovery/Record;>;>;)V
MethodParameters:
Name Flags
record
resultHandler
public abstract io.vertx.core.Future<io.vertx.servicediscovery.Record> update(io.vertx.servicediscovery.Record);
descriptor: (Lio/vertx/servicediscovery/Record;)Lio/vertx/core/Future;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Lio/vertx/servicediscovery/Record;)Lio/vertx/core/Future<Lio/vertx/servicediscovery/Record;>;
MethodParameters:
Name Flags
record
public abstract java.util.Set<io.vertx.servicediscovery.ServiceReference> bindings();
descriptor: ()Ljava/util/Set;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: ()Ljava/util/Set<Lio/vertx/servicediscovery/ServiceReference;>;
public abstract io.vertx.servicediscovery.ServiceDiscoveryOptions options();
descriptor: ()Lio/vertx/servicediscovery/ServiceDiscoveryOptions;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public static void releaseServiceObject(io.vertx.servicediscovery.ServiceDiscovery, java.lang.Object);
descriptor: (Lio/vertx/servicediscovery/ServiceDiscovery;Ljava/lang/Object;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 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: aload 1
invokestatic io.vertx.servicediscovery.utils.ClassLoaderUtils.extractDelegate:(Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 3: aload 2
ifnonnull 5
4: aload 1
astore 2
5: StackMap locals: java.lang.Object
StackMap stack:
aload 0
invokeinterface io.vertx.servicediscovery.ServiceDiscovery.bindings:()Ljava/util/Set;
astore 3
start local 3 6: aload 2
astore 4
start local 4 7: aload 3
invokeinterface java.util.Collection.stream:()Ljava/util/stream/Stream;
aload 4
invokedynamic test(Ljava/lang/Object;)Ljava/util/function/Predicate;
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;)Z
io/vertx/servicediscovery/ServiceDiscovery.lambda$0(Ljava/lang/Object;Lio/vertx/servicediscovery/ServiceReference;)Z (6 itf)
(Lio/vertx/servicediscovery/ServiceReference;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
invokedynamic accept()Ljava/util/function/Consumer;
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/ServiceReference.release()V (9 itf)
(Lio/vertx/servicediscovery/ServiceReference;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
8: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 discovery Lio/vertx/servicediscovery/ServiceDiscovery;
0 9 1 svcObject Ljava/lang/Object;
3 9 2 svc Ljava/lang/Object;
6 9 3 references Ljava/util/Collection<Lio/vertx/servicediscovery/ServiceReference;>;
7 9 4 finalSvc Ljava/lang/Object;
MethodParameters:
Name Flags
discovery
svcObject
private static boolean lambda$0(java.lang.Object, io.vertx.servicediscovery.ServiceReference);
descriptor: (Ljava/lang/Object;Lio/vertx/servicediscovery/ServiceReference;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 1
aload 0
invokeinterface io.vertx.servicediscovery.ServiceReference.isHolding:(Ljava/lang/Object;)Z
ireturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 ref Lio/vertx/servicediscovery/ServiceReference;
}
SourceFile: "ServiceDiscovery.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.VertxGen()