com.groupbyinc.flux.index.engine.Engine$IndexThrottle.class Maven / Gradle / Ivy
???? 4 m 5com/groupbyinc/flux/index/engine/Engine$IndexThrottle java/lang/Object Engine.java 'com/groupbyinc/flux/index/engine/Engine
IndexThrottle 0com/groupbyinc/flux/index/engine/Engine$NoOpLock NoOpLock throttleTimeMillisMetric 2Lcom/groupbyinc/flux/common/metrics/CounterMetric; startOfThrottleNS J NOOP_LOCK ;Lcom/groupbyinc/flux/common/util/concurrent/ReleasableLock;
lockReference lock $assertionsDisabled Z ()V
0com/groupbyinc/flux/common/metrics/CounterMetric
9com/groupbyinc/flux/common/util/concurrent/ReleasableLock (java/util/concurrent/locks/ReentrantLock !
" $(Ljava/util/concurrent/locks/Lock;)V $
% ' ) + this 7Lcom/groupbyinc/flux/index/engine/Engine$IndexThrottle; acquireThrottle /()Lcom/groupbyinc/flux/common/lease/Releasable; acquire =()Lcom/groupbyinc/flux/common/util/concurrent/ReleasableLock; 1 2
3 activate 6 java/lang/AssertionError 8 )throttling activated while already active : (Ljava/lang/Object;)V <
9 = java/lang/System ? nanoTime ()J A B
@ C E
deactivate %throttling deactivated but not active H Bad state of startOfThrottleNS J )com/groupbyinc/flux/common/unit/TimeValue L
nsecToMSec (J)J N O
M P inc (J)V R S
T throttleTimeNS getThrottleTimeInMillis isThrottled ()Z X Y
Z count \ B
] currentThrottleNS java/lang/Class a desiredAssertionStatus c Y
b d
Code LocalVariableTable LineNumberTable
StackMapTable
SourceFile InnerClasses 1
B B g _ )*? *? Y? ? *? Y? "Y? #? &? (*? *? ,? h ) - . i ? ? ? ! ? / 0 g 2 *? ,? 4? h - . i ? 5 g i *? 7? *? ,? *?
? 9Y;? >?*? D? F**? (? ,? h * - . i ? ? ! ? ) ? j G g ? U? 7? *? ,? *?
? 9YI? >?*? *? ,? 7? *? F ??
? 9YK? >?? D*? Fe@ ?? *? ? Q? U? h U - . C V i ? ? ! ? : ? C ? I ? T ? j ? W B g ? 2 @*? [? *? F ?? ? D*? Fea@ ?? @*? ? ^? Qa? h 2 - . 0 _ i ? ? ? ? # ? % ? j ? % X Y g E *? ,? *? ? ? h - . i ? j @ ` g I "? e? ? ? 7? Y?
Y? f? &? *? i
? ? j @ k l