public class io.vertx.circuitbreaker.impl.HystrixMetricEventStream implements io.vertx.circuitbreaker.HystrixMetricHandler
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.circuitbreaker.impl.HystrixMetricEventStream
super_class: java.lang.Object
{
private final java.util.List<io.vertx.core.http.HttpServerResponse> connections;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lio/vertx/core/http/HttpServerResponse;>;
private java.util.concurrent.atomic.AtomicInteger counter;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x0002) ACC_PRIVATE
public void <init>(io.vertx.core.Vertx, java.lang.String);
descriptor: (Lio/vertx/core/Vertx;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
invokestatic java.util.Collections.synchronizedList:(Ljava/util/List;)Ljava/util/List;
putfield io.vertx.circuitbreaker.impl.HystrixMetricEventStream.connections:Ljava/util/List;
2: aload 0
new java.util.concurrent.atomic.AtomicInteger
dup
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:()V
putfield io.vertx.circuitbreaker.impl.HystrixMetricEventStream.counter:Ljava/util/concurrent/atomic/AtomicInteger;
3: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
4: aload 2
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
5: aload 1
invokeinterface io.vertx.core.Vertx.eventBus:()Lio/vertx/core/eventbus/EventBus;
aload 2
invokeinterface io.vertx.core.eventbus.EventBus.consumer:(Ljava/lang/String;)Lio/vertx/core/eventbus/MessageConsumer;
6: aload 0
invokedynamic handle(Lio/vertx/circuitbreaker/impl/HystrixMetricEventStream;)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/circuitbreaker/impl/HystrixMetricEventStream.lambda$0(Lio/vertx/core/eventbus/Message;)V (7)
(Lio/vertx/core/eventbus/Message;)V
invokeinterface io.vertx.core.eventbus.MessageConsumer.handler:(Lio/vertx/core/Handler;)Lio/vertx/core/eventbus/MessageConsumer;
pop
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/circuitbreaker/impl/HystrixMetricEventStream;
0 8 1 vertx Lio/vertx/core/Vertx;
0 8 2 address Ljava/lang/String;
MethodParameters:
Name Flags
vertx
address
private io.vertx.core.json.JsonObject build(io.vertx.core.json.JsonObject);
descriptor: (Lio/vertx/core/json/JsonObject;)Lio/vertx/core/json/JsonObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ldc "state"
invokevirtual io.vertx.core.json.JsonObject.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 1: new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
astore 3
start local 3 2: aload 3
ldc "type"
ldc "HystrixCommand"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/json/JsonObject;
pop
3: aload 3
ldc "name"
aload 1
ldc "name"
invokevirtual io.vertx.core.json.JsonObject.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/json/JsonObject;
pop
4: aload 3
ldc "group"
aload 1
ldc "node"
invokevirtual io.vertx.core.json.JsonObject.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/json/JsonObject;
pop
5: aload 3
ldc "currentTime"
invokestatic java.lang.System.currentTimeMillis:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Long;)Lio/vertx/core/json/JsonObject;
pop
6: aload 3
ldc "isCircuitBreakerOpen"
aload 2
getstatic io.vertx.circuitbreaker.CircuitBreakerState.OPEN:Lio/vertx/circuitbreaker/CircuitBreakerState;
invokevirtual io.vertx.circuitbreaker.CircuitBreakerState.toString:()Ljava/lang/String;
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Boolean;)Lio/vertx/core/json/JsonObject;
pop
7: aload 3
ldc "errorPercentage"
aload 1
ldc "rollingErrorPercentage"
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.getInteger:(Ljava/lang/String;Ljava/lang/Integer;)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Integer;)Lio/vertx/core/json/JsonObject;
pop
8: aload 3
ldc "errorCount"
aload 1
ldc "rollingErrorCount"
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.getInteger:(Ljava/lang/String;Ljava/lang/Integer;)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Integer;)Lio/vertx/core/json/JsonObject;
pop
9: aload 3
ldc "requestCount"
aload 1
ldc "rollingOperationCount"
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.getInteger:(Ljava/lang/String;Ljava/lang/Integer;)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Integer;)Lio/vertx/core/json/JsonObject;
pop
10: aload 3
ldc "rollingCountCollapsedRequests"
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Integer;)Lio/vertx/core/json/JsonObject;
pop
11: aload 3
ldc "rollingCountExceptionsThrown"
aload 1
ldc "rollingExceptionCount"
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.getInteger:(Ljava/lang/String;Ljava/lang/Integer;)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Integer;)Lio/vertx/core/json/JsonObject;
pop
12: aload 3
ldc "rollingCountFailure"
aload 1
ldc "rollingFailureCount"
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.getInteger:(Ljava/lang/String;Ljava/lang/Integer;)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Integer;)Lio/vertx/core/json/JsonObject;
pop
13: aload 3
ldc "rollingCountTimeout"
aload 1
ldc "rollingTimeoutCount"
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.getInteger:(Ljava/lang/String;Ljava/lang/Integer;)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Integer;)Lio/vertx/core/json/JsonObject;
pop
14: aload 3
ldc "rollingCountFallbackFailure"
aload 1
ldc "rollingFallbackFailureCount"
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.getInteger:(Ljava/lang/String;Ljava/lang/Integer;)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Integer;)Lio/vertx/core/json/JsonObject;
pop
15: aload 3
ldc "rollingCountFallbackRejection"
aload 1
ldc "fallbackRejection"
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.getInteger:(Ljava/lang/String;Ljava/lang/Integer;)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Integer;)Lio/vertx/core/json/JsonObject;
pop
16: aload 3
ldc "rollingCountFallbackSuccess"
aload 1
ldc "rollingFallbackSuccessCount"
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.getInteger:(Ljava/lang/String;Ljava/lang/Integer;)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Integer;)Lio/vertx/core/json/JsonObject;
pop
17: aload 3
ldc "rollingCountResponsesFromCache"
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Integer;)Lio/vertx/core/json/JsonObject;
pop
18: aload 3
ldc "rollingCountSemaphoreRejected"
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Integer;)Lio/vertx/core/json/JsonObject;
pop
19: aload 3
ldc "rollingCountShortCircuited"
aload 1
ldc "rollingShortCircuitedCount"
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.getInteger:(Ljava/lang/String;Ljava/lang/Integer;)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Integer;)Lio/vertx/core/json/JsonObject;
pop
20: aload 3
ldc "rollingCountSuccess"
aload 1
ldc "rollingSuccessCount"
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.getInteger:(Ljava/lang/String;Ljava/lang/Integer;)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Integer;)Lio/vertx/core/json/JsonObject;
pop
21: aload 3
ldc "rollingCountThreadPoolRejected"
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Integer;)Lio/vertx/core/json/JsonObject;
pop
22: aload 3
ldc "rollingCountTimeout"
aload 1
ldc "rollingTimeoutCount"
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.getInteger:(Ljava/lang/String;Ljava/lang/Integer;)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Integer;)Lio/vertx/core/json/JsonObject;
pop
23: aload 3
ldc "rollingCountBadRequests"
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Integer;)Lio/vertx/core/json/JsonObject;
pop
24: aload 3
ldc "rollingCountEmit"
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Integer;)Lio/vertx/core/json/JsonObject;
pop
25: aload 3
ldc "rollingCountFallbackEmit"
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Integer;)Lio/vertx/core/json/JsonObject;
pop
26: aload 3
ldc "rollingCountFallbackMissing"
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Integer;)Lio/vertx/core/json/JsonObject;
pop
27: aload 3
ldc "rollingMaxConcurrentExecutionCount"
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Integer;)Lio/vertx/core/json/JsonObject;
pop
28: aload 3
ldc "currentConcurrentExecutionCount"
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Integer;)Lio/vertx/core/json/JsonObject;
pop
29: aload 3
ldc "latencyExecute_mean"
aload 1
ldc "rollingLatencyMean"
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.getInteger:(Ljava/lang/String;Ljava/lang/Integer;)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Integer;)Lio/vertx/core/json/JsonObject;
pop
30: aload 3
ldc "latencyExecute"
aload 1
ldc "rollingLatency"
new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
invokevirtual io.vertx.core.json.JsonObject.getJsonObject:(Ljava/lang/String;Lio/vertx/core/json/JsonObject;)Lio/vertx/core/json/JsonObject;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Lio/vertx/core/json/JsonObject;)Lio/vertx/core/json/JsonObject;
pop
31: aload 3
ldc "latencyTotal_mean"
aload 1
ldc "totalLatencyMean"
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.getInteger:(Ljava/lang/String;Ljava/lang/Integer;)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Integer;)Lio/vertx/core/json/JsonObject;
pop
32: aload 3
ldc "latencyTotal"
aload 1
ldc "totalLatency"
new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
invokevirtual io.vertx.core.json.JsonObject.getJsonObject:(Ljava/lang/String;Lio/vertx/core/json/JsonObject;)Lio/vertx/core/json/JsonObject;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Lio/vertx/core/json/JsonObject;)Lio/vertx/core/json/JsonObject;
pop
33: aload 3
ldc "propertyValue_circuitBreakerRequestVolumeThreshold"
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Integer;)Lio/vertx/core/json/JsonObject;
pop
34: aload 3
ldc "propertyValue_circuitBreakerSleepWindowInMilliseconds"
aload 1
ldc "resetTimeout"
lconst_0
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokevirtual io.vertx.core.json.JsonObject.getLong:(Ljava/lang/String;Ljava/lang/Long;)Ljava/lang/Long;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Long;)Lio/vertx/core/json/JsonObject;
pop
35: aload 3
ldc "propertyValue_circuitBreakerErrorThresholdPercentage"
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Integer;)Lio/vertx/core/json/JsonObject;
pop
36: aload 3
ldc "propertyValue_circuitBreakerForceOpen"
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Boolean;)Lio/vertx/core/json/JsonObject;
pop
37: aload 3
ldc "propertyValue_circuitBreakerForceClosed"
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Boolean;)Lio/vertx/core/json/JsonObject;
pop
38: aload 3
ldc "propertyValue_circuitBreakerEnabled"
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Boolean;)Lio/vertx/core/json/JsonObject;
pop
39: aload 3
ldc "propertyValue_executionIsolationStrategy"
ldc "THREAD"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/json/JsonObject;
pop
40: aload 3
ldc "propertyValue_executionIsolationThreadTimeoutInMilliseconds"
aload 1
ldc "timeout"
lconst_0
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokevirtual io.vertx.core.json.JsonObject.getLong:(Ljava/lang/String;Ljava/lang/Long;)Ljava/lang/Long;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Long;)Lio/vertx/core/json/JsonObject;
pop
41: aload 3
ldc "propertyValue_executionIsolationThreadInterruptOnTimeout"
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Boolean;)Lio/vertx/core/json/JsonObject;
pop
42: aload 3
ldc "propertyValue_executionIsolationThreadPoolKeyOverride"
ldc ""
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/json/JsonObject;
pop
43: aload 3
ldc "propertyValue_executionIsolationSemaphoreMaxConcurrentRequests"
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Integer;)Lio/vertx/core/json/JsonObject;
pop
44: aload 3
ldc "propertyValue_fallbackIsolationSemaphoreMaxConcurrentRequests"
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Integer;)Lio/vertx/core/json/JsonObject;
pop
45: aload 3
ldc "propertyValue_metricsRollingStatisticalWindowInMilliseconds"
aload 1
ldc "metricRollingWindow"
lconst_0
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokevirtual io.vertx.core.json.JsonObject.getLong:(Ljava/lang/String;Ljava/lang/Long;)Ljava/lang/Long;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Long;)Lio/vertx/core/json/JsonObject;
pop
46: aload 3
ldc "propertyValue_requestCacheEnabled"
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Boolean;)Lio/vertx/core/json/JsonObject;
pop
47: aload 3
ldc "propertyValue_requestLogEnabled"
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Boolean;)Lio/vertx/core/json/JsonObject;
pop
48: aload 3
ldc "reportingHosts"
iconst_1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Integer;)Lio/vertx/core/json/JsonObject;
pop
49: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 50 0 this Lio/vertx/circuitbreaker/impl/HystrixMetricEventStream;
0 50 1 body Lio/vertx/core/json/JsonObject;
1 50 2 state Ljava/lang/String;
2 50 3 json Lio/vertx/core/json/JsonObject;
MethodParameters:
Name Flags
body
public void handle(io.vertx.ext.web.RoutingContext);
descriptor: (Lio/vertx/ext/web/RoutingContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.ext.web.RoutingContext.response:()Lio/vertx/core/http/HttpServerResponse;
astore 2
start local 2 1: aload 2
2: iconst_1
invokeinterface io.vertx.core.http.HttpServerResponse.setChunked:(Z)Lio/vertx/core/http/HttpServerResponse;
3: getstatic io.vertx.core.http.HttpHeaders.CONTENT_TYPE:Ljava/lang/CharSequence;
ldc "text/event-stream"
invokeinterface io.vertx.core.http.HttpServerResponse.putHeader:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Lio/vertx/core/http/HttpServerResponse;
4: getstatic io.vertx.core.http.HttpHeaders.CACHE_CONTROL:Ljava/lang/CharSequence;
ldc "no-cache"
invokeinterface io.vertx.core.http.HttpServerResponse.putHeader:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Lio/vertx/core/http/HttpServerResponse;
5: getstatic io.vertx.core.http.HttpHeaders.CONNECTION:Ljava/lang/CharSequence;
getstatic io.vertx.core.http.HttpHeaders.KEEP_ALIVE:Ljava/lang/CharSequence;
invokeinterface io.vertx.core.http.HttpServerResponse.putHeader:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Lio/vertx/core/http/HttpServerResponse;
pop
6: aload 1
invokeinterface io.vertx.ext.web.RoutingContext.request:()Lio/vertx/core/http/HttpServerRequest;
invokeinterface io.vertx.core.http.HttpServerRequest.connection:()Lio/vertx/core/http/HttpConnection;
7: aload 0
aload 2
invokedynamic handle(Lio/vertx/circuitbreaker/impl/HystrixMetricEventStream;Lio/vertx/core/http/HttpServerResponse;)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/circuitbreaker/impl/HystrixMetricEventStream.lambda$2(Lio/vertx/core/http/HttpServerResponse;Ljava/lang/Void;)V (7)
(Ljava/lang/Void;)V
invokeinterface io.vertx.core.http.HttpConnection.closeHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpConnection;
8: aload 0
aload 2
aload 1
invokedynamic handle(Lio/vertx/circuitbreaker/impl/HystrixMetricEventStream;Lio/vertx/core/http/HttpServerResponse;Lio/vertx/ext/web/RoutingContext;)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/circuitbreaker/impl/HystrixMetricEventStream.lambda$3(Lio/vertx/core/http/HttpServerResponse;Lio/vertx/ext/web/RoutingContext;Ljava/lang/Throwable;)V (7)
(Ljava/lang/Throwable;)V
invokeinterface io.vertx.core.http.HttpConnection.exceptionHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpConnection;
pop
9: aload 0
getfield io.vertx.circuitbreaker.impl.HystrixMetricEventStream.connections:Ljava/util/List;
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/vertx/circuitbreaker/impl/HystrixMetricEventStream;
0 11 1 rc Lio/vertx/ext/web/RoutingContext;
1 11 2 response Lio/vertx/core/http/HttpServerResponse;
MethodParameters:
Name Flags
rc
private static void endQuietly(io.vertx.core.http.HttpServerResponse);
descriptor: (Lio/vertx/core/http/HttpServerResponse;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface io.vertx.core.http.HttpServerResponse.ended:()Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface io.vertx.core.http.HttpServerResponse.end:()V
3: goto 5
StackMap locals:
StackMap stack: java.lang.IllegalStateException
4: pop
5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 response Lio/vertx/core/http/HttpServerResponse;
Exception table:
from to target type
2 3 4 Class java.lang.IllegalStateException
MethodParameters:
Name Flags
response
public void handle(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast io.vertx.ext.web.RoutingContext
invokevirtual io.vertx.circuitbreaker.impl.HystrixMetricEventStream.handle:(Lio/vertx/ext/web/RoutingContext;)V
return
LocalVariableTable:
Start End Slot Name Signature
private void lambda$0(io.vertx.core.eventbus.Message);
descriptor: (Lio/vertx/core/eventbus/Message;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface io.vertx.core.eventbus.Message.body:()Ljava/lang/Object;
checkcast io.vertx.core.json.JsonObject
invokevirtual io.vertx.circuitbreaker.impl.HystrixMetricEventStream.build:(Lio/vertx/core/json/JsonObject;)Lio/vertx/core/json/JsonObject;
astore 2
start local 2 1: aload 0
getfield io.vertx.circuitbreaker.impl.HystrixMetricEventStream.counter:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.incrementAndGet:()I
istore 3
start local 3 2: new java.lang.StringBuilder
dup
aload 2
invokevirtual io.vertx.core.json.JsonObject.encode:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "\n\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
start local 4 3: aload 0
getfield io.vertx.circuitbreaker.impl.HystrixMetricEventStream.connections:Ljava/util/List;
iload 3
aload 4
invokedynamic accept(ILjava/lang/String;)Ljava/util/function/Consumer;
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/circuitbreaker/impl/HystrixMetricEventStream.lambda$1(ILjava/lang/String;Lio/vertx/core/http/HttpServerResponse;)V (6)
(Lio/vertx/core/http/HttpServerResponse;)V
invokeinterface java.util.List.forEach:(Ljava/util/function/Consumer;)V
end local 4 end local 3 end local 2 4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/circuitbreaker/impl/HystrixMetricEventStream;
0 5 1 message Lio/vertx/core/eventbus/Message<Lio/vertx/core/json/JsonObject;>;
1 4 2 json Lio/vertx/core/json/JsonObject;
2 4 3 id I
3 4 4 chunk Ljava/lang/String;
private void lambda$2(io.vertx.core.http.HttpServerResponse, java.lang.Void);
descriptor: (Lio/vertx/core/http/HttpServerResponse;Ljava/lang/Void;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 2 0: aload 0
getfield io.vertx.circuitbreaker.impl.HystrixMetricEventStream.connections:Ljava/util/List;
aload 1
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
pop
1: aload 1
invokestatic io.vertx.circuitbreaker.impl.HystrixMetricEventStream.endQuietly:(Lio/vertx/core/http/HttpServerResponse;)V
2: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/circuitbreaker/impl/HystrixMetricEventStream;
0 3 2 v Ljava/lang/Void;
private void lambda$3(io.vertx.core.http.HttpServerResponse, io.vertx.ext.web.RoutingContext, java.lang.Throwable);
descriptor: (Lio/vertx/core/http/HttpServerResponse;Lio/vertx/ext/web/RoutingContext;Ljava/lang/Throwable;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 3 0: aload 0
getfield io.vertx.circuitbreaker.impl.HystrixMetricEventStream.connections:Ljava/util/List;
aload 1
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
pop
1: aload 2
aload 3
invokeinterface io.vertx.ext.web.RoutingContext.fail:(Ljava/lang/Throwable;)V
2: return
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/circuitbreaker/impl/HystrixMetricEventStream;
0 3 3 t Ljava/lang/Throwable;
private static void lambda$1(int, java.lang.String, io.vertx.core.http.HttpServerResponse);
descriptor: (ILjava/lang/String;Lio/vertx/core/http/HttpServerResponse;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=3, args_size=3
start local 2 0: aload 2
new java.lang.StringBuilder
dup
ldc "id: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 0
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface io.vertx.core.http.HttpServerResponse.write:(Ljava/lang/String;)Lio/vertx/core/http/HttpServerResponse;
pop
1: aload 2
new java.lang.StringBuilder
dup
ldc "data:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface io.vertx.core.http.HttpServerResponse.write:(Ljava/lang/String;)Lio/vertx/core/http/HttpServerResponse;
pop
2: return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 3 2 resp Lio/vertx/core/http/HttpServerResponse;
}
SourceFile: "HystrixMetricEventStream.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles