class examples.RedisExamples$1RedisVerticle extends io.vertx.core.AbstractVerticle
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: examples.RedisExamples$1RedisVerticle
super_class: io.vertx.core.AbstractVerticle
{
private static final int MAX_RECONNECT_RETRIES;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 16
private io.vertx.redis.client.RedisOptions options;
descriptor: Lio/vertx/redis/client/RedisOptions;
flags: (0x0002) ACC_PRIVATE
private io.vertx.redis.client.Redis client;
descriptor: Lio/vertx/redis/client/Redis;
flags: (0x0002) ACC_PRIVATE
final examples.RedisExamples this$0;
descriptor: Lexamples/RedisExamples;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(examples.RedisExamples);
descriptor: (Lexamples/RedisExamples;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield examples.RedisExamples$1RedisVerticle.this$0:Lexamples/RedisExamples;
aload 0
invokespecial io.vertx.core.AbstractVerticle.<init>:()V
1: aload 0
new io.vertx.redis.client.RedisOptions
dup
invokespecial io.vertx.redis.client.RedisOptions.<init>:()V
putfield examples.RedisExamples$1RedisVerticle.options:Lio/vertx/redis/client/RedisOptions;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/RedisExamples$1RedisVerticle;
MethodParameters:
Name Flags
this$0 final
public void start();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
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/RedisExamples$1RedisVerticle.lambda$0(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokevirtual examples.RedisExamples$1RedisVerticle.createRedisClient:(Lio/vertx/core/Handler;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/RedisExamples$1RedisVerticle;
private void createRedisClient(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.redis.client.Redis>>);
descriptor: (Lio/vertx/core/Handler;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield examples.RedisExamples$1RedisVerticle.vertx:Lio/vertx/core/Vertx;
aload 0
getfield examples.RedisExamples$1RedisVerticle.options:Lio/vertx/redis/client/RedisOptions;
invokestatic io.vertx.redis.client.Redis.createClient:(Lio/vertx/core/Vertx;Lio/vertx/redis/client/RedisOptions;)Lio/vertx/redis/client/Redis;
1: aload 0
aload 1
invokedynamic handle(Lexamples/RedisExamples$1RedisVerticle;Lio/vertx/core/Handler;)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/RedisExamples$1RedisVerticle.lambda$1(Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.redis.client.Redis.connect:(Lio/vertx/core/Handler;)Lio/vertx/redis/client/Redis;
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/RedisExamples$1RedisVerticle;
0 3 1 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/redis/client/Redis;>;>;
Signature: (Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/redis/client/Redis;>;>;)V
MethodParameters:
Name Flags
handler
private void attemptReconnect(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: iload 1
bipush 16
if_icmpgt 3
1: ldc 2.0
bipush 16
bipush 16
iload 1
isub
bipush 9
invokestatic java.lang.Math.max:(II)I
isub
i2d
invokestatic java.lang.Math.pow:(DD)D
ldc 10.0
dmul
d2l
lstore 2
start local 2 2: aload 0
getfield examples.RedisExamples$1RedisVerticle.vertx:Lio/vertx/core/Vertx;
lload 2
aload 0
iload 1
invokedynamic handle(Lexamples/RedisExamples$1RedisVerticle;I)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/RedisExamples$1RedisVerticle.lambda$3(ILjava/lang/Long;)V (7)
(Ljava/lang/Long;)V
invokeinterface io.vertx.core.Vertx.setTimer:(JLio/vertx/core/Handler;)J
pop2
end local 2 3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lexamples/RedisExamples$1RedisVerticle;
0 4 1 retry I
2 3 2 backoff J
MethodParameters:
Name Flags
retry
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
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 onCreate Lio/vertx/core/AsyncResult<Lio/vertx/redis/client/Redis;>;
private void lambda$1(io.vertx.core.Handler, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 2 0: aload 2
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 3
1: aload 0
aload 2
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.redis.client.Redis
putfield examples.RedisExamples$1RedisVerticle.client:Lio/vertx/redis/client/Redis;
2: aload 0
getfield examples.RedisExamples$1RedisVerticle.client:Lio/vertx/redis/client/Redis;
aload 0
invokedynamic handle(Lexamples/RedisExamples$1RedisVerticle;)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/RedisExamples$1RedisVerticle.lambda$2(Ljava/lang/Throwable;)V (7)
(Ljava/lang/Throwable;)V
invokeinterface io.vertx.redis.client.Redis.exceptionHandler:(Lio/vertx/core/Handler;)Lio/vertx/redis/client/Redis;
pop
3: StackMap locals:
StackMap stack:
aload 1
aload 2
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
4: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lexamples/RedisExamples$1RedisVerticle;
0 5 2 onConnect Lio/vertx/core/AsyncResult<Lio/vertx/redis/client/Redis;>;
private void lambda$3(int, java.lang.Long);
descriptor: (ILjava/lang/Long;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 0
iload 1
invokedynamic handle(Lexamples/RedisExamples$1RedisVerticle;I)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/RedisExamples$1RedisVerticle.lambda$4(ILio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokevirtual examples.RedisExamples$1RedisVerticle.createRedisClient:(Lio/vertx/core/Handler;)V
1: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/RedisExamples$1RedisVerticle;
0 2 2 timer Ljava/lang/Long;
private void lambda$2(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
invokevirtual examples.RedisExamples$1RedisVerticle.attemptReconnect:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/RedisExamples$1RedisVerticle;
0 2 1 e Ljava/lang/Throwable;
private void lambda$4(int, io.vertx.core.AsyncResult);
descriptor: (ILio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 2 0: aload 2
invokeinterface io.vertx.core.AsyncResult.failed:()Z
ifeq 2
1: aload 0
iload 1
iconst_1
iadd
invokevirtual examples.RedisExamples$1RedisVerticle.attemptReconnect:(I)V
2: StackMap locals:
StackMap stack:
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/RedisExamples$1RedisVerticle;
0 3 2 onReconnect Lio/vertx/core/AsyncResult<Lio/vertx/redis/client/Redis;>;
}
SourceFile: "RedisExamples.java"
EnclosingMethod: examples.RedisExamples.example10:()V
NestHost: examples.RedisExamples
InnerClasses:
RedisVerticle = examples.RedisExamples$1RedisVerticle
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles