public class com.netflix.hystrix.metric.consumer.RollingThreadPoolMaxConcurrencyStream 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.RollingThreadPoolMaxConcurrencyStream
super_class: com.netflix.hystrix.metric.consumer.RollingConcurrencyStream
{
private static final java.util.concurrent.ConcurrentMap<java.lang.String, com.netflix.hystrix.metric.consumer.RollingThreadPoolMaxConcurrencyStream> 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/RollingThreadPoolMaxConcurrencyStream;>;
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.RollingThreadPoolMaxConcurrencyStream.streams:Ljava/util/concurrent/ConcurrentMap;
return
LocalVariableTable:
Start End Slot Name Signature
public static com.netflix.hystrix.metric.consumer.RollingThreadPoolMaxConcurrencyStream getInstance(com.netflix.hystrix.HystrixThreadPoolKey, com.netflix.hystrix.HystrixThreadPoolProperties);
descriptor: (Lcom/netflix/hystrix/HystrixThreadPoolKey;Lcom/netflix/hystrix/HystrixThreadPoolProperties;)Lcom/netflix/hystrix/metric/consumer/RollingThreadPoolMaxConcurrencyStream;
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.HystrixThreadPoolProperties.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.HystrixThreadPoolProperties.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.RollingThreadPoolMaxConcurrencyStream.getInstance:(Lcom/netflix/hystrix/HystrixThreadPoolKey;II)Lcom/netflix/hystrix/metric/consumer/RollingThreadPoolMaxConcurrencyStream;
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 threadPoolKey Lcom/netflix/hystrix/HystrixThreadPoolKey;
0 4 1 properties Lcom/netflix/hystrix/HystrixThreadPoolProperties;
1 4 2 counterMetricWindow I
2 4 3 numCounterBuckets I
3 4 4 counterBucketSizeInMs I
MethodParameters:
Name Flags
threadPoolKey
properties
public static com.netflix.hystrix.metric.consumer.RollingThreadPoolMaxConcurrencyStream getInstance(com.netflix.hystrix.HystrixThreadPoolKey, int, int);
descriptor: (Lcom/netflix/hystrix/HystrixThreadPoolKey;II)Lcom/netflix/hystrix/metric/consumer/RollingThreadPoolMaxConcurrencyStream;
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.RollingThreadPoolMaxConcurrencyStream.streams:Ljava/util/concurrent/ConcurrentMap;
aload 0
invokeinterface com.netflix.hystrix.HystrixThreadPoolKey.name:()Ljava/lang/String;
invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.netflix.hystrix.metric.consumer.RollingThreadPoolMaxConcurrencyStream
astore 3
start local 3 1: aload 3
ifnull 3
2: aload 3
areturn
3: StackMap locals: com.netflix.hystrix.metric.consumer.RollingThreadPoolMaxConcurrencyStream
StackMap stack:
ldc Lcom/netflix/hystrix/metric/consumer/RollingThreadPoolMaxConcurrencyStream;
dup
astore 4
monitorenter
4: getstatic com.netflix.hystrix.metric.consumer.RollingThreadPoolMaxConcurrencyStream.streams:Ljava/util/concurrent/ConcurrentMap;
aload 0
invokeinterface com.netflix.hystrix.HystrixThreadPoolKey.name:()Ljava/lang/String;
invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.netflix.hystrix.metric.consumer.RollingThreadPoolMaxConcurrencyStream
astore 5
start local 5 5: aload 5
ifnonnull 11
6: new com.netflix.hystrix.metric.consumer.RollingThreadPoolMaxConcurrencyStream
dup
aload 0
iload 1
iload 2
invokespecial com.netflix.hystrix.metric.consumer.RollingThreadPoolMaxConcurrencyStream.<init>:(Lcom/netflix/hystrix/HystrixThreadPoolKey;II)V
7: astore 6
start local 6 8: getstatic com.netflix.hystrix.metric.consumer.RollingThreadPoolMaxConcurrencyStream.streams:Ljava/util/concurrent/ConcurrentMap;
aload 0
invokeinterface com.netflix.hystrix.HystrixThreadPoolKey.name:()Ljava/lang/String;
aload 6
invokeinterface java.util.concurrent.ConcurrentMap.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
9: aload 6
aload 4
monitorexit
10: areturn
end local 6 11: StackMap locals: java.lang.Class com.netflix.hystrix.metric.consumer.RollingThreadPoolMaxConcurrencyStream
StackMap stack:
aload 5
aload 4
monitorexit
12: areturn
end local 5 13: StackMap locals: com.netflix.hystrix.HystrixThreadPoolKey int int com.netflix.hystrix.metric.consumer.RollingThreadPoolMaxConcurrencyStream java.lang.Class
StackMap stack: java.lang.Throwable
aload 4
monitorexit
14: athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 threadPoolKey Lcom/netflix/hystrix/HystrixThreadPoolKey;
0 15 1 numBuckets I
0 15 2 bucketSizeInMs I
1 15 3 initialStream Lcom/netflix/hystrix/metric/consumer/RollingThreadPoolMaxConcurrencyStream;
5 13 5 existingStream Lcom/netflix/hystrix/metric/consumer/RollingThreadPoolMaxConcurrencyStream;
8 11 6 newStream Lcom/netflix/hystrix/metric/consumer/RollingThreadPoolMaxConcurrencyStream;
Exception table:
from to target type
4 10 13 any
11 12 13 any
13 14 13 any
MethodParameters:
Name Flags
threadPoolKey
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.RollingThreadPoolMaxConcurrencyStream.streams:Ljava/util/concurrent/ConcurrentMap;
invokeinterface java.util.concurrent.ConcurrentMap.clear:()V
1: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(com.netflix.hystrix.HystrixThreadPoolKey, int, int);
descriptor: (Lcom/netflix/hystrix/HystrixThreadPoolKey;II)V
flags: (0x0001) ACC_PUBLIC
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.HystrixThreadPoolStartStream.getInstance:(Lcom/netflix/hystrix/HystrixThreadPoolKey;)Lcom/netflix/hystrix/metric/HystrixThreadPoolStartStream;
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/RollingThreadPoolMaxConcurrencyStream;
0 2 1 threadPoolKey Lcom/netflix/hystrix/HystrixThreadPoolKey;
0 2 2 numBuckets I
0 2 3 bucketSizeInMs I
MethodParameters:
Name Flags
threadPoolKey final
numBuckets final
bucketSizeInMs final
}
SourceFile: "RollingThreadPoolMaxConcurrencyStream.java"