public class com.netflix.hystrix.metric.HystrixCommandCompletion extends com.netflix.hystrix.metric.HystrixCommandEvent
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.netflix.hystrix.metric.HystrixCommandCompletion
super_class: com.netflix.hystrix.metric.HystrixCommandEvent
{
protected final com.netflix.hystrix.ExecutionResult executionResult;
descriptor: Lcom/netflix/hystrix/ExecutionResult;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final com.netflix.hystrix.strategy.concurrency.HystrixRequestContext requestContext;
descriptor: Lcom/netflix/hystrix/strategy/concurrency/HystrixRequestContext;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private static final com.netflix.hystrix.HystrixEventType[] ALL_EVENT_TYPES;
descriptor: [Lcom/netflix/hystrix/HystrixEventType;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic com.netflix.hystrix.HystrixEventType.values:()[Lcom/netflix/hystrix/HystrixEventType;
putstatic com.netflix.hystrix.metric.HystrixCommandCompletion.ALL_EVENT_TYPES:[Lcom/netflix/hystrix/HystrixEventType;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(com.netflix.hystrix.ExecutionResult, com.netflix.hystrix.HystrixCommandKey, com.netflix.hystrix.HystrixThreadPoolKey, com.netflix.hystrix.strategy.concurrency.HystrixRequestContext);
descriptor: (Lcom/netflix/hystrix/ExecutionResult;Lcom/netflix/hystrix/HystrixCommandKey;Lcom/netflix/hystrix/HystrixThreadPoolKey;Lcom/netflix/hystrix/strategy/concurrency/HystrixRequestContext;)V
flags: (0x0000)
Code:
stack=3, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 2
aload 3
invokespecial com.netflix.hystrix.metric.HystrixCommandEvent.<init>:(Lcom/netflix/hystrix/HystrixCommandKey;Lcom/netflix/hystrix/HystrixThreadPoolKey;)V
1: aload 0
aload 1
putfield com.netflix.hystrix.metric.HystrixCommandCompletion.executionResult:Lcom/netflix/hystrix/ExecutionResult;
2: aload 0
aload 4
putfield com.netflix.hystrix.metric.HystrixCommandCompletion.requestContext:Lcom/netflix/hystrix/strategy/concurrency/HystrixRequestContext;
3: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/netflix/hystrix/metric/HystrixCommandCompletion;
0 4 1 executionResult Lcom/netflix/hystrix/ExecutionResult;
0 4 2 commandKey Lcom/netflix/hystrix/HystrixCommandKey;
0 4 3 threadPoolKey Lcom/netflix/hystrix/HystrixThreadPoolKey;
0 4 4 requestContext Lcom/netflix/hystrix/strategy/concurrency/HystrixRequestContext;
MethodParameters:
Name Flags
executionResult
commandKey
threadPoolKey
requestContext
public static com.netflix.hystrix.metric.HystrixCommandCompletion from(com.netflix.hystrix.ExecutionResult, com.netflix.hystrix.HystrixCommandKey, com.netflix.hystrix.HystrixThreadPoolKey);
descriptor: (Lcom/netflix/hystrix/ExecutionResult;Lcom/netflix/hystrix/HystrixCommandKey;Lcom/netflix/hystrix/HystrixThreadPoolKey;)Lcom/netflix/hystrix/metric/HystrixCommandCompletion;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokestatic com.netflix.hystrix.strategy.concurrency.HystrixRequestContext.getContextForCurrentThread:()Lcom/netflix/hystrix/strategy/concurrency/HystrixRequestContext;
invokestatic com.netflix.hystrix.metric.HystrixCommandCompletion.from:(Lcom/netflix/hystrix/ExecutionResult;Lcom/netflix/hystrix/HystrixCommandKey;Lcom/netflix/hystrix/HystrixThreadPoolKey;Lcom/netflix/hystrix/strategy/concurrency/HystrixRequestContext;)Lcom/netflix/hystrix/metric/HystrixCommandCompletion;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 executionResult Lcom/netflix/hystrix/ExecutionResult;
0 1 1 commandKey Lcom/netflix/hystrix/HystrixCommandKey;
0 1 2 threadPoolKey Lcom/netflix/hystrix/HystrixThreadPoolKey;
MethodParameters:
Name Flags
executionResult
commandKey
threadPoolKey
public static com.netflix.hystrix.metric.HystrixCommandCompletion from(com.netflix.hystrix.ExecutionResult, com.netflix.hystrix.HystrixCommandKey, com.netflix.hystrix.HystrixThreadPoolKey, com.netflix.hystrix.strategy.concurrency.HystrixRequestContext);
descriptor: (Lcom/netflix/hystrix/ExecutionResult;Lcom/netflix/hystrix/HystrixCommandKey;Lcom/netflix/hystrix/HystrixThreadPoolKey;Lcom/netflix/hystrix/strategy/concurrency/HystrixRequestContext;)Lcom/netflix/hystrix/metric/HystrixCommandCompletion;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new com.netflix.hystrix.metric.HystrixCommandCompletion
dup
aload 0
aload 1
aload 2
aload 3
invokespecial com.netflix.hystrix.metric.HystrixCommandCompletion.<init>:(Lcom/netflix/hystrix/ExecutionResult;Lcom/netflix/hystrix/HystrixCommandKey;Lcom/netflix/hystrix/HystrixThreadPoolKey;Lcom/netflix/hystrix/strategy/concurrency/HystrixRequestContext;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 executionResult Lcom/netflix/hystrix/ExecutionResult;
0 1 1 commandKey Lcom/netflix/hystrix/HystrixCommandKey;
0 1 2 threadPoolKey Lcom/netflix/hystrix/HystrixThreadPoolKey;
0 1 3 requestContext Lcom/netflix/hystrix/strategy/concurrency/HystrixRequestContext;
MethodParameters:
Name Flags
executionResult
commandKey
threadPoolKey
requestContext
public boolean isResponseThreadPoolRejected();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.netflix.hystrix.metric.HystrixCommandCompletion.executionResult:Lcom/netflix/hystrix/ExecutionResult;
invokevirtual com.netflix.hystrix.ExecutionResult.isResponseThreadPoolRejected:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/netflix/hystrix/metric/HystrixCommandCompletion;
public boolean isExecutionStart();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/netflix/hystrix/metric/HystrixCommandCompletion;
public boolean isExecutedInThread();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.netflix.hystrix.metric.HystrixCommandCompletion.executionResult:Lcom/netflix/hystrix/ExecutionResult;
invokevirtual com.netflix.hystrix.ExecutionResult.isExecutedInThread:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/netflix/hystrix/metric/HystrixCommandCompletion;
public boolean isCommandCompletion();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/netflix/hystrix/metric/HystrixCommandCompletion;
public com.netflix.hystrix.strategy.concurrency.HystrixRequestContext getRequestContext();
descriptor: ()Lcom/netflix/hystrix/strategy/concurrency/HystrixRequestContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.netflix.hystrix.metric.HystrixCommandCompletion.requestContext:Lcom/netflix/hystrix/strategy/concurrency/HystrixRequestContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/netflix/hystrix/metric/HystrixCommandCompletion;
public com.netflix.hystrix.ExecutionResult$EventCounts getEventCounts();
descriptor: ()Lcom/netflix/hystrix/ExecutionResult$EventCounts;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.netflix.hystrix.metric.HystrixCommandCompletion.executionResult:Lcom/netflix/hystrix/ExecutionResult;
invokevirtual com.netflix.hystrix.ExecutionResult.getEventCounts:()Lcom/netflix/hystrix/ExecutionResult$EventCounts;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/netflix/hystrix/metric/HystrixCommandCompletion;
public long getExecutionLatency();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.netflix.hystrix.metric.HystrixCommandCompletion.executionResult:Lcom/netflix/hystrix/ExecutionResult;
invokevirtual com.netflix.hystrix.ExecutionResult.getExecutionLatency:()I
i2l
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/netflix/hystrix/metric/HystrixCommandCompletion;
public long getTotalLatency();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.netflix.hystrix.metric.HystrixCommandCompletion.executionResult:Lcom/netflix/hystrix/ExecutionResult;
invokevirtual com.netflix.hystrix.ExecutionResult.getUserThreadLatency:()I
i2l
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/netflix/hystrix/metric/HystrixCommandCompletion;
public boolean didCommandExecute();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.netflix.hystrix.metric.HystrixCommandCompletion.executionResult:Lcom/netflix/hystrix/ExecutionResult;
invokevirtual com.netflix.hystrix.ExecutionResult.executionOccurred:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/netflix/hystrix/metric/HystrixCommandCompletion;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=1
start local 0 0: new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 1
start local 1 1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 2: aload 1
aload 0
invokevirtual com.netflix.hystrix.metric.HystrixCommandCompletion.getCommandKey:()Lcom/netflix/hystrix/HystrixCommandKey;
invokeinterface com.netflix.hystrix.HystrixCommandKey.name:()Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
ldc "["
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
3: getstatic com.netflix.hystrix.metric.HystrixCommandCompletion.ALL_EVENT_TYPES:[Lcom/netflix/hystrix/HystrixEventType;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 8
StackMap locals: com.netflix.hystrix.metric.HystrixCommandCompletion java.lang.StringBuffer java.util.List top int int com.netflix.hystrix.HystrixEventType[]
StackMap stack:
4: aload 6
iload 4
aaload
astore 3
start local 3 5: aload 0
getfield com.netflix.hystrix.metric.HystrixCommandCompletion.executionResult:Lcom/netflix/hystrix/ExecutionResult;
invokevirtual com.netflix.hystrix.ExecutionResult.getEventCounts:()Lcom/netflix/hystrix/ExecutionResult$EventCounts;
aload 3
invokevirtual com.netflix.hystrix.ExecutionResult$EventCounts.contains:(Lcom/netflix/hystrix/HystrixEventType;)Z
ifeq 7
6: aload 2
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 3 7: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
8: iload 4
iload 5
if_icmplt 4
9: iconst_0
istore 3
start local 3 10: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 19
StackMap locals: com.netflix.hystrix.metric.HystrixCommandCompletion java.lang.StringBuffer java.util.List int top java.util.Iterator
StackMap stack:
11: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.netflix.hystrix.HystrixEventType
astore 4
start local 4 12: aload 1
aload 4
invokevirtual com.netflix.hystrix.HystrixEventType.name:()Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
13: aload 0
getfield com.netflix.hystrix.metric.HystrixCommandCompletion.executionResult:Lcom/netflix/hystrix/ExecutionResult;
invokevirtual com.netflix.hystrix.ExecutionResult.getEventCounts:()Lcom/netflix/hystrix/ExecutionResult$EventCounts;
aload 4
invokevirtual com.netflix.hystrix.ExecutionResult$EventCounts.getCount:(Lcom/netflix/hystrix/HystrixEventType;)I
istore 6
start local 6 14: iload 6
iconst_1
if_icmple 16
15: aload 1
ldc "x"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
iload 6
invokevirtual java.lang.StringBuffer.append:(I)Ljava/lang/StringBuffer;
pop
16: StackMap locals: com.netflix.hystrix.metric.HystrixCommandCompletion java.lang.StringBuffer java.util.List int com.netflix.hystrix.HystrixEventType java.util.Iterator int
StackMap stack:
iload 3
aload 2
invokeinterface java.util.List.size:()I
iconst_1
isub
if_icmpge 18
17: aload 1
ldc ", "
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
18: StackMap locals:
StackMap stack:
iinc 3 1
end local 6 end local 4 19: StackMap locals: com.netflix.hystrix.metric.HystrixCommandCompletion java.lang.StringBuffer java.util.List int top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
20: aload 1
ldc "]["
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
aload 0
invokevirtual com.netflix.hystrix.metric.HystrixCommandCompletion.getExecutionLatency:()J
invokevirtual java.lang.StringBuffer.append:(J)Ljava/lang/StringBuffer;
ldc " ms]"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
21: aload 1
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lcom/netflix/hystrix/metric/HystrixCommandCompletion;
1 22 1 sb Ljava/lang/StringBuffer;
2 22 2 foundEventTypes Ljava/util/List<Lcom/netflix/hystrix/HystrixEventType;>;
5 7 3 eventType Lcom/netflix/hystrix/HystrixEventType;
10 22 3 i I
12 19 4 eventType Lcom/netflix/hystrix/HystrixEventType;
14 19 6 eventCount I
}
SourceFile: "HystrixCommandCompletion.java"
InnerClasses:
public EventCounts = com.netflix.hystrix.ExecutionResult$EventCounts of com.netflix.hystrix.ExecutionResult