public class examples.HealthCheckExamples
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: examples.HealthCheckExamples
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lexamples/HealthCheckExamples;
public void example1(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic io.vertx.ext.healthchecks.HealthChecks.create:(Lio/vertx/core/Vertx;)Lio/vertx/ext/healthchecks/HealthChecks;
astore 2
start local 2 1: aload 2
ldc "my-procedure"
invokedynamic handle()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
examples/HealthCheckExamples.lambda$0(Lio/vertx/core/Promise;)V (6)
(Lio/vertx/core/Promise;)V
invokeinterface io.vertx.ext.healthchecks.HealthChecks.register:(Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/ext/healthchecks/HealthChecks;
pop
2: aload 2
ldc "my-procedure"
ldc 2000
invokedynamic handle()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
examples/HealthCheckExamples.lambda$1(Lio/vertx/core/Promise;)V (6)
(Lio/vertx/core/Promise;)V
invokeinterface io.vertx.ext.healthchecks.HealthChecks.register:(Ljava/lang/String;JLio/vertx/core/Handler;)Lio/vertx/ext/healthchecks/HealthChecks;
pop
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lexamples/HealthCheckExamples;
0 4 1 vertx Lio/vertx/core/Vertx;
1 4 2 hc Lio/vertx/ext/healthchecks/HealthChecks;
MethodParameters:
Name Flags
vertx
public void example2(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokestatic io.vertx.ext.healthchecks.HealthCheckHandler.create:(Lio/vertx/core/Vertx;)Lio/vertx/ext/healthchecks/HealthCheckHandler;
astore 2
start local 2 1: aload 1
invokestatic io.vertx.ext.healthchecks.HealthChecks.create:(Lio/vertx/core/Vertx;)Lio/vertx/ext/healthchecks/HealthChecks;
invokestatic io.vertx.ext.healthchecks.HealthCheckHandler.createWithHealthChecks:(Lio/vertx/ext/healthchecks/HealthChecks;)Lio/vertx/ext/healthchecks/HealthCheckHandler;
astore 3
start local 3 2: aload 1
invokestatic io.vertx.ext.web.Router.router:(Lio/vertx/core/Vertx;)Lio/vertx/ext/web/Router;
astore 4
start local 4 3: aload 4
ldc "/health*"
invokeinterface io.vertx.ext.web.Router.get:(Ljava/lang/String;)Lio/vertx/ext/web/Route;
aload 2
invokeinterface io.vertx.ext.web.Route.handler:(Lio/vertx/core/Handler;)Lio/vertx/ext/web/Route;
pop
4: aload 4
ldc "/ping*"
invokeinterface io.vertx.ext.web.Router.get:(Ljava/lang/String;)Lio/vertx/ext/web/Route;
aload 3
invokeinterface io.vertx.ext.web.Route.handler:(Lio/vertx/core/Handler;)Lio/vertx/ext/web/Route;
pop
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lexamples/HealthCheckExamples;
0 6 1 vertx Lio/vertx/core/Vertx;
1 6 2 healthCheckHandler1 Lio/vertx/ext/healthchecks/HealthCheckHandler;
2 6 3 healthCheckHandler2 Lio/vertx/ext/healthchecks/HealthCheckHandler;
3 6 4 router Lio/vertx/ext/web/Router;
MethodParameters:
Name Flags
vertx
public void example2(io.vertx.core.Vertx, io.vertx.ext.web.Router);
descriptor: (Lio/vertx/core/Vertx;Lio/vertx/ext/web/Router;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic io.vertx.ext.healthchecks.HealthCheckHandler.create:(Lio/vertx/core/Vertx;)Lio/vertx/ext/healthchecks/HealthCheckHandler;
astore 3
start local 3 1: aload 3
ldc "my-procedure-name"
invokedynamic handle()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
examples/HealthCheckExamples.lambda$2(Lio/vertx/core/Promise;)V (6)
(Lio/vertx/core/Promise;)V
invokeinterface io.vertx.ext.healthchecks.HealthCheckHandler.register:(Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/ext/healthchecks/HealthCheckHandler;
pop
2: aload 3
ldc "my-procedure-name-with-timeout"
ldc 2000
invokedynamic handle()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
examples/HealthCheckExamples.lambda$3(Lio/vertx/core/Promise;)V (6)
(Lio/vertx/core/Promise;)V
invokeinterface io.vertx.ext.healthchecks.HealthCheckHandler.register:(Ljava/lang/String;JLio/vertx/core/Handler;)Lio/vertx/ext/healthchecks/HealthCheckHandler;
pop
3: aload 2
ldc "/health"
invokeinterface io.vertx.ext.web.Router.get:(Ljava/lang/String;)Lio/vertx/ext/web/Route;
aload 3
invokeinterface io.vertx.ext.web.Route.handler:(Lio/vertx/core/Handler;)Lio/vertx/ext/web/Route;
pop
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lexamples/HealthCheckExamples;
0 5 1 vertx Lio/vertx/core/Vertx;
0 5 2 router Lio/vertx/ext/web/Router;
1 5 3 healthCheckHandler Lio/vertx/ext/healthchecks/HealthCheckHandler;
MethodParameters:
Name Flags
vertx
router
public void example3(io.vertx.core.Vertx, io.vertx.ext.web.Router);
descriptor: (Lio/vertx/core/Vertx;Lio/vertx/ext/web/Router;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic io.vertx.ext.healthchecks.HealthCheckHandler.create:(Lio/vertx/core/Vertx;)Lio/vertx/ext/healthchecks/HealthCheckHandler;
astore 3
start local 3 1: aload 3
ldc "a-group/my-procedure-name"
invokedynamic handle()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
examples/HealthCheckExamples.lambda$4(Lio/vertx/core/Promise;)V (6)
(Lio/vertx/core/Promise;)V
invokeinterface io.vertx.ext.healthchecks.HealthCheckHandler.register:(Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/ext/healthchecks/HealthCheckHandler;
pop
2: aload 3
ldc "a-group/a-second-group/my-second-procedure-name"
invokedynamic handle()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
examples/HealthCheckExamples.lambda$5(Lio/vertx/core/Promise;)V (6)
(Lio/vertx/core/Promise;)V
invokeinterface io.vertx.ext.healthchecks.HealthCheckHandler.register:(Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/ext/healthchecks/HealthCheckHandler;
pop
3: aload 2
ldc "/health"
invokeinterface io.vertx.ext.web.Router.get:(Ljava/lang/String;)Lio/vertx/ext/web/Route;
aload 3
invokeinterface io.vertx.ext.web.Route.handler:(Lio/vertx/core/Handler;)Lio/vertx/ext/web/Route;
pop
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lexamples/HealthCheckExamples;
0 5 1 vertx Lio/vertx/core/Vertx;
0 5 2 router Lio/vertx/ext/web/Router;
1 5 3 healthCheckHandler Lio/vertx/ext/healthchecks/HealthCheckHandler;
MethodParameters:
Name Flags
vertx
router
public void example4(io.vertx.core.Vertx, io.vertx.ext.web.Router);
descriptor: (Lio/vertx/core/Vertx;Lio/vertx/ext/web/Router;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic io.vertx.ext.healthchecks.HealthCheckHandler.create:(Lio/vertx/core/Vertx;)Lio/vertx/ext/healthchecks/HealthCheckHandler;
astore 3
start local 3 1: aload 3
ldc "my-procedure-name"
invokedynamic handle()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
examples/HealthCheckExamples.lambda$6(Lio/vertx/core/Promise;)V (6)
(Lio/vertx/core/Promise;)V
invokeinterface io.vertx.ext.healthchecks.HealthCheckHandler.register:(Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/ext/healthchecks/HealthCheckHandler;
pop
2: aload 3
ldc "my-second-procedure-name"
invokedynamic handle()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
examples/HealthCheckExamples.lambda$7(Lio/vertx/core/Promise;)V (6)
(Lio/vertx/core/Promise;)V
invokeinterface io.vertx.ext.healthchecks.HealthCheckHandler.register:(Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/ext/healthchecks/HealthCheckHandler;
pop
3: aload 2
ldc "/health"
invokeinterface io.vertx.ext.web.Router.get:(Ljava/lang/String;)Lio/vertx/ext/web/Route;
aload 3
invokeinterface io.vertx.ext.web.Route.handler:(Lio/vertx/core/Handler;)Lio/vertx/ext/web/Route;
pop
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lexamples/HealthCheckExamples;
0 5 1 vertx Lio/vertx/core/Vertx;
0 5 2 router Lio/vertx/ext/web/Router;
1 5 3 healthCheckHandler Lio/vertx/ext/healthchecks/HealthCheckHandler;
MethodParameters:
Name Flags
vertx
router
public void jdbc(io.vertx.ext.jdbc.JDBCClient, io.vertx.ext.healthchecks.HealthCheckHandler);
descriptor: (Lio/vertx/ext/jdbc/JDBCClient;Lio/vertx/ext/healthchecks/HealthCheckHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ldc "database"
1: aload 1
invokedynamic handle(Lio/vertx/ext/jdbc/JDBCClient;)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
examples/HealthCheckExamples.lambda$8(Lio/vertx/ext/jdbc/JDBCClient;Lio/vertx/core/Promise;)V (6)
(Lio/vertx/core/Promise;)V
2: invokeinterface io.vertx.ext.healthchecks.HealthCheckHandler.register:(Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/ext/healthchecks/HealthCheckHandler;
pop
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lexamples/HealthCheckExamples;
0 4 1 jdbcClient Lio/vertx/ext/jdbc/JDBCClient;
0 4 2 handler Lio/vertx/ext/healthchecks/HealthCheckHandler;
MethodParameters:
Name Flags
jdbcClient
handler
public void service(io.vertx.servicediscovery.ServiceDiscovery, io.vertx.ext.healthchecks.HealthCheckHandler);
descriptor: (Lio/vertx/servicediscovery/ServiceDiscovery;Lio/vertx/ext/healthchecks/HealthCheckHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ldc "my-service"
1: aload 1
invokedynamic handle(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
examples/HealthCheckExamples.lambda$10(Lio/vertx/servicediscovery/ServiceDiscovery;Lio/vertx/core/Promise;)V (6)
(Lio/vertx/core/Promise;)V
2: invokeinterface io.vertx.ext.healthchecks.HealthCheckHandler.register:(Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/ext/healthchecks/HealthCheckHandler;
pop
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lexamples/HealthCheckExamples;
0 4 1 discovery Lio/vertx/servicediscovery/ServiceDiscovery;
0 4 2 handler Lio/vertx/ext/healthchecks/HealthCheckHandler;
MethodParameters:
Name Flags
discovery
handler
public void eventbus(io.vertx.core.Vertx, io.vertx.ext.healthchecks.HealthCheckHandler);
descriptor: (Lio/vertx/core/Vertx;Lio/vertx/ext/healthchecks/HealthCheckHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ldc "receiver"
1: aload 1
invokedynamic handle(Lio/vertx/core/Vertx;)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
examples/HealthCheckExamples.lambda$13(Lio/vertx/core/Vertx;Lio/vertx/core/Promise;)V (6)
(Lio/vertx/core/Promise;)V
2: invokeinterface io.vertx.ext.healthchecks.HealthCheckHandler.register:(Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/ext/healthchecks/HealthCheckHandler;
pop
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lexamples/HealthCheckExamples;
0 4 1 vertx Lio/vertx/core/Vertx;
0 4 2 handler Lio/vertx/ext/healthchecks/HealthCheckHandler;
MethodParameters:
Name Flags
vertx
handler
public void publishOnEventBus(io.vertx.core.Vertx, io.vertx.ext.healthchecks.HealthChecks);
descriptor: (Lio/vertx/core/Vertx;Lio/vertx/ext/healthchecks/HealthChecks;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface io.vertx.core.Vertx.eventBus:()Lio/vertx/core/eventbus/EventBus;
ldc "health"
1: aload 2
invokedynamic handle(Lio/vertx/ext/healthchecks/HealthChecks;)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
examples/HealthCheckExamples.lambda$15(Lio/vertx/ext/healthchecks/HealthChecks;Lio/vertx/core/eventbus/Message;)V (6)
(Lio/vertx/core/eventbus/Message;)V
2: invokeinterface io.vertx.core.eventbus.EventBus.consumer:(Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/eventbus/MessageConsumer;
pop
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lexamples/HealthCheckExamples;
0 4 1 vertx Lio/vertx/core/Vertx;
0 4 2 healthChecks Lio/vertx/ext/healthchecks/HealthChecks;
MethodParameters:
Name Flags
vertx
healthChecks
private static void lambda$0(io.vertx.core.Promise);
descriptor: (Lio/vertx/core/Promise;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic io.vertx.ext.healthchecks.Status.OK:()Lio/vertx/ext/healthchecks/Status;
invokeinterface io.vertx.core.Promise.complete:(Ljava/lang/Object;)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 future Lio/vertx/core/Promise<Lio/vertx/ext/healthchecks/Status;>;
private static void lambda$1(io.vertx.core.Promise);
descriptor: (Lio/vertx/core/Promise;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic io.vertx.ext.healthchecks.Status.OK:()Lio/vertx/ext/healthchecks/Status;
invokeinterface io.vertx.core.Promise.complete:(Ljava/lang/Object;)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 future Lio/vertx/core/Promise<Lio/vertx/ext/healthchecks/Status;>;
private static void lambda$2(io.vertx.core.Promise);
descriptor: (Lio/vertx/core/Promise;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic io.vertx.ext.healthchecks.Status.OK:()Lio/vertx/ext/healthchecks/Status;
invokeinterface io.vertx.core.Promise.complete:(Ljava/lang/Object;)V
1: aload 0
invokestatic io.vertx.ext.healthchecks.Status.KO:()Lio/vertx/ext/healthchecks/Status;
invokeinterface io.vertx.core.Promise.complete:(Ljava/lang/Object;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 future Lio/vertx/core/Promise<Lio/vertx/ext/healthchecks/Status;>;
private static void lambda$3(io.vertx.core.Promise);
descriptor: (Lio/vertx/core/Promise;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic io.vertx.ext.healthchecks.Status.OK:()Lio/vertx/ext/healthchecks/Status;
invokeinterface io.vertx.core.Promise.complete:(Ljava/lang/Object;)V
1: aload 0
invokestatic io.vertx.ext.healthchecks.Status.KO:()Lio/vertx/ext/healthchecks/Status;
invokeinterface io.vertx.core.Promise.complete:(Ljava/lang/Object;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 future Lio/vertx/core/Promise<Lio/vertx/ext/healthchecks/Status;>;
private static void lambda$4(io.vertx.core.Promise);
descriptor: (Lio/vertx/core/Promise;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 future Lio/vertx/core/Promise<Lio/vertx/ext/healthchecks/Status;>;
private static void lambda$5(io.vertx.core.Promise);
descriptor: (Lio/vertx/core/Promise;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 future Lio/vertx/core/Promise<Lio/vertx/ext/healthchecks/Status;>;
private static void lambda$6(io.vertx.core.Promise);
descriptor: (Lio/vertx/core/Promise;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
ldc "available-memory"
ldc "2mb"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/json/JsonObject;
invokestatic io.vertx.ext.healthchecks.Status.OK:(Lio/vertx/core/json/JsonObject;)Lio/vertx/ext/healthchecks/Status;
invokeinterface io.vertx.core.Promise.complete:(Ljava/lang/Object;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 future Lio/vertx/core/Promise<Lio/vertx/ext/healthchecks/Status;>;
private static void lambda$7(io.vertx.core.Promise);
descriptor: (Lio/vertx/core/Promise;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
ldc "load"
bipush 99
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Integer;)Lio/vertx/core/json/JsonObject;
invokestatic io.vertx.ext.healthchecks.Status.KO:(Lio/vertx/core/json/JsonObject;)Lio/vertx/ext/healthchecks/Status;
invokeinterface io.vertx.core.Promise.complete:(Ljava/lang/Object;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 future Lio/vertx/core/Promise<Lio/vertx/ext/healthchecks/Status;>;
private static void lambda$8(io.vertx.ext.jdbc.JDBCClient, io.vertx.core.Promise);
descriptor: (Lio/vertx/ext/jdbc/JDBCClient;Lio/vertx/core/Promise;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 0
aload 1
invokedynamic handle(Lio/vertx/core/Promise;)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
examples/HealthCheckExamples.lambda$9(Lio/vertx/core/Promise;Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.ext.jdbc.JDBCClient.getConnection:(Lio/vertx/core/Handler;)Lio/vertx/ext/sql/SQLClient;
1: return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 2 1 future Lio/vertx/core/Promise<Lio/vertx/ext/healthchecks/Status;>;
private static void lambda$10(io.vertx.servicediscovery.ServiceDiscovery, io.vertx.core.Promise);
descriptor: (Lio/vertx/servicediscovery/ServiceDiscovery;Lio/vertx/core/Promise;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 1 0: aload 0
1: 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;
examples/HealthCheckExamples.lambda$11(Lio/vertx/servicediscovery/Record;)Ljava/lang/Boolean; (6)
(Lio/vertx/servicediscovery/Record;)Ljava/lang/Boolean;
2: aload 1
invokedynamic handle(Lio/vertx/core/Promise;)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
examples/HealthCheckExamples.lambda$12(Lio/vertx/core/Promise;Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
3: invokestatic io.vertx.servicediscovery.types.HttpEndpoint.getClient:(Lio/vertx/servicediscovery/ServiceDiscovery;Ljava/util/function/Function;Lio/vertx/core/Handler;)V
4: return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 5 1 future Lio/vertx/core/Promise<Lio/vertx/ext/healthchecks/Status;>;
private static void lambda$13(io.vertx.core.Vertx, io.vertx.core.Promise);
descriptor: (Lio/vertx/core/Vertx;Lio/vertx/core/Promise;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=2
start local 1 0: aload 0
invokeinterface io.vertx.core.Vertx.eventBus:()Lio/vertx/core/eventbus/EventBus;
ldc "health"
ldc "ping"
aload 1
invokedynamic handle(Lio/vertx/core/Promise;)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
examples/HealthCheckExamples.lambda$14(Lio/vertx/core/Promise;Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.eventbus.EventBus.send:(Ljava/lang/String;Ljava/lang/Object;Lio/vertx/core/Handler;)Lio/vertx/core/eventbus/EventBus;
1: return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 2 1 future Lio/vertx/core/Promise<Lio/vertx/ext/healthchecks/Status;>;
private static void lambda$15(io.vertx.ext.healthchecks.HealthChecks, io.vertx.core.eventbus.Message);
descriptor: (Lio/vertx/ext/healthchecks/HealthChecks;Lio/vertx/core/eventbus/Message;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 1 0: aload 0
aload 1
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic handle(Lio/vertx/core/eventbus/Message;)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/core/eventbus/Message.reply(Ljava/lang/Object;)V (9 itf)
(Lio/vertx/core/json/JsonObject;)V
invokeinterface io.vertx.ext.healthchecks.HealthChecks.invoke:(Lio/vertx/core/Handler;)Lio/vertx/ext/healthchecks/HealthChecks;
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 message Lio/vertx/core/eventbus/Message<Ljava/lang/Object;>;
private static void lambda$9(io.vertx.core.Promise, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Promise;Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 1
invokeinterface io.vertx.core.AsyncResult.failed:()Z
ifeq 3
1: aload 0
aload 1
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokeinterface io.vertx.core.Promise.fail:(Ljava/lang/Throwable;)V
2: goto 5
3: StackMap locals:
StackMap stack:
aload 1
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.ext.sql.SQLConnection
invokeinterface io.vertx.ext.sql.SQLConnection.close:()V
4: aload 0
invokestatic io.vertx.ext.healthchecks.Status.OK:()Lio/vertx/ext/healthchecks/Status;
invokeinterface io.vertx.core.Promise.complete:(Ljava/lang/Object;)V
5: StackMap locals:
StackMap stack:
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 6 1 connection Lio/vertx/core/AsyncResult<Lio/vertx/ext/sql/SQLConnection;>;
private static java.lang.Boolean lambda$11(io.vertx.servicediscovery.Record);
descriptor: (Lio/vertx/servicediscovery/Record;)Ljava/lang/Boolean;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc "my-service"
aload 0
invokevirtual io.vertx.servicediscovery.Record.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 rec Lio/vertx/servicediscovery/Record;
private static void lambda$12(io.vertx.core.Promise, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Promise;Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 1
invokeinterface io.vertx.core.AsyncResult.failed:()Z
ifeq 3
1: aload 0
aload 1
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokeinterface io.vertx.core.Promise.fail:(Ljava/lang/Throwable;)V
2: goto 5
3: StackMap locals:
StackMap stack:
aload 1
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.http.HttpClient
invokeinterface io.vertx.core.http.HttpClient.close:()V
4: aload 0
invokestatic io.vertx.ext.healthchecks.Status.OK:()Lio/vertx/ext/healthchecks/Status;
invokeinterface io.vertx.core.Promise.complete:(Ljava/lang/Object;)V
5: StackMap locals:
StackMap stack:
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 6 1 client Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpClient;>;
private static void lambda$14(io.vertx.core.Promise, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Promise;Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 1
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 3
1: aload 0
invokestatic io.vertx.ext.healthchecks.Status.OK:()Lio/vertx/ext/healthchecks/Status;
invokeinterface io.vertx.core.Promise.complete:(Ljava/lang/Object;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
invokestatic io.vertx.ext.healthchecks.Status.KO:()Lio/vertx/ext/healthchecks/Status;
invokeinterface io.vertx.core.Promise.complete:(Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 5 1 response Lio/vertx/core/AsyncResult<Lio/vertx/core/eventbus/Message<Ljava/lang/Object;>;>;
}
SourceFile: "HealthCheckExamples.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles