public class examples.Examples
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: examples.Examples
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/Examples;
public void example1();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: new io.vertx.spi.cluster.hazelcast.HazelcastClusterManager
dup
invokespecial io.vertx.spi.cluster.hazelcast.HazelcastClusterManager.<init>:()V
astore 1
start local 1 1: new io.vertx.core.VertxOptions
dup
invokespecial io.vertx.core.VertxOptions.<init>:()V
aload 1
invokevirtual io.vertx.core.VertxOptions.setClusterManager:(Lio/vertx/core/spi/cluster/ClusterManager;)Lio/vertx/core/VertxOptions;
astore 2
start local 2 2: aload 2
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/Examples.lambda$0(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokestatic io.vertx.core.Vertx.clusteredVertx:(Lio/vertx/core/VertxOptions;Lio/vertx/core/Handler;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lexamples/Examples;
1 4 1 mgr Lio/vertx/core/spi/cluster/ClusterManager;
2 4 2 options Lio/vertx/core/VertxOptions;
public void example2();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: new com.hazelcast.config.Config
dup
invokespecial com.hazelcast.config.Config.<init>:()V
astore 1
start local 1 1: new io.vertx.spi.cluster.hazelcast.HazelcastClusterManager
dup
aload 1
invokespecial io.vertx.spi.cluster.hazelcast.HazelcastClusterManager.<init>:(Lcom/hazelcast/config/Config;)V
astore 2
start local 2 2: new io.vertx.core.VertxOptions
dup
invokespecial io.vertx.core.VertxOptions.<init>:()V
aload 2
invokevirtual io.vertx.core.VertxOptions.setClusterManager:(Lio/vertx/core/spi/cluster/ClusterManager;)Lio/vertx/core/VertxOptions;
astore 3
start local 3 3: aload 3
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/Examples.lambda$1(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokestatic io.vertx.core.Vertx.clusteredVertx:(Lio/vertx/core/VertxOptions;Lio/vertx/core/Handler;)V
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/Examples;
1 5 1 hazelcastConfig Lcom/hazelcast/config/Config;
2 5 2 mgr Lio/vertx/core/spi/cluster/ClusterManager;
3 5 3 options Lio/vertx/core/VertxOptions;
public void customizeDefaultConfig();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: invokestatic io.vertx.spi.cluster.hazelcast.ConfigUtil.loadConfig:()Lcom/hazelcast/config/Config;
astore 1
start local 1 1: aload 1
ldc "my-cluster-name"
invokevirtual com.hazelcast.config.Config.setClusterName:(Ljava/lang/String;)Lcom/hazelcast/config/Config;
pop
2: new io.vertx.spi.cluster.hazelcast.HazelcastClusterManager
dup
aload 1
invokespecial io.vertx.spi.cluster.hazelcast.HazelcastClusterManager.<init>:(Lcom/hazelcast/config/Config;)V
astore 2
start local 2 3: new io.vertx.core.VertxOptions
dup
invokespecial io.vertx.core.VertxOptions.<init>:()V
aload 2
invokevirtual io.vertx.core.VertxOptions.setClusterManager:(Lio/vertx/core/spi/cluster/ClusterManager;)Lio/vertx/core/VertxOptions;
astore 3
start local 3 4: aload 3
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/Examples.lambda$2(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokestatic io.vertx.core.Vertx.clusteredVertx:(Lio/vertx/core/VertxOptions;Lio/vertx/core/Handler;)V
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lexamples/Examples;
1 6 1 hazelcastConfig Lcom/hazelcast/config/Config;
3 6 2 mgr Lio/vertx/core/spi/cluster/ClusterManager;
4 6 3 options Lio/vertx/core/VertxOptions;
public void example3(com.hazelcast.core.HazelcastInstance);
descriptor: (Lcom/hazelcast/core/HazelcastInstance;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: new io.vertx.spi.cluster.hazelcast.HazelcastClusterManager
dup
aload 1
invokespecial io.vertx.spi.cluster.hazelcast.HazelcastClusterManager.<init>:(Lcom/hazelcast/core/HazelcastInstance;)V
astore 2
start local 2 1: new io.vertx.core.VertxOptions
dup
invokespecial io.vertx.core.VertxOptions.<init>:()V
aload 2
invokevirtual io.vertx.core.VertxOptions.setClusterManager:(Lio/vertx/core/spi/cluster/ClusterManager;)Lio/vertx/core/VertxOptions;
astore 3
start local 3 2: aload 3
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/Examples.lambda$3(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokestatic io.vertx.core.Vertx.clusteredVertx:(Lio/vertx/core/VertxOptions;Lio/vertx/core/Handler;)V
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lexamples/Examples;
0 4 1 hazelcastInstance Lcom/hazelcast/core/HazelcastInstance;
1 4 2 mgr Lio/vertx/core/spi/cluster/ClusterManager;
2 4 3 options Lio/vertx/core/VertxOptions;
MethodParameters:
Name Flags
hazelcastInstance
public void healthCheck(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic io.vertx.spi.cluster.hazelcast.ClusterHealthCheck.createProcedure:(Lio/vertx/core/Vertx;)Lio/vertx/core/Handler;
astore 2
start local 2 1: aload 1
invokestatic io.vertx.ext.healthchecks.HealthChecks.create:(Lio/vertx/core/Vertx;)Lio/vertx/ext/healthchecks/HealthChecks;
ldc "cluster-health"
aload 2
invokeinterface io.vertx.ext.healthchecks.HealthChecks.register:(Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/ext/healthchecks/HealthChecks;
pop
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/Examples;
0 3 1 vertx Lio/vertx/core/Vertx;
1 3 2 procedure Lio/vertx/core/Handler<Lio/vertx/core/Promise<Lio/vertx/ext/healthchecks/Status;>;>;
MethodParameters:
Name Flags
vertx
public void healthCheckHandler(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=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic io.vertx.ext.web.Router.router:(Lio/vertx/core/Vertx;)Lio/vertx/ext/web/Router;
astore 3
start local 3 1: aload 3
ldc "/readiness"
invokeinterface io.vertx.ext.web.Router.get:(Ljava/lang/String;)Lio/vertx/ext/web/Route;
aload 2
invokestatic io.vertx.ext.healthchecks.HealthCheckHandler.createWithHealthChecks:(Lio/vertx/ext/healthchecks/HealthChecks;)Lio/vertx/ext/healthchecks/HealthCheckHandler;
invokeinterface io.vertx.ext.web.Route.handler:(Lio/vertx/core/Handler;)Lio/vertx/ext/web/Route;
pop
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/Examples;
0 3 1 vertx Lio/vertx/core/Vertx;
0 3 2 checks Lio/vertx/ext/healthchecks/HealthChecks;
1 3 3 router Lio/vertx/ext/web/Router;
MethodParameters:
Name Flags
vertx
checks
public void liteMemberConfig();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: invokestatic io.vertx.spi.cluster.hazelcast.ConfigUtil.loadConfig:()Lcom/hazelcast/config/Config;
1: iconst_1
invokevirtual com.hazelcast.config.Config.setLiteMember:(Z)Lcom/hazelcast/config/Config;
2: astore 1
start local 1 3: new io.vertx.spi.cluster.hazelcast.HazelcastClusterManager
dup
aload 1
invokespecial io.vertx.spi.cluster.hazelcast.HazelcastClusterManager.<init>:(Lcom/hazelcast/config/Config;)V
astore 2
start local 2 4: new io.vertx.core.VertxOptions
dup
invokespecial io.vertx.core.VertxOptions.<init>:()V
aload 2
invokevirtual io.vertx.core.VertxOptions.setClusterManager:(Lio/vertx/core/spi/cluster/ClusterManager;)Lio/vertx/core/VertxOptions;
astore 3
start local 3 5: aload 3
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/Examples.lambda$4(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokestatic io.vertx.core.Vertx.clusteredVertx:(Lio/vertx/core/VertxOptions;Lio/vertx/core/Handler;)V
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lexamples/Examples;
3 7 1 hazelcastConfig Lcom/hazelcast/config/Config;
4 7 2 mgr Lio/vertx/core/spi/cluster/ClusterManager;
5 7 3 options Lio/vertx/core/VertxOptions;
private static void lambda$0(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 2
1: aload 0
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.Vertx
pop
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 res Lio/vertx/core/AsyncResult<Lio/vertx/core/Vertx;>;
private static void lambda$1(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 2
1: aload 0
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.Vertx
pop
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 res Lio/vertx/core/AsyncResult<Lio/vertx/core/Vertx;>;
private static void lambda$2(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 2
1: aload 0
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.Vertx
pop
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 res Lio/vertx/core/AsyncResult<Lio/vertx/core/Vertx;>;
private static void lambda$3(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 2
1: aload 0
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.Vertx
pop
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 res Lio/vertx/core/AsyncResult<Lio/vertx/core/Vertx;>;
private static void lambda$4(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 2
1: aload 0
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.Vertx
pop
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 res Lio/vertx/core/AsyncResult<Lio/vertx/core/Vertx;>;
}
SourceFile: "Examples.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles