public interface io.vertx.spi.cluster.hazelcast.ClusterHealthCheck
minor version: 0
major version: 59
flags: flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT
this_class: io.vertx.spi.cluster.hazelcast.ClusterHealthCheck
super_class: java.lang.Object
{
public static io.vertx.core.Handler<io.vertx.core.Promise<io.vertx.ext.healthchecks.Status>> createProcedure(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)Lio/vertx/core/Handler;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
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
io/vertx/spi/cluster/hazelcast/ClusterHealthCheck.lambda$0(Lio/vertx/core/Vertx;Lio/vertx/core/Promise;)V (6 itf)
(Lio/vertx/core/Promise;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 vertx Lio/vertx/core/Vertx;
Signature: (Lio/vertx/core/Vertx;)Lio/vertx/core/Handler<Lio/vertx/core/Promise<Lio/vertx/ext/healthchecks/Status;>;>;
MethodParameters:
Name Flags
vertx
private static void lambda$0(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=3, locals=5, args_size=2
start local 1 0: aload 0
checkcast io.vertx.core.impl.VertxInternal
astore 2
start local 2 1: aload 2
invokeinterface io.vertx.core.impl.VertxInternal.getClusterManager:()Lio/vertx/core/spi/cluster/ClusterManager;
checkcast io.vertx.spi.cluster.hazelcast.HazelcastClusterManager
astore 3
start local 3 2: aload 3
invokevirtual io.vertx.spi.cluster.hazelcast.HazelcastClusterManager.getHazelcastInstance:()Lcom/hazelcast/core/HazelcastInstance;
invokeinterface com.hazelcast.core.HazelcastInstance.getPartitionService:()Lcom/hazelcast/partition/PartitionService;
astore 4
start local 4 3: aload 1
new io.vertx.ext.healthchecks.Status
dup
invokespecial io.vertx.ext.healthchecks.Status.<init>:()V
aload 4
invokeinterface com.hazelcast.partition.PartitionService.isClusterSafe:()Z
invokevirtual io.vertx.ext.healthchecks.Status.setOk:(Z)Lio/vertx/ext/healthchecks/Status;
invokeinterface io.vertx.core.Promise.complete:(Ljava/lang/Object;)V
end local 4 end local 3 end local 2 4: return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 5 1 future Lio/vertx/core/Promise<Lio/vertx/ext/healthchecks/Status;>;
1 4 2 vertxInternal Lio/vertx/core/impl/VertxInternal;
2 4 3 clusterManager Lio/vertx/spi/cluster/hazelcast/HazelcastClusterManager;
3 4 4 partitionService Lcom/hazelcast/partition/PartitionService;
}
SourceFile: "ClusterHealthCheck.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.VertxGen()