public class com.netflix.hystrix.metric.consumer.CumulativeThreadPoolEventCounterStream extends com.netflix.hystrix.metric.consumer.BucketedCumulativeCounterStream<com.netflix.hystrix.metric.HystrixCommandCompletion, long[], long[]>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.netflix.hystrix.metric.consumer.CumulativeThreadPoolEventCounterStream
super_class: com.netflix.hystrix.metric.consumer.BucketedCumulativeCounterStream
{
private static final java.util.concurrent.ConcurrentMap<java.lang.String, com.netflix.hystrix.metric.consumer.CumulativeThreadPoolEventCounterStream> 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/CumulativeThreadPoolEventCounterStream;>;
private static final int ALL_EVENT_TYPES_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
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.CumulativeThreadPoolEventCounterStream.streams:Ljava/util/concurrent/ConcurrentMap;
1: invokestatic com.netflix.hystrix.HystrixEventType$ThreadPool.values:()[Lcom/netflix/hystrix/HystrixEventType$ThreadPool;
arraylength
putstatic com.netflix.hystrix.metric.consumer.CumulativeThreadPoolEventCounterStream.ALL_EVENT_TYPES_SIZE:I
return
LocalVariableTable:
Start End Slot Name Signature
public static com.netflix.hystrix.metric.consumer.CumulativeThreadPoolEventCounterStream getInstance(com.netflix.hystrix.HystrixThreadPoolKey, com.netflix.hystrix.HystrixThreadPoolProperties);
descriptor: (Lcom/netflix/hystrix/HystrixThreadPoolKey;Lcom/netflix/hystrix/HystrixThreadPoolProperties;)Lcom/netflix/hystrix/metric/consumer/CumulativeThreadPoolEventCounterStream;
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.CumulativeThreadPoolEventCounterStream.getInstance:(Lcom/netflix/hystrix/HystrixThreadPoolKey;II)Lcom/netflix/hystrix/metric/consumer/CumulativeThreadPoolEventCounterStream;
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.CumulativeThreadPoolEventCounterStream getInstance(com.netflix.hystrix.HystrixThreadPoolKey, int, int);
descriptor: (Lcom/netflix/hystrix/HystrixThreadPoolKey;II)Lcom/netflix/hystrix/metric/consumer/CumulativeThreadPoolEventCounterStream;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=7, args_size=3
start local 0 start local 1 start local 2 0: getstatic com.netflix.hystrix.metric.consumer.CumulativeThreadPoolEventCounterStream.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.CumulativeThreadPoolEventCounterStream
astore 3
start local 3 1: aload 3
ifnull 3
2: aload 3
areturn
3: StackMap locals: com.netflix.hystrix.metric.consumer.CumulativeThreadPoolEventCounterStream
StackMap stack:
ldc Lcom/netflix/hystrix/metric/consumer/CumulativeThreadPoolEventCounterStream;
dup
astore 4
monitorenter
4: getstatic com.netflix.hystrix.metric.consumer.CumulativeThreadPoolEventCounterStream.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.CumulativeThreadPoolEventCounterStream
astore 5
start local 5 5: aload 5
ifnonnull 13
6: new com.netflix.hystrix.metric.consumer.CumulativeThreadPoolEventCounterStream
dup
aload 0
iload 1
iload 2
7: getstatic com.netflix.hystrix.HystrixThreadPoolMetrics.appendEventToBucket:Lrx/functions/Func2;
getstatic com.netflix.hystrix.HystrixThreadPoolMetrics.counterAggregator:Lrx/functions/Func2;
8: invokespecial com.netflix.hystrix.metric.consumer.CumulativeThreadPoolEventCounterStream.<init>:(Lcom/netflix/hystrix/HystrixThreadPoolKey;IILrx/functions/Func2;Lrx/functions/Func2;)V
9: astore 6
start local 6 10: getstatic com.netflix.hystrix.metric.consumer.CumulativeThreadPoolEventCounterStream.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
11: aload 6
aload 4
monitorexit
12: areturn
end local 6 13: StackMap locals: java.lang.Class com.netflix.hystrix.metric.consumer.CumulativeThreadPoolEventCounterStream
StackMap stack:
aload 5
aload 4
monitorexit
14: areturn
end local 5 15: StackMap locals: com.netflix.hystrix.HystrixThreadPoolKey int int com.netflix.hystrix.metric.consumer.CumulativeThreadPoolEventCounterStream java.lang.Class
StackMap stack: java.lang.Throwable
aload 4
monitorexit
16: athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 threadPoolKey Lcom/netflix/hystrix/HystrixThreadPoolKey;
0 17 1 numBuckets I
0 17 2 bucketSizeInMs I
1 17 3 initialStream Lcom/netflix/hystrix/metric/consumer/CumulativeThreadPoolEventCounterStream;
5 15 5 existingStream Lcom/netflix/hystrix/metric/consumer/CumulativeThreadPoolEventCounterStream;
10 13 6 newStream Lcom/netflix/hystrix/metric/consumer/CumulativeThreadPoolEventCounterStream;
Exception table:
from to target type
4 12 15 any
13 14 15 any
15 16 15 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.CumulativeThreadPoolEventCounterStream.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.HystrixThreadPoolKey, int, int, rx.functions.Func2<long[], com.netflix.hystrix.metric.HystrixCommandCompletion, long[]>, rx.functions.Func2<long[], long[], long[]>);
descriptor: (Lcom/netflix/hystrix/HystrixThreadPoolKey;IILrx/functions/Func2;Lrx/functions/Func2;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
invokestatic com.netflix.hystrix.metric.HystrixThreadPoolCompletionStream.getInstance:(Lcom/netflix/hystrix/HystrixThreadPoolKey;)Lcom/netflix/hystrix/metric/HystrixThreadPoolCompletionStream;
iload 2
iload 3
aload 4
aload 5
invokespecial com.netflix.hystrix.metric.consumer.BucketedCumulativeCounterStream.<init>:(Lcom/netflix/hystrix/metric/HystrixEventStream;IILrx/functions/Func2;Lrx/functions/Func2;)V
1: return
end local 5 end local 4 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/CumulativeThreadPoolEventCounterStream;
0 2 1 threadPoolKey Lcom/netflix/hystrix/HystrixThreadPoolKey;
0 2 2 numCounterBuckets I
0 2 3 counterBucketSizeInMs I
0 2 4 reduceCommandCompletion Lrx/functions/Func2<[JLcom/netflix/hystrix/metric/HystrixCommandCompletion;[J>;
0 2 5 reduceBucket Lrx/functions/Func2<[J[J[J>;
Signature: (Lcom/netflix/hystrix/HystrixThreadPoolKey;IILrx/functions/Func2<[JLcom/netflix/hystrix/metric/HystrixCommandCompletion;[J>;Lrx/functions/Func2<[J[J[J>;)V
MethodParameters:
Name Flags
threadPoolKey
numCounterBuckets
counterBucketSizeInMs
reduceCommandCompletion
reduceBucket
public long[] getEmptyBucketSummary();
descriptor: ()[J
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic com.netflix.hystrix.metric.consumer.CumulativeThreadPoolEventCounterStream.ALL_EVENT_TYPES_SIZE:I
newarray 11
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/netflix/hystrix/metric/consumer/CumulativeThreadPoolEventCounterStream;
public long[] getEmptyOutputValue();
descriptor: ()[J
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic com.netflix.hystrix.metric.consumer.CumulativeThreadPoolEventCounterStream.ALL_EVENT_TYPES_SIZE:I
newarray 11
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/netflix/hystrix/metric/consumer/CumulativeThreadPoolEventCounterStream;
public long getLatestCount(com.netflix.hystrix.HystrixEventType$ThreadPool);
descriptor: (Lcom/netflix/hystrix/HystrixEventType$ThreadPool;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.netflix.hystrix.metric.consumer.CumulativeThreadPoolEventCounterStream.getLatest:()Ljava/lang/Object;
checkcast long[]
aload 1
invokevirtual com.netflix.hystrix.HystrixEventType$ThreadPool.ordinal:()I
laload
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/netflix/hystrix/metric/consumer/CumulativeThreadPoolEventCounterStream;
0 1 1 eventType Lcom/netflix/hystrix/HystrixEventType$ThreadPool;
MethodParameters:
Name Flags
eventType
public java.lang.Object getEmptyOutputValue();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual com.netflix.hystrix.metric.consumer.CumulativeThreadPoolEventCounterStream.getEmptyOutputValue:()[J
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Object getEmptyBucketSummary();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual com.netflix.hystrix.metric.consumer.CumulativeThreadPoolEventCounterStream.getEmptyBucketSummary:()[J
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lcom/netflix/hystrix/metric/consumer/BucketedCumulativeCounterStream<Lcom/netflix/hystrix/metric/HystrixCommandCompletion;[J[J>;
SourceFile: "CumulativeThreadPoolEventCounterStream.java"
InnerClasses:
public final ThreadPool = com.netflix.hystrix.HystrixEventType$ThreadPool of com.netflix.hystrix.HystrixEventType