com.groupbyinc.flux.common.apache.lucene.index.DocumentsWriterDeleteQueue.class Maven / Gradle / Ivy
???? 4# Icom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterDeleteQueue java/lang/Object 9com/groupbyinc/flux/common/apache/lucene/util/Accountable DocumentsWriterDeleteQueue.java Kcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterDeleteQueue$1 ^com/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterDeleteQueue$DocValuesUpdatesNode
DocValuesUpdatesNode Wcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterDeleteQueue$TermArrayNode
TermArrayNode Xcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterDeleteQueue$QueryArrayNode QueryArrayNode Rcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterDeleteQueue$TermNode TermNode Ncom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterDeleteQueue$Node Node Ucom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterDeleteQueue$DeleteSlice DeleteSlice tail PLcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterDeleteQueue$Node; SLcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterDeleteQueue$Node<*>; globalSlice WLcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterDeleteQueue$DeleteSlice; globalBufferedUpdates @Lcom/groupbyinc/flux/common/apache/lucene/index/BufferedUpdates; globalBufferLock *Ljava/util/concurrent/locks/ReentrantLock;
generation J nextSeqNo (Ljava/util/concurrent/atomic/AtomicLong;
infoStream :Lcom/groupbyinc/flux/common/apache/lucene/util/InfoStream; maxSeqNo $assertionsDisabled Z =(Lcom/groupbyinc/flux/common/apache/lucene/util/InfoStream;)V ?(Lcom/groupbyinc/flux/common/apache/lucene/util/InfoStream;JJ)V . 0
1 this KLcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterDeleteQueue; >com/groupbyinc/flux/common/apache/lucene/index/BufferedUpdates 5 global 7 (Ljava/lang/String;)V . 9
6 : (Lcom/groupbyinc/flux/common/apache/lucene/util/InfoStream;Lcom/groupbyinc/flux/common/apache/lucene/index/BufferedUpdates;JJ)V . <
=
startSeqNo ()V . @
A (java/util/concurrent/locks/ReentrantLock C
D A # $ F??????? + & J ) * L ! " N % & P &java/util/concurrent/atomic/AtomicLong R (J)V . T
S U ' ( W (Ljava/lang/Object;)V . Y
Z \ S(Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterDeleteQueue$Node;)V . ^
_ a addDelete ;([Lcom/groupbyinc/flux/common/apache/lucene/search/Query;)J ;([Lcom/groupbyinc/flux/common/apache/lucene/search/Query;)V . e
f add S(Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterDeleteQueue$Node;)J h i
j tryApplyGlobalSlice l @
m queries 8[Lcom/groupbyinc/flux/common/apache/lucene/search/Query; seqNo 9([Lcom/groupbyinc/flux/common/apache/lucene/index/Term;)J 9([Lcom/groupbyinc/flux/common/apache/lucene/index/Term;)V . s
t terms 6[Lcom/groupbyinc/flux/common/apache/lucene/index/Term; addDocValuesUpdates D([Lcom/groupbyinc/flux/common/apache/lucene/index/DocValuesUpdate;)J D([Lcom/groupbyinc/flux/common/apache/lucene/index/DocValuesUpdate;)V . z
{ updates A[Lcom/groupbyinc/flux/common/apache/lucene/index/DocValuesUpdate; ?(Lcom/groupbyinc/flux/common/apache/lucene/index/Term;Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterDeleteQueue$DeleteSlice;)J 8(Lcom/groupbyinc/flux/common/apache/lucene/index/Term;)V . ?
? sliceTail ? ? , - ? sliceHead ? ? java/lang/AssertionError ? )slice head and tail must differ after add ?
? Z term 5Lcom/groupbyinc/flux/common/apache/lucene/index/Term; slice termNode TLcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterDeleteQueue$TermNode; next ? ? getNextSequenceNumber ()J ? ?
? newNode
anyChanges ()Z lock ? @
D ? any ? ?
6 ? isEmpty ? ?
? unlock ? @
D ? java/lang/Throwable ? tryLock ? ?
D ? updateSliceNoSeqNo Z(Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterDeleteQueue$DeleteSlice;)Z ? ?
? MAX_INT Ljava/lang/Integer; ? ? 6 ? java/lang/Integer ? intValue ()I ? ?
? ? apply D(Lcom/groupbyinc/flux/common/apache/lucene/index/BufferedUpdates;I)V ? ?
? freezeGlobalBuffer ?(Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterDeleteQueue$DeleteSlice;)Lcom/groupbyinc/flux/common/apache/lucene/index/FrozenBufferedUpdates; java/io/IOException ? Dcom/groupbyinc/flux/common/apache/lucene/index/FrozenBufferedUpdates ? ?(Lcom/groupbyinc/flux/common/apache/lucene/util/InfoStream;Lcom/groupbyinc/flux/common/apache/lucene/index/BufferedUpdates;Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentCommitInfo;)V . ?
? ? clear ? @
6 ? packet FLcom/groupbyinc/flux/common/apache/lucene/index/FrozenBufferedUpdates; callerSlice currentTail newSlice Y()Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterDeleteQueue$DeleteSlice; updateSlice Z(Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterDeleteQueue$DeleteSlice;)J numGlobalTermDeletes numTermDeletes +Ljava/util/concurrent/atomic/AtomicInteger; ? ? 6 ? )java/util/concurrent/atomic/AtomicInteger ? get ? ?
? ? forceApplyGlobalSlice getBufferedUpdatesTermsSize ? ?
? deleteTerms Ljava/util/Map; ? ? 6 ?
java/util/Map ? size ? ? ? ? ramBytesUsed bytesUsed ? ( 6 ? ? ?
S ? toString ()Ljava/lang/String; java/lang/StringBuilder ?
? A DWDQ: [ generation: ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? (J)Ljava/lang/StringBuilder; ? ?
? ? ] ? ?
? getAndIncrement ?
S seqNo=
vs maxSeqNo=
getLastSequenceNumber skipSequenceNumbers addAndGet (J)J
S jump java/lang/Class desiredAssertionStatus ?
Signature Code LocalVariableTable LineNumberTable
StackMapTable LocalVariableTypeTable V(Lcom/groupbyinc/flux/common/apache/lucene/index/DocumentsWriterDeleteQueue$Node<*>;)J
Exceptions
SourceFile InnerClasses 0 B ! " # $ % &