
com.groupbyinc.flux.common.apache.lucene.index.SegmentInfos$FindSegmentsFile.class Maven / Gradle / Ivy
???? 3 ? Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentInfos$FindSegmentsFile (Ljava/lang/Object; java/lang/Object SegmentInfos.java ;com/groupbyinc/flux/common/apache/lucene/index/SegmentInfos FindSegmentsFile directory :Lcom/groupbyinc/flux/common/apache/lucene/store/Directory; =(Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;)V ()V
this SLcom/groupbyinc/flux/common/apache/lucene/index/SegmentInfos$FindSegmentsFile; NLcom/groupbyinc/flux/common/apache/lucene/index/SegmentInfos$FindSegmentsFile; run ()Ljava/lang/Object; java/io/IOException P(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexCommit;)Ljava/lang/Object;
:com/groupbyinc/flux/common/apache/lucene/index/IndexCommit getDirectory <()Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;
! ;the specified commit does not match the specified Directory # (Ljava/lang/String;)V %
& getSegmentsFileName ()Ljava/lang/String; ( )
* doBody &(Ljava/lang/String;)Ljava/lang/Object; , -
.???????? 8com/groupbyinc/flux/common/apache/lucene/store/Directory 2 listAll ()[Ljava/lang/String; 4 5
3 6 java/util/Arrays 8 sort ([Ljava/lang/Object;)V : ;
9 < equals )([Ljava/lang/Object;[Ljava/lang/Object;)Z > ?
9 @ [Ljava/lang/String; B getLastCommitGeneration ([Ljava/lang/String;)J D E
F
access$000 ()Ljava/io/PrintStream; H I
J java/lang/StringBuilder L
M directory listing gen= O append -(Ljava/lang/String;)Ljava/lang/StringBuilder; Q R
M S (J)Ljava/lang/StringBuilder; Q U
M V toString X )
M Y
access$100 [ %
\ Ecom/groupbyinc/flux/common/apache/lucene/index/IndexNotFoundException ^ no segments* file found in ` -(Ljava/lang/Object;)Ljava/lang/StringBuilder; Q b
M c : files: e '([Ljava/lang/Object;)Ljava/lang/String; X g
9 h
_ & segments k m =com/groupbyinc/flux/common/apache/lucene/index/IndexFileNames o fileNameFromGeneration 9(Ljava/lang/String;Ljava/lang/String;J)Ljava/lang/String; q r
p s success on u java/lang/String w primary Exception on ' y ': { '; will retry: gen = } t TT; Ljava/lang/Object; err Ljava/io/IOException; segmentFileName Ljava/lang/String; files files2 commit