
com.groupbyinc.flux.common.apache.lucene.index.DocumentsWriterPerThreadPool.class Maven / Gradle / Ivy
???? 3 ? Kcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterPerThreadPool java/lang/Object !DocumentsWriterPerThreadPool.java Wcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterPerThreadPool$ThreadState ThreadState threadStates Ljava/util/List; kLjava/util/List; freeList aborted Z $assertionsDisabled ()V
java/util/ArrayList
this MLcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterPerThreadPool; getActiveThreadStateCount ()I java/util/List size ! " setAbort
%
clearAbort notifyAll (
) newThreadState [()Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterPerThreadPool$ThreadState; java/lang/InterruptedException - wait /
0 Hcom/groupbyinc/flux/common/apache/lucene/util/ThreadInterruptedException 2 #(Ljava/lang/InterruptedException;)V 4
3 5 L(Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterPerThread;)V 7
8 lock :
; add (Ljava/lang/Object;)Z = > ? ie Ljava/lang/InterruptedException; threadState YLcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterPerThreadPool$ThreadState; reset ?(Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterPerThreadPool$ThreadState;)Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterPerThread; G isHeldByCurrentThread ()Z I J
K java/lang/AssertionError M
N dwpt ILcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterPerThread; P Q R
access$000 \(Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterPerThreadPool$ThreadState;)V T U
V recycle
getAndLock ?(Ljava/lang/Thread;Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriter;)Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterPerThreadPool$ThreadState; isEmpty [ J \ + ,
^ remove (I)Ljava/lang/Object; ` a b get d a e set '(ILjava/lang/Object;)Ljava/lang/Object; g h i java/lang/Throwable k ts i I requestingThread Ljava/lang/Thread; documentsWriter @Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriter; release unlock u
v state getThreadState \(I)Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterPerThreadPool$ThreadState; ord getMaxThreadStates minContendedThreadState iterator ()Ljava/util/Iterator; ~ ? java/util/Iterator ? hasNext ? J ? ? next ()Ljava/lang/Object; ? ? ? ? getQueueLength ?
? i$ Ljava/util/Iterator; minThreadState java/lang/Class ? desiredAssertionStatus ? J
? ? Signature Code LocalVariableTable LineNumberTable
StackMapTable
SourceFile InnerClasses 0
?
?
? M *? *? Y? ? *? Y? ? ? ? ? ) l n ? 4
*? ? # ? ?
? v $ ? 4 *? &? ? ?
z { ' ? <