public class com.netflix.hystrix.metric.consumer.RollingCommandMaxConcurrencyStream extends com.netflix.hystrix.metric.consumer.RollingConcurrencyStream
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.netflix.hystrix.metric.consumer.RollingCommandMaxConcurrencyStream
super_class: com.netflix.hystrix.metric.consumer.RollingConcurrencyStream
{
private static final java.util.concurrent.ConcurrentMap<java.lang.String, com.netflix.hystrix.metric.consumer.RollingCommandMaxConcurrencyStream> streams;
descriptor: Ljava/util/concurrent/ConcurrentMap;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/concurrent/ConcurrentMap<Ljava/lang/String;Lcom/netflix/hystrix/metric/consumer/RollingCommandMaxConcurrencyStream;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putstatic com.netflix.hystrix.metric.consumer.RollingCommandMaxConcurrencyStream.streams:Ljava/util/concurrent/ConcurrentMap;
return
LocalVariableTable:
Start End Slot Name Signature
public static com.netflix.hystrix.metric.consumer.RollingCommandMaxConcurrencyStream getInstance(com.netflix.hystrix.HystrixCommandKey, com.netflix.hystrix.HystrixCommandProperties);
descriptor: (Lcom/netflix/hystrix/HystrixCommandKey;Lcom/netflix/hystrix/HystrixCommandProperties;)Lcom/netflix/hystrix/metric/consumer/RollingCommandMaxConcurrencyStream;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.netflix.hystrix.HystrixCommandProperties.metricsRollingStatisticalWindowInMilliseconds:()Lcom/netflix/hystrix/strategy/properties/HystrixProperty;
invokeinterface com.netflix.hystrix.strategy.properties.HystrixProperty.get:()Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 2
start local 2 1: aload 1
invokevirtual com.netflix.hystrix.HystrixCommandProperties.metricsRollingStatisticalWindowBuckets:()Lcom/netflix/hystrix/strategy/properties/HystrixProperty;
invokeinterface com.netflix.hystrix.strategy.properties.HystrixProperty.get:()Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 3
start local 3 2: iload 2
iload 3
idiv
istore 4
start local 4 3: aload 0
iload 3
iload 4
invokestatic com.netflix.hystrix.metric.consumer.RollingCommandMaxConcurrencyStream.getInstance:(Lcom/netflix/hystrix/HystrixCommandKey;II)Lcom/netflix/hystrix/metric/consumer/RollingCommandMaxConcurrencyStream;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 commandKey Lcom/netflix/hystrix/HystrixCommandKey;
0 4 1 properties Lcom/netflix/hystrix/HystrixCommandProperties;
1 4 2 counterMetricWindow I
2 4 3 numCounterBuckets I
3 4 4 counterBucketSizeInMs I
MethodParameters:
Name Flags
commandKey
properties
public static com.netflix.hystrix.metric.consumer.RollingCommandMaxConcurrencyStream getInstance(com.netflix.hystrix.HystrixCommandKey, int, int);
descriptor: (Lcom/netflix/hystrix/HystrixCommandKey;II)Lcom/netflix/hystrix/metric/consumer/RollingCommandMaxConcurrencyStream;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: getstatic com.netflix.hystrix.metric.consumer.RollingCommandMaxConcurrencyStream.streams:Ljava/util/concurrent/ConcurrentMap;
aload 0
invokeinterface com.netflix.hystrix.HystrixCommandKey.name:()Ljava/lang/String;
invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.netflix.hystrix.metric.consumer.RollingCommandMaxConcurrencyStream
astore 3
start local 3 1: aload 3
ifnull 3
2: aload 3
areturn
3: StackMap locals: com.netflix.hystrix.metric.consumer.RollingCommandMaxConcurrencyStream
StackMap stack:
ldc Lcom/netflix/hystrix/metric/consumer/RollingCommandMaxConcurrencyStream;
dup
astore 4
monitorenter
4: getstatic com.netflix.hystrix.metric.consumer.RollingCommandMaxConcurrencyStream.streams:Ljava/util/concurrent/ConcurrentMap;
aload 0
invokeinterface com.netflix.hystrix.HystrixCommandKey.name:()Ljava/lang/String;
invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.netflix.hystrix.metric.consumer.RollingCommandMaxConcurrencyStream
astore 5
start local 5 5: aload 5
ifnonnull 10
6: new com.netflix.hystrix.metric.consumer.RollingCommandMaxConcurrencyStream
dup
aload 0
iload 1
iload 2
invokespecial com.netflix.hystrix.metric.consumer.RollingCommandMaxConcurrencyStream.<init>:(Lcom/netflix/hystrix/HystrixCommandKey;II)V
astore 6
start local 6 7: getstatic com.netflix.hystrix.metric.consumer.RollingCommandMaxConcurrencyStream.streams:Ljava/util/concurrent/ConcurrentMap;
aload 0
invokeinterface com.netflix.hystrix.HystrixCommandKey.name:()Ljava/lang/String;
aload 6
invokeinterface java.util.concurrent.ConcurrentMap.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: aload 6
aload 4
monitorexit
9: areturn
end local 6 10: StackMap locals: java.lang.Class com.netflix.hystrix.metric.consumer.RollingCommandMaxConcurrencyStream
StackMap stack:
aload 5
aload 4
monitorexit
11: areturn
end local 5 12: StackMap locals: com.netflix.hystrix.HystrixCommandKey int int com.netflix.hystrix.metric.consumer.RollingCommandMaxConcurrencyStream java.lang.Class
StackMap stack: java.lang.Throwable
aload 4
monitorexit
13: athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 commandKey Lcom/netflix/hystrix/HystrixCommandKey;
0 14 1 numBuckets I
0 14 2 bucketSizeInMs I
1 14 3 initialStream Lcom/netflix/hystrix/metric/consumer/RollingCommandMaxConcurrencyStream;
5 12 5 existingStream Lcom/netflix/hystrix/metric/consumer/RollingCommandMaxConcurrencyStream;
7 10 6 newStream Lcom/netflix/hystrix/metric/consumer/RollingCommandMaxConcurrencyStream;
Exception table:
from to target type
4 9 12 any
10 11 12 any
12 13 12 any
MethodParameters:
Name Flags
commandKey
numBuckets
bucketSizeInMs
public static void reset();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.netflix.hystrix.metric.consumer.RollingCommandMaxConcurrencyStream.streams:Ljava/util/concurrent/ConcurrentMap;
invokeinterface java.util.concurrent.ConcurrentMap.clear:()V
1: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(com.netflix.hystrix.HystrixCommandKey, int, int);
descriptor: (Lcom/netflix/hystrix/HystrixCommandKey;II)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokestatic com.netflix.hystrix.metric.HystrixCommandStartStream.getInstance:(Lcom/netflix/hystrix/HystrixCommandKey;)Lcom/netflix/hystrix/metric/HystrixCommandStartStream;
iload 2
iload 3
invokespecial com.netflix.hystrix.metric.consumer.RollingConcurrencyStream.<init>:(Lcom/netflix/hystrix/metric/HystrixEventStream;II)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/netflix/hystrix/metric/consumer/RollingCommandMaxConcurrencyStream;
0 2 1 commandKey Lcom/netflix/hystrix/HystrixCommandKey;
0 2 2 numBuckets I
0 2 3 bucketSizeInMs I
MethodParameters:
Name Flags
commandKey final
numBuckets final
bucketSizeInMs final
}
SourceFile: "RollingCommandMaxConcurrencyStream.java"