public class examples.CircuitBreakerExamples
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: examples.CircuitBreakerExamples
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/CircuitBreakerExamples;
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: ldc "my-circuit-breaker"
aload 1
1: new io.vertx.circuitbreaker.CircuitBreakerOptions
dup
invokespecial io.vertx.circuitbreaker.CircuitBreakerOptions.<init>:()V
2: iconst_5
invokevirtual io.vertx.circuitbreaker.CircuitBreakerOptions.setMaxFailures:(I)Lio/vertx/circuitbreaker/CircuitBreakerOptions;
3: ldc 2000
invokevirtual io.vertx.circuitbreaker.CircuitBreakerOptions.setTimeout:(J)Lio/vertx/circuitbreaker/CircuitBreakerOptions;
4: iconst_1
invokevirtual io.vertx.circuitbreaker.CircuitBreakerOptions.setFallbackOnFailure:(Z)Lio/vertx/circuitbreaker/CircuitBreakerOptions;
5: ldc 10000
invokevirtual io.vertx.circuitbreaker.CircuitBreakerOptions.setResetTimeout:(J)Lio/vertx/circuitbreaker/CircuitBreakerOptions;
6: invokestatic io.vertx.circuitbreaker.CircuitBreaker.create:(Ljava/lang/String;Lio/vertx/core/Vertx;Lio/vertx/circuitbreaker/CircuitBreakerOptions;)Lio/vertx/circuitbreaker/CircuitBreaker;
astore 2
start local 2 7: 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/CircuitBreakerExamples.lambda$0(Lio/vertx/core/Promise;)V (6)
(Lio/vertx/core/Promise;)V
invokeinterface io.vertx.circuitbreaker.CircuitBreaker.execute:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
8: 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/CircuitBreakerExamples.lambda$1(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.Future.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lexamples/CircuitBreakerExamples;
0 10 1 vertx Lio/vertx/core/Vertx;
7 10 2 breaker Lio/vertx/circuitbreaker/CircuitBreaker;
MethodParameters:
Name Flags
vertx
public void example2(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: ldc "my-circuit-breaker"
aload 1
1: new io.vertx.circuitbreaker.CircuitBreakerOptions
dup
invokespecial io.vertx.circuitbreaker.CircuitBreakerOptions.<init>:()V
iconst_5
invokevirtual io.vertx.circuitbreaker.CircuitBreakerOptions.setMaxFailures:(I)Lio/vertx/circuitbreaker/CircuitBreakerOptions;
ldc 2000
invokevirtual io.vertx.circuitbreaker.CircuitBreakerOptions.setTimeout:(J)Lio/vertx/circuitbreaker/CircuitBreakerOptions;
2: invokestatic io.vertx.circuitbreaker.CircuitBreaker.create:(Ljava/lang/String;Lio/vertx/core/Vertx;Lio/vertx/circuitbreaker/CircuitBreakerOptions;)Lio/vertx/circuitbreaker/CircuitBreaker;
astore 2
start local 2 3: aload 2
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/CircuitBreakerExamples.lambda$2(Lio/vertx/core/Vertx;Lio/vertx/core/Promise;)V (6)
(Lio/vertx/core/Promise;)V
invokeinterface io.vertx.circuitbreaker.CircuitBreaker.execute:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
4: 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/CircuitBreakerExamples.lambda$6(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.Future.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lexamples/CircuitBreakerExamples;
0 6 1 vertx Lio/vertx/core/Vertx;
3 6 2 breaker Lio/vertx/circuitbreaker/CircuitBreaker;
MethodParameters:
Name Flags
vertx
public void example3(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: ldc "my-circuit-breaker"
aload 1
1: new io.vertx.circuitbreaker.CircuitBreakerOptions
dup
invokespecial io.vertx.circuitbreaker.CircuitBreakerOptions.<init>:()V
iconst_5
invokevirtual io.vertx.circuitbreaker.CircuitBreakerOptions.setMaxFailures:(I)Lio/vertx/circuitbreaker/CircuitBreakerOptions;
ldc 2000
invokevirtual io.vertx.circuitbreaker.CircuitBreakerOptions.setTimeout:(J)Lio/vertx/circuitbreaker/CircuitBreakerOptions;
2: invokestatic io.vertx.circuitbreaker.CircuitBreaker.create:(Ljava/lang/String;Lio/vertx/core/Vertx;Lio/vertx/circuitbreaker/CircuitBreakerOptions;)Lio/vertx/circuitbreaker/CircuitBreaker;
astore 2
start local 2 3: aload 2
4: 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/CircuitBreakerExamples.lambda$7(Lio/vertx/core/Vertx;Lio/vertx/core/Promise;)V (6)
(Lio/vertx/core/Promise;)V
5: 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/CircuitBreakerExamples.lambda$8(Ljava/lang/Throwable;)Ljava/lang/String; (6)
(Ljava/lang/Throwable;)Ljava/lang/String;
6: invokeinterface io.vertx.circuitbreaker.CircuitBreaker.executeWithFallback:(Lio/vertx/core/Handler;Ljava/util/function/Function;)Lio/vertx/core/Future;
7: 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/CircuitBreakerExamples.lambda$12(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.Future.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lexamples/CircuitBreakerExamples;
0 9 1 vertx Lio/vertx/core/Vertx;
3 9 2 breaker Lio/vertx/circuitbreaker/CircuitBreaker;
MethodParameters:
Name Flags
vertx
public void example4(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: ldc "my-circuit-breaker"
aload 1
1: new io.vertx.circuitbreaker.CircuitBreakerOptions
dup
invokespecial io.vertx.circuitbreaker.CircuitBreakerOptions.<init>:()V
iconst_5
invokevirtual io.vertx.circuitbreaker.CircuitBreakerOptions.setMaxFailures:(I)Lio/vertx/circuitbreaker/CircuitBreakerOptions;
ldc 2000
invokevirtual io.vertx.circuitbreaker.CircuitBreakerOptions.setTimeout:(J)Lio/vertx/circuitbreaker/CircuitBreakerOptions;
2: invokestatic io.vertx.circuitbreaker.CircuitBreaker.create:(Ljava/lang/String;Lio/vertx/core/Vertx;Lio/vertx/circuitbreaker/CircuitBreakerOptions;)Lio/vertx/circuitbreaker/CircuitBreaker;
3: 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/CircuitBreakerExamples.lambda$13(Ljava/lang/Throwable;)Ljava/lang/String; (6)
(Ljava/lang/Throwable;)Ljava/lang/String;
invokeinterface io.vertx.circuitbreaker.CircuitBreaker.fallback:(Ljava/util/function/Function;)Lio/vertx/circuitbreaker/CircuitBreaker;
4: astore 2
start local 2 5: aload 2
6: 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/CircuitBreakerExamples.lambda$14(Lio/vertx/core/Vertx;Lio/vertx/core/Promise;)V (6)
(Lio/vertx/core/Promise;)V
7: invokeinterface io.vertx.circuitbreaker.CircuitBreaker.execute:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lexamples/CircuitBreakerExamples;
0 9 1 vertx Lio/vertx/core/Vertx;
5 9 2 breaker Lio/vertx/circuitbreaker/CircuitBreaker;
MethodParameters:
Name Flags
vertx
public void example5(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: ldc "my-circuit-breaker"
aload 1
1: new io.vertx.circuitbreaker.CircuitBreakerOptions
dup
invokespecial io.vertx.circuitbreaker.CircuitBreakerOptions.<init>:()V
iconst_5
invokevirtual io.vertx.circuitbreaker.CircuitBreakerOptions.setMaxFailures:(I)Lio/vertx/circuitbreaker/CircuitBreakerOptions;
ldc 2000
invokevirtual io.vertx.circuitbreaker.CircuitBreakerOptions.setTimeout:(J)Lio/vertx/circuitbreaker/CircuitBreakerOptions;
2: invokestatic io.vertx.circuitbreaker.CircuitBreaker.create:(Ljava/lang/String;Lio/vertx/core/Vertx;Lio/vertx/circuitbreaker/CircuitBreakerOptions;)Lio/vertx/circuitbreaker/CircuitBreaker;
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/CircuitBreakerExamples.lambda$18(Ljava/lang/Void;)V (6)
(Ljava/lang/Void;)V
invokeinterface io.vertx.circuitbreaker.CircuitBreaker.openHandler:(Lio/vertx/core/Handler;)Lio/vertx/circuitbreaker/CircuitBreaker;
4: 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/CircuitBreakerExamples.lambda$19(Ljava/lang/Void;)V (6)
(Ljava/lang/Void;)V
invokeinterface io.vertx.circuitbreaker.CircuitBreaker.closeHandler:(Lio/vertx/core/Handler;)Lio/vertx/circuitbreaker/CircuitBreaker;
5: astore 2
start local 2 6: aload 2
7: 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/CircuitBreakerExamples.lambda$20(Lio/vertx/core/Vertx;Lio/vertx/core/Promise;)V (6)
(Lio/vertx/core/Promise;)V
8: invokeinterface io.vertx.circuitbreaker.CircuitBreaker.execute:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lexamples/CircuitBreakerExamples;
0 10 1 vertx Lio/vertx/core/Vertx;
6 10 2 breaker Lio/vertx/circuitbreaker/CircuitBreaker;
MethodParameters:
Name Flags
vertx
public void example6(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: ldc "my-circuit-breaker"
aload 1
1: new io.vertx.circuitbreaker.CircuitBreakerOptions
dup
invokespecial io.vertx.circuitbreaker.CircuitBreakerOptions.<init>:()V
iconst_5
invokevirtual io.vertx.circuitbreaker.CircuitBreakerOptions.setMaxFailures:(I)Lio/vertx/circuitbreaker/CircuitBreakerOptions;
ldc 2000
invokevirtual io.vertx.circuitbreaker.CircuitBreakerOptions.setTimeout:(J)Lio/vertx/circuitbreaker/CircuitBreakerOptions;
2: invokestatic io.vertx.circuitbreaker.CircuitBreaker.create:(Ljava/lang/String;Lio/vertx/core/Vertx;Lio/vertx/circuitbreaker/CircuitBreakerOptions;)Lio/vertx/circuitbreaker/CircuitBreaker;
astore 2
start local 2 3: invokestatic io.vertx.core.Promise.promise:()Lio/vertx/core/Promise;
astore 3
start local 3 4: aload 3
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
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/CircuitBreakerExamples.lambda$24(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.Future.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
5: aload 2
6: aload 3
7: 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/CircuitBreakerExamples.lambda$25(Lio/vertx/core/Vertx;Lio/vertx/core/Promise;)V (6)
(Lio/vertx/core/Promise;)V
8: 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/CircuitBreakerExamples.lambda$26(Ljava/lang/Throwable;)Ljava/lang/String; (6)
(Ljava/lang/Throwable;)Ljava/lang/String;
9: invokeinterface io.vertx.circuitbreaker.CircuitBreaker.executeAndReportWithFallback:(Lio/vertx/core/Promise;Lio/vertx/core/Handler;Ljava/util/function/Function;)Lio/vertx/circuitbreaker/CircuitBreaker;
pop
10: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lexamples/CircuitBreakerExamples;
0 11 1 vertx Lio/vertx/core/Vertx;
3 11 2 breaker Lio/vertx/circuitbreaker/CircuitBreaker;
4 11 3 userPromise Lio/vertx/core/Promise<Ljava/lang/String;>;
MethodParameters:
Name Flags
vertx
public void example7(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: ldc "my-circuit-breaker"
aload 1
invokestatic io.vertx.circuitbreaker.CircuitBreaker.create:(Ljava/lang/String;Lio/vertx/core/Vertx;)Lio/vertx/circuitbreaker/CircuitBreaker;
pop
1: ldc "my-second-circuit-breaker"
aload 1
invokestatic io.vertx.circuitbreaker.CircuitBreaker.create:(Ljava/lang/String;Lio/vertx/core/Vertx;)Lio/vertx/circuitbreaker/CircuitBreaker;
pop
2: aload 1
invokestatic io.vertx.ext.web.Router.router:(Lio/vertx/core/Vertx;)Lio/vertx/ext/web/Router;
astore 2
start local 2 3: aload 2
ldc "/hystrix-metrics"
invokeinterface io.vertx.ext.web.Router.get:(Ljava/lang/String;)Lio/vertx/ext/web/Route;
aload 1
invokestatic io.vertx.circuitbreaker.HystrixMetricHandler.create:(Lio/vertx/core/Vertx;)Lio/vertx/circuitbreaker/HystrixMetricHandler;
invokeinterface io.vertx.ext.web.Route.handler:(Lio/vertx/core/Handler;)Lio/vertx/ext/web/Route;
pop
4: aload 1
invokeinterface io.vertx.core.Vertx.createHttpServer:()Lio/vertx/core/http/HttpServer;
5: aload 2
invokeinterface io.vertx.core.http.HttpServer.requestHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServer;
6: sipush 8080
invokeinterface io.vertx.core.http.HttpServer.listen:(I)Lio/vertx/core/Future;
pop
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lexamples/CircuitBreakerExamples;
0 8 1 vertx Lio/vertx/core/Vertx;
3 8 2 router Lio/vertx/ext/web/Router;
MethodParameters:
Name Flags
vertx
public void example8(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: ldc "my-circuit-breaker"
aload 1
1: new io.vertx.circuitbreaker.CircuitBreakerOptions
dup
invokespecial io.vertx.circuitbreaker.CircuitBreakerOptions.<init>:()V
iconst_5
invokevirtual io.vertx.circuitbreaker.CircuitBreakerOptions.setMaxFailures:(I)Lio/vertx/circuitbreaker/CircuitBreakerOptions;
iconst_5
invokevirtual io.vertx.circuitbreaker.CircuitBreakerOptions.setMaxRetries:(I)Lio/vertx/circuitbreaker/CircuitBreakerOptions;
ldc 2000
invokevirtual io.vertx.circuitbreaker.CircuitBreakerOptions.setTimeout:(J)Lio/vertx/circuitbreaker/CircuitBreakerOptions;
2: invokestatic io.vertx.circuitbreaker.CircuitBreaker.create:(Ljava/lang/String;Lio/vertx/core/Vertx;Lio/vertx/circuitbreaker/CircuitBreakerOptions;)Lio/vertx/circuitbreaker/CircuitBreaker;
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/CircuitBreakerExamples.lambda$30(Ljava/lang/Void;)V (6)
(Ljava/lang/Void;)V
invokeinterface io.vertx.circuitbreaker.CircuitBreaker.openHandler:(Lio/vertx/core/Handler;)Lio/vertx/circuitbreaker/CircuitBreaker;
4: 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/CircuitBreakerExamples.lambda$31(Ljava/lang/Void;)V (6)
(Ljava/lang/Void;)V
invokeinterface io.vertx.circuitbreaker.CircuitBreaker.closeHandler:(Lio/vertx/core/Handler;)Lio/vertx/circuitbreaker/CircuitBreaker;
5: 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/CircuitBreakerExamples.lambda$32(Ljava/lang/Integer;)Ljava/lang/Long; (6)
(Ljava/lang/Integer;)Ljava/lang/Long;
invokeinterface io.vertx.circuitbreaker.CircuitBreaker.retryPolicy:(Ljava/util/function/Function;)Lio/vertx/circuitbreaker/CircuitBreaker;
6: astore 2
start local 2 7: aload 2
8: 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/CircuitBreakerExamples.lambda$33(Lio/vertx/core/Vertx;Lio/vertx/core/Promise;)V (6)
(Lio/vertx/core/Promise;)V
9: invokeinterface io.vertx.circuitbreaker.CircuitBreaker.execute:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lexamples/CircuitBreakerExamples;
0 11 1 vertx Lio/vertx/core/Vertx;
7 11 2 breaker Lio/vertx/circuitbreaker/CircuitBreaker;
MethodParameters:
Name Flags
vertx
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=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 promise Lio/vertx/core/Promise<Ljava/lang/Object;>;
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=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 ar Lio/vertx/core/AsyncResult<Ljava/lang/Object;>;
private static void lambda$2(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=5, locals=2, args_size=2
start local 1 0: aload 0
invokeinterface io.vertx.core.Vertx.createHttpClient:()Lio/vertx/core/http/HttpClient;
getstatic io.vertx.core.http.HttpMethod.GET:Lio/vertx/core/http/HttpMethod;
sipush 8080
ldc "localhost"
ldc "/"
invokeinterface io.vertx.core.http.HttpClient.request:(Lio/vertx/core/http/HttpMethod;ILjava/lang/String;Ljava/lang/String;)Lio/vertx/core/Future;
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/CircuitBreakerExamples.lambda$3(Lio/vertx/core/http/HttpClientRequest;)Lio/vertx/core/Future; (6)
(Lio/vertx/core/http/HttpClientRequest;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Future.compose:(Ljava/util/function/Function;)Lio/vertx/core/Future;
2: aload 1
invokeinterface io.vertx.core.Future.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
3: return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 4 1 promise Lio/vertx/core/Promise<Ljava/lang/String;>;
private static void lambda$6(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)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 ar Lio/vertx/core/AsyncResult<Ljava/lang/String;>;
private static void lambda$7(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=5, locals=2, args_size=2
start local 1 0: aload 0
invokeinterface io.vertx.core.Vertx.createHttpClient:()Lio/vertx/core/http/HttpClient;
getstatic io.vertx.core.http.HttpMethod.GET:Lio/vertx/core/http/HttpMethod;
sipush 8080
ldc "localhost"
ldc "/"
invokeinterface io.vertx.core.http.HttpClient.request:(Lio/vertx/core/http/HttpMethod;ILjava/lang/String;Ljava/lang/String;)Lio/vertx/core/Future;
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/CircuitBreakerExamples.lambda$9(Lio/vertx/core/http/HttpClientRequest;)Lio/vertx/core/Future; (6)
(Lio/vertx/core/http/HttpClientRequest;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Future.compose:(Ljava/util/function/Function;)Lio/vertx/core/Future;
2: aload 1
invokeinterface io.vertx.core.Future.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
3: return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 4 1 promise Lio/vertx/core/Promise<Ljava/lang/String;>;
private static java.lang.String lambda$8(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "Hello"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 v Ljava/lang/Throwable;
private static void lambda$12(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)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 ar Lio/vertx/core/AsyncResult<Ljava/lang/String;>;
private static java.lang.String lambda$13(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "hello"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 v Ljava/lang/Throwable;
private static void lambda$14(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=5, locals=2, args_size=2
start local 1 0: aload 0
invokeinterface io.vertx.core.Vertx.createHttpClient:()Lio/vertx/core/http/HttpClient;
getstatic io.vertx.core.http.HttpMethod.GET:Lio/vertx/core/http/HttpMethod;
sipush 8080
ldc "localhost"
ldc "/"
invokeinterface io.vertx.core.http.HttpClient.request:(Lio/vertx/core/http/HttpMethod;ILjava/lang/String;Ljava/lang/String;)Lio/vertx/core/Future;
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/CircuitBreakerExamples.lambda$15(Lio/vertx/core/http/HttpClientRequest;)Lio/vertx/core/Future; (6)
(Lio/vertx/core/http/HttpClientRequest;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Future.compose:(Ljava/util/function/Function;)Lio/vertx/core/Future;
2: aload 1
invokeinterface io.vertx.core.Future.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
3: return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 4 1 promise Lio/vertx/core/Promise<Ljava/lang/String;>;
private static void lambda$18(java.lang.Void);
descriptor: (Ljava/lang/Void;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Circuit opened"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 v Ljava/lang/Void;
private static void lambda$19(java.lang.Void);
descriptor: (Ljava/lang/Void;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Circuit closed"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 v Ljava/lang/Void;
private static void lambda$20(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=5, locals=2, args_size=2
start local 1 0: aload 0
invokeinterface io.vertx.core.Vertx.createHttpClient:()Lio/vertx/core/http/HttpClient;
getstatic io.vertx.core.http.HttpMethod.GET:Lio/vertx/core/http/HttpMethod;
sipush 8080
ldc "localhost"
ldc "/"
invokeinterface io.vertx.core.http.HttpClient.request:(Lio/vertx/core/http/HttpMethod;ILjava/lang/String;Ljava/lang/String;)Lio/vertx/core/Future;
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/CircuitBreakerExamples.lambda$21(Lio/vertx/core/http/HttpClientRequest;)Lio/vertx/core/Future; (6)
(Lio/vertx/core/http/HttpClientRequest;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Future.compose:(Ljava/util/function/Function;)Lio/vertx/core/Future;
2: aload 1
invokeinterface io.vertx.core.Future.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
3: return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 4 1 promise Lio/vertx/core/Promise<Ljava/lang/String;>;
private static void lambda$24(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)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 ar Lio/vertx/core/AsyncResult<Ljava/lang/String;>;
private static void lambda$25(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=5, locals=2, args_size=2
start local 1 0: aload 0
invokeinterface io.vertx.core.Vertx.createHttpClient:()Lio/vertx/core/http/HttpClient;
getstatic io.vertx.core.http.HttpMethod.GET:Lio/vertx/core/http/HttpMethod;
sipush 8080
ldc "localhost"
ldc "/"
invokeinterface io.vertx.core.http.HttpClient.request:(Lio/vertx/core/http/HttpMethod;ILjava/lang/String;Ljava/lang/String;)Lio/vertx/core/Future;
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/CircuitBreakerExamples.lambda$27(Lio/vertx/core/http/HttpClientRequest;)Lio/vertx/core/Future; (6)
(Lio/vertx/core/http/HttpClientRequest;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Future.compose:(Ljava/util/function/Function;)Lio/vertx/core/Future;
2: aload 1
invokeinterface io.vertx.core.Future.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
3: return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 4 1 promise Lio/vertx/core/Promise<Ljava/lang/String;>;
private static java.lang.String lambda$26(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "Hello"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 v Ljava/lang/Throwable;
private static void lambda$30(java.lang.Void);
descriptor: (Ljava/lang/Void;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Circuit opened"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 v Ljava/lang/Void;
private static void lambda$31(java.lang.Void);
descriptor: (Ljava/lang/Void;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Circuit closed"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 v Ljava/lang/Void;
private static java.lang.Long lambda$32(java.lang.Integer);
descriptor: (Ljava/lang/Integer;)Ljava/lang/Long;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Integer.intValue:()I
i2l
ldc 100
lmul
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 retryCount Ljava/lang/Integer;
private static void lambda$33(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=5, locals=2, args_size=2
start local 1 0: aload 0
invokeinterface io.vertx.core.Vertx.createHttpClient:()Lio/vertx/core/http/HttpClient;
getstatic io.vertx.core.http.HttpMethod.GET:Lio/vertx/core/http/HttpMethod;
sipush 8080
ldc "localhost"
ldc "/"
invokeinterface io.vertx.core.http.HttpClient.request:(Lio/vertx/core/http/HttpMethod;ILjava/lang/String;Ljava/lang/String;)Lio/vertx/core/Future;
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/CircuitBreakerExamples.lambda$34(Lio/vertx/core/http/HttpClientRequest;)Lio/vertx/core/Future; (6)
(Lio/vertx/core/http/HttpClientRequest;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Future.compose:(Ljava/util/function/Function;)Lio/vertx/core/Future;
2: aload 1
invokeinterface io.vertx.core.Future.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
3: return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 4 1 promise Lio/vertx/core/Promise<Ljava/lang/String;>;
private static io.vertx.core.Future lambda$3(io.vertx.core.http.HttpClientRequest);
descriptor: (Lio/vertx/core/http/HttpClientRequest;)Lio/vertx/core/Future;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
1: invokeinterface io.vertx.core.http.HttpClientRequest.send:()Lio/vertx/core/Future;
2: 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/CircuitBreakerExamples.lambda$4(Lio/vertx/core/http/HttpClientResponse;)Lio/vertx/core/Future; (6)
(Lio/vertx/core/http/HttpClientResponse;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Future.compose:(Ljava/util/function/Function;)Lio/vertx/core/Future;
3: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 req Lio/vertx/core/http/HttpClientRequest;
private static io.vertx.core.Future lambda$9(io.vertx.core.http.HttpClientRequest);
descriptor: (Lio/vertx/core/http/HttpClientRequest;)Lio/vertx/core/Future;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
1: invokeinterface io.vertx.core.http.HttpClientRequest.send:()Lio/vertx/core/Future;
2: 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/CircuitBreakerExamples.lambda$10(Lio/vertx/core/http/HttpClientResponse;)Lio/vertx/core/Future; (6)
(Lio/vertx/core/http/HttpClientResponse;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Future.compose:(Ljava/util/function/Function;)Lio/vertx/core/Future;
3: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 req Lio/vertx/core/http/HttpClientRequest;
private static io.vertx.core.Future lambda$15(io.vertx.core.http.HttpClientRequest);
descriptor: (Lio/vertx/core/http/HttpClientRequest;)Lio/vertx/core/Future;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
1: invokeinterface io.vertx.core.http.HttpClientRequest.send:()Lio/vertx/core/Future;
2: 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/CircuitBreakerExamples.lambda$16(Lio/vertx/core/http/HttpClientResponse;)Lio/vertx/core/Future; (6)
(Lio/vertx/core/http/HttpClientResponse;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Future.compose:(Ljava/util/function/Function;)Lio/vertx/core/Future;
3: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 req Lio/vertx/core/http/HttpClientRequest;
private static io.vertx.core.Future lambda$21(io.vertx.core.http.HttpClientRequest);
descriptor: (Lio/vertx/core/http/HttpClientRequest;)Lio/vertx/core/Future;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
1: invokeinterface io.vertx.core.http.HttpClientRequest.send:()Lio/vertx/core/Future;
2: 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/CircuitBreakerExamples.lambda$22(Lio/vertx/core/http/HttpClientResponse;)Lio/vertx/core/Future; (6)
(Lio/vertx/core/http/HttpClientResponse;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Future.compose:(Ljava/util/function/Function;)Lio/vertx/core/Future;
3: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 req Lio/vertx/core/http/HttpClientRequest;
private static io.vertx.core.Future lambda$27(io.vertx.core.http.HttpClientRequest);
descriptor: (Lio/vertx/core/http/HttpClientRequest;)Lio/vertx/core/Future;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
1: invokeinterface io.vertx.core.http.HttpClientRequest.send:()Lio/vertx/core/Future;
2: 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/CircuitBreakerExamples.lambda$28(Lio/vertx/core/http/HttpClientResponse;)Lio/vertx/core/Future; (6)
(Lio/vertx/core/http/HttpClientResponse;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Future.compose:(Ljava/util/function/Function;)Lio/vertx/core/Future;
3: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 req Lio/vertx/core/http/HttpClientRequest;
private static io.vertx.core.Future lambda$34(io.vertx.core.http.HttpClientRequest);
descriptor: (Lio/vertx/core/http/HttpClientRequest;)Lio/vertx/core/Future;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
1: invokeinterface io.vertx.core.http.HttpClientRequest.send:()Lio/vertx/core/Future;
2: 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/CircuitBreakerExamples.lambda$35(Lio/vertx/core/http/HttpClientResponse;)Lio/vertx/core/Future; (6)
(Lio/vertx/core/http/HttpClientResponse;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Future.compose:(Ljava/util/function/Function;)Lio/vertx/core/Future;
3: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 req Lio/vertx/core/http/HttpClientRequest;
private static io.vertx.core.Future lambda$4(io.vertx.core.http.HttpClientResponse);
descriptor: (Lio/vertx/core/http/HttpClientResponse;)Lio/vertx/core/Future;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface io.vertx.core.http.HttpClientResponse.statusCode:()I
sipush 200
if_icmpeq 2
1: ldc "HTTP error"
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/String;)Lio/vertx/core/Future;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface io.vertx.core.http.HttpClientResponse.body:()Lio/vertx/core/Future;
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;
io/vertx/core/buffer/Buffer.toString()Ljava/lang/String; (9 itf)
(Lio/vertx/core/buffer/Buffer;)Ljava/lang/String;
invokeinterface io.vertx.core.Future.map:(Ljava/util/function/Function;)Lio/vertx/core/Future;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 resp Lio/vertx/core/http/HttpClientResponse;
private static io.vertx.core.Future lambda$10(io.vertx.core.http.HttpClientResponse);
descriptor: (Lio/vertx/core/http/HttpClientResponse;)Lio/vertx/core/Future;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface io.vertx.core.http.HttpClientResponse.statusCode:()I
sipush 200
if_icmpeq 2
1: ldc "HTTP error"
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/String;)Lio/vertx/core/Future;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface io.vertx.core.http.HttpClientResponse.body:()Lio/vertx/core/Future;
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;
io/vertx/core/buffer/Buffer.toString()Ljava/lang/String; (9 itf)
(Lio/vertx/core/buffer/Buffer;)Ljava/lang/String;
invokeinterface io.vertx.core.Future.map:(Ljava/util/function/Function;)Lio/vertx/core/Future;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 resp Lio/vertx/core/http/HttpClientResponse;
private static io.vertx.core.Future lambda$16(io.vertx.core.http.HttpClientResponse);
descriptor: (Lio/vertx/core/http/HttpClientResponse;)Lio/vertx/core/Future;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface io.vertx.core.http.HttpClientResponse.statusCode:()I
sipush 200
if_icmpeq 2
1: ldc "HTTP error"
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/String;)Lio/vertx/core/Future;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface io.vertx.core.http.HttpClientResponse.body:()Lio/vertx/core/Future;
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;
io/vertx/core/buffer/Buffer.toString()Ljava/lang/String; (9 itf)
(Lio/vertx/core/buffer/Buffer;)Ljava/lang/String;
invokeinterface io.vertx.core.Future.map:(Ljava/util/function/Function;)Lio/vertx/core/Future;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 resp Lio/vertx/core/http/HttpClientResponse;
private static io.vertx.core.Future lambda$22(io.vertx.core.http.HttpClientResponse);
descriptor: (Lio/vertx/core/http/HttpClientResponse;)Lio/vertx/core/Future;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface io.vertx.core.http.HttpClientResponse.statusCode:()I
sipush 200
if_icmpeq 2
1: ldc "HTTP error"
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/String;)Lio/vertx/core/Future;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface io.vertx.core.http.HttpClientResponse.body:()Lio/vertx/core/Future;
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;
io/vertx/core/buffer/Buffer.toString()Ljava/lang/String; (9 itf)
(Lio/vertx/core/buffer/Buffer;)Ljava/lang/String;
invokeinterface io.vertx.core.Future.map:(Ljava/util/function/Function;)Lio/vertx/core/Future;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 resp Lio/vertx/core/http/HttpClientResponse;
private static io.vertx.core.Future lambda$28(io.vertx.core.http.HttpClientResponse);
descriptor: (Lio/vertx/core/http/HttpClientResponse;)Lio/vertx/core/Future;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface io.vertx.core.http.HttpClientResponse.statusCode:()I
sipush 200
if_icmpeq 2
1: ldc "HTTP error"
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/String;)Lio/vertx/core/Future;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface io.vertx.core.http.HttpClientResponse.body:()Lio/vertx/core/Future;
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;
io/vertx/core/buffer/Buffer.toString()Ljava/lang/String; (9 itf)
(Lio/vertx/core/buffer/Buffer;)Ljava/lang/String;
invokeinterface io.vertx.core.Future.map:(Ljava/util/function/Function;)Lio/vertx/core/Future;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 resp Lio/vertx/core/http/HttpClientResponse;
private static io.vertx.core.Future lambda$35(io.vertx.core.http.HttpClientResponse);
descriptor: (Lio/vertx/core/http/HttpClientResponse;)Lio/vertx/core/Future;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface io.vertx.core.http.HttpClientResponse.statusCode:()I
sipush 200
if_icmpeq 2
1: ldc "HTTP error"
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/String;)Lio/vertx/core/Future;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface io.vertx.core.http.HttpClientResponse.body:()Lio/vertx/core/Future;
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;
io/vertx/core/buffer/Buffer.toString()Ljava/lang/String; (9 itf)
(Lio/vertx/core/buffer/Buffer;)Ljava/lang/String;
invokeinterface io.vertx.core.Future.map:(Ljava/util/function/Function;)Lio/vertx/core/Future;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 resp Lio/vertx/core/http/HttpClientResponse;
}
SourceFile: "CircuitBreakerExamples.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles