com.groupbyinc.flux.common.apache.http.impl.client.FutureRequestExecutionMetrics$DurationCounter.class Maven / Gradle / Ivy
???? 2 P `com/groupbyinc/flux/common/apache/http/impl/client/FutureRequestExecutionMetrics$DurationCounter java/lang/Object "FutureRequestExecutionMetrics.java Pcom/groupbyinc/flux/common/apache/http/impl/client/FutureRequestExecutionMetrics DurationCounter count (Ljava/util/concurrent/atomic/AtomicLong; cumulativeDuration ()V
&java/util/concurrent/atomic/AtomicLong (J)V
this bLcom/groupbyinc/flux/common/apache/http/impl/client/FutureRequestExecutionMetrics$DurationCounter; increment incrementAndGet ()J
java/lang/System currentTimeMillis "
! # addAndGet (J)J % &
' startTime J get +
, averageDuration counter toString ()Ljava/lang/String; java/lang/StringBuilder 2
3 [count= 5 append -(Ljava/lang/String;)Ljava/lang/StringBuilder; 7 8
3 9
; (J)Ljava/lang/StringBuilder; 7 =
3 > , averageDuration= @ .
B ] D 0 1
3 F builder Ljava/lang/StringBuilder; Code LocalVariableTable LineNumberTable
StackMapTable
SourceFile InnerClasses
J O *? *? Y ? ? *? Y ? ? ? K L ~ ? ? J R *? ? X*? ? $e? (X? K ) * L ? ? ? J 2 *? ? -? K L ? . J b *? ? -@ ?? *? ? -m? ? K / * L
? ? M ? @ 0 1 J h ,? 3Y? 4L+6? :*?