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 final io.vertx.redis.client.RedisOptions options;
descriptor: Lio/vertx/redis/client/RedisOptions;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private io.vertx.redis.client.RedisConnection client;
descriptor: Lio/vertx/redis/client/RedisConnection;
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
invokevirtual examples.RedisExamples$1RedisVerticle.createRedisClient:()Lio/vertx/core/Future;
1: 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/redis/client/RedisConnection;)V (6)
(Lio/vertx/redis/client/RedisConnection;)V
invokeinterface io.vertx.core.Future.onSuccess:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/RedisExamples$1RedisVerticle;
private io.vertx.core.Future<io.vertx.redis.client.RedisConnection> createRedisClient();
descriptor: ()Lio/vertx/core/Future;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: invokestatic io.vertx.core.Promise.promise:()Lio/vertx/core/Promise;
astore 1
start local 1 1: 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;
2: invokeinterface io.vertx.redis.client.Redis.connect:()Lio/vertx/core/Future;
3: aload 0
aload 1
invokedynamic handle(Lexamples/RedisExamples$1RedisVerticle;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/RedisExamples$1RedisVerticle.lambda$1(Lio/vertx/core/Promise;Lio/vertx/redis/client/RedisConnection;)V (7)
(Lio/vertx/redis/client/RedisConnection;)V
invokeinterface io.vertx.core.Future.onSuccess:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
4: aload 1
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lexamples/RedisExamples$1RedisVerticle;
1 5 1 promise Lio/vertx/core/Promise<Lio/vertx/redis/client/RedisConnection;>;
Signature: ()Lio/vertx/core/Future<Lio/vertx/redis/client/RedisConnection;>;
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
iload 1
bipush 10
invokestatic java.lang.Math.min:(II)I
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.redis.client.RedisConnection);
descriptor: (Lio/vertx/redis/client/RedisConnection;)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 conn Lio/vertx/redis/client/RedisConnection;
private void lambda$1(io.vertx.core.Promise, io.vertx.redis.client.RedisConnection);
descriptor: (Lio/vertx/core/Promise;Lio/vertx/redis/client/RedisConnection;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 2 0: aload 2
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.RedisConnection.exceptionHandler:(Lio/vertx/core/Handler;)Lio/vertx/redis/client/RedisConnection;
pop
1: aload 1
aload 2
invokeinterface io.vertx.core.Promise.complete:(Ljava/lang/Object;)V
2: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/RedisExamples$1RedisVerticle;
0 3 2 conn Lio/vertx/redis/client/RedisConnection;
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
invokevirtual examples.RedisExamples$1RedisVerticle.createRedisClient:()Lio/vertx/core/Future;
1: 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(ILjava/lang/Throwable;)V (7)
(Ljava/lang/Throwable;)V
invokeinterface io.vertx.core.Future.onFailure:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
2: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/RedisExamples$1RedisVerticle;
0 3 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, java.lang.Throwable);
descriptor: (ILjava/lang/Throwable;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 2 0: aload 0
iload 1
iconst_1
iadd
invokevirtual examples.RedisExamples$1RedisVerticle.attemptReconnect:(I)V
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lexamples/RedisExamples$1RedisVerticle;
0 1 2 t Ljava/lang/Throwable;
}
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