
com.groupbyinc.flux.common.apache.lucene.index.DocumentsWriterStallControl.class Maven / Gradle / Ivy
???? 3 ? Jcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterStallControl java/lang/Object DocumentsWriterStallControl.java stalled Z
numWaiting I
wasStalled waiting Ljava/util/Map; 6Ljava/util/Map;
infoStream :Lcom/groupbyinc/flux/common/apache/lucene/util/InfoStream; stallStartNS J $assertionsDisabled I(Lcom/groupbyinc/flux/common/apache/lucene/index/LiveIndexWriterConfig;)V ()V
java/util/IdentityHashMap
Dcom/groupbyinc/flux/common/apache/lucene/index/LiveIndexWriterConfig
getInfoStream <()Lcom/groupbyinc/flux/common/apache/lucene/util/InfoStream;
! # this LLcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterStallControl; iwc FLcom/groupbyinc/flux/common/apache/lucene/index/LiveIndexWriterConfig;
updateStalled (Z)V +
- notifyAll /
0
waitIfStalled java/lang/InterruptedException 3
incWaiters 5
6 ? wait (J)V : ;
< decrWaiters >
? Hcom/groupbyinc/flux/common/apache/lucene/util/ThreadInterruptedException A #(Ljava/lang/InterruptedException;)V C
B D java/lang/Throwable F e Ljava/lang/InterruptedException; anyStalledThreads ()Z java/lang/System L nanoTime ()J N O
M P R DW T 8com/groupbyinc/flux/common/apache/lucene/util/InfoStream V isEnabled (Ljava/lang/String;)Z X Y
W Z \ now stalling flushes ^ message '(Ljava/lang/String;Ljava/lang/String;)V ` a
W b d java/lang/Thread f
currentThread ()Ljava/lang/Thread; h i
g j java/lang/Boolean l TRUE Ljava/lang/Boolean; n o m p
java/util/Map r put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; t u s v java/lang/AssertionError x
y remove &(Ljava/lang/Object;)Ljava/lang/Object; { | s } java/lang/StringBuilder
? done stalling flushes for ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ?A.?? (D)Ljava/lang/StringBuilder; ? ?
? ? ms ? toString ()Ljava/lang/String; ? ?
? ?
stallEndNS
hasBlocked isHealthy isThreadQueued (Ljava/lang/Thread;)Z containsKey (Ljava/lang/Object;)Z ? ? s ? t Ljava/lang/Thread; java/lang/Class ? desiredAssertionStatus ? K
? ? Signature Code LocalVariableTable LineNumberTable
StackMapTable
SourceFile 0 B
?
? X *? *? Y? ? *+? "? $? ? % &