All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.common.apache.lucene.index.IndexFileDeleter.class Maven / Gradle / Ivy

There is a newer version: 59
Show newest version
????3??com/groupbyinc/flux/common/apache/lucene/index/IndexFileDeleterjava/lang/Objectjava/io/CloseableIndexFileDeleter.javaKcom/groupbyinc/flux/common/apache/lucene/index/IndexFileDeleter$CommitPointCommitPointHcom/groupbyinc/flux/common/apache/lucene/index/IndexFileDeleter$RefCountRefCountjava/util/Map$Entry
java/util/MapEntry	deletableLjava/util/Set;#Ljava/util/Set;	refCountsLjava/util/Map;mLjava/util/Map;commitsLjava/util/List;_Ljava/util/List;	lastFiles$Ljava/util/List;commitsToDelete
infoStream:Lcom/groupbyinc/flux/common/apache/lucene/util/InfoStream;
directoryOrig:Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;	directorypolicyDLcom/groupbyinc/flux/common/apache/lucene/index/IndexDeletionPolicy;startingCommitDeletedZlastSegmentInfos=Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentInfos;VERBOSE_REF_COUNTSwriter?([Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;Lcom/groupbyinc/flux/common/apache/lucene/index/IndexDeletionPolicy;Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentInfos;Lcom/groupbyinc/flux/common/apache/lucene/util/InfoStream;Lcom/groupbyinc/flux/common/apache/lucene/index/IndexWriter;ZZ)Vjava/io/IOException<()V:>
?java/util/HashSetA
B?	Djava/util/HashMapF
G?	Ijava/util/ArrayListK
L?	N	P	Rjava/util/ObjectsTrequireNonNull&(Ljava/lang/Object;)Ljava/lang/Object;VW
UX 	Z;com/groupbyinc/flux/common/apache/lucene/index/SegmentInfos\getSegmentsFileName()Ljava/lang/String;^_
]`IFDb8com/groupbyinc/flux/common/apache/lucene/util/InfoStreamd	isEnabled(Ljava/lang/String;)Zfg
ehjava/lang/StringBuilderj
k? init: current segments file is "mappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;op
kq"; deletionPolicy=s-(Ljava/lang/Object;)Ljava/lang/StringBuilder;ou
kvtoStringx_
kymessage'(Ljava/lang/String;Ljava/lang/String;)V{|
e}[Ljava/lang/String;8com/groupbyinc/flux/common/apache/lucene/store/Directory?Bcom/groupbyinc/flux/common/apache/lucene/index/IndexDeletionPolicy?:com/groupbyinc/flux/common/apache/lucene/index/IndexWriter?java/lang/String?$%	?!"	?#"	?
getGeneration()J??
]?=com/groupbyinc/flux/common/apache/lucene/index/IndexFileNames?CODEC_FILE_PATTERNLjava/util/regex/Pattern;??	???java/util/regex/Pattern?matcher3(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;??
??java/util/regex/Matcher?reset??
??
write.lock?endsWith?g
??matches?/
??segments?
startsWith?g
??pending_segments?getRefCount^(Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/index/IndexFileDeleter$RefCount;??
?segments.gen?equals?5
??init: load commit "?"?
readCommit?(Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentInfos;??
]??(Ljava/util/Collection;Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentInfos;)V:?
	?java/util/List?add?5??incRefA(Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentInfos;Z)V??
?()	?Dcom/groupbyinc/flux/common/apache/lucene/index/CorruptIndexException?&unable to read current segments_N file?<(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V:?
??%forced open of current segments file ?
checkpoint??
?
!siscommitPointMLcom/groupbyinc/flux/common/apache/lucene/index/IndexFileDeleter$CommitPoint;fileNameLjava/lang/String;arr$len$i$mLjava/util/regex/Matcher;eLjava/io/IOException;rcJLcom/groupbyinc/flux/common/apache/lucene/index/IndexFileDeleter$RefCount;entrysLjava/util/Map$Entry;Ljava/util/Map$Entry;Ljava/util/Iterator;filessegmentInfosinitialIndexExistsisReaderInitcurrentSegmentsFile
currentGenJcurrentCommitPointjava/lang/NumberFormatException=??java/util/CollectionBC?generationFromSegmentsFileName(Ljava/lang/String;)JEF
]Gjava/lang/MathImax(JJ)JKL
JM	substring(I)Ljava/lang/String;OP
?QparseSegmentName&(Ljava/lang/String;)Ljava/lang/String;ST
?U-'	W_Yjava/lang/AssertionError[
wtf? file=](Ljava/lang/Object;)V:_
\`java/lang/IntegerbparseInt(Ljava/lang/String;I)Ide
cf(II)IKh
JigetkWljava/lang/LongnvalueOf(J)Ljava/lang/Long;pq
or	longValuet?
ouparseGenerationwF
?xput8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;z{|setNextWriteGeneration(J)V~
]?counter?	]?init: inflate infos.counter to ?(I)Ljava/lang/StringBuilder;o?
k? vs current=?
]?@com/groupbyinc/flux/common/apache/lucene/index/SegmentCommitInfo?info;Ljava/util/Collection;
maxSegmentGenmaxSegmentNamemaxPerSegmentGen3Ljava/util/Map;
ensureOpenEcom/groupbyinc/flux/common/apache/lucene/store/AlreadyClosedException?(Z)V??
??tragedyLjava/lang/Throwable;??	??Mrefusing to delete any files: this IndexWriter hit an unrecoverable exception?*(Ljava/lang/String;Ljava/lang/Throwable;)V:?
??isClosed?>
?aceGLcom/groupbyinc/flux/common/apache/lucene/store/AlreadyClosedException;getLastSegmentInfos?()Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentInfos;java/lang/Throwable?size()I????(I)Ljava/lang/Object;k???"deleteCommits: now decRef commit "?
	`5?		?decRef(Ljava/util/Collection;)V??
?clear?>??5com/groupbyinc/flux/common/apache/lucene/util/IOUtils?reThrowUnchecked(Ljava/lang/Throwable;)V??
??deleted?'		?set'(ILjava/lang/Object;)Ljava/lang/Object;????remove????tcommitifirstThrowablereadFromwriteTorefresh./
??listAll()[Ljava/lang/String;

?containsKey53refresh: removing newly created unreferenced file "??deletePendingFiles>
closeisEmpty/?
revisitPolicynow revisitPolicyonCommit?
?:?
L!??5" is in pending delete set but has non-zero refCount=$failed to remove commit point "&/"; skipping deletion of all other pending files(toDeletejava/lang/System+nanoTime-?
,.now checkpoint "0toLiveInfos|(Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentInfos;)Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentInfos;23
?4	segString((Ljava/lang/Iterable;)Ljava/lang/String;67
?8" [:
]?
 segments =
; isCommit = ?(Z)Ljava/lang/StringBuilder;oA
kB]D(Z)Ljava/util/Collection;5F
]GaddAll(Ljava/util/Collection;)ZIJ?KB@ msec to checkpointOt1isCommitt0?
Tfile*'	W
  IncRef "Y": pre-incr count is [IncRef]?
^?
`decRefWhileHandlingException
  DecRef "c": pre-decr count is eDecRefg?
h?Wj@(Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentInfos;)Vexists
containso5?p1" cannot be incRef'd: it's already pending deleterdeleteNewFileswill delete new file "udelete "w
?y?5?{7com/groupbyinc/flux/common/apache/lucene/util/Constants}WINDOWS'	~?!java/nio/file/NoSuchFileException?)hit unexpected NoSuchFileException: file=?java/io/FileNotFoundException?+hit unexpected FileNotFoundException: file=?unable to remove file "?": ?
=y; Will re-try later.?java/lang/Class?desiredAssertionStatus?/
??	SignatureCodeLocalVariableTableLineNumberTable
StackMapTableLocalVariableTypeTable
Exceptions?(Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentInfos;Ljava/util/Collection;Lcom/groupbyinc/flux/common/apache/lucene/util/InfoStream;)V-(Ljava/util/Collection;)V
SourceFileInnerClasses0????? !"#"$%&'()	*'+,-'./?M*?1?
*?1?7????89?y?@:;?@*?@*?BY?C?E*?GY?H?J*?LY?M?O*?LY?M?Q*?LY?M?S?YW*?[*?1?a:
c?i?(c?kY?ln?r
?rt?r?w?z?~*??*,??*-????7:

???????:+:?66??2:??W????????????
?????*??W??????????c?i?#c?kY?l??r?r??r?z?~,??:?	Y*?S,??:??????:
*?O??W*??*?????*?Ӷ???	*?ӄ??"
?v
?q?l:,
??:?:??Y?
?ڿc?i?!c?kY?lܶr?a?r?z?~?	Y*?S,??:
*?O
??W*??	?
*??*?O??*?J????*?J????:???????:??:???:?	?l????0????&?Y?kY?l
?r?r?r?z??c?i?$c?kY?l?r?r??r?z?~*?W??`*?O?*??
?*??*
??*?"????=?@R#)PB$%??&'??(??)??*??+,?-.?f#)e~/0qr&'Y?13C?*4895!"#"$%6) +,7'8'	T?9'
?w:;?t<%
?Y?12?C?TY`%d0g;?A?G?M?T?^???????????????????????????8?@?P?^?b?n?u?????????????????????????	????#?3?Y?e?q?z??????????????????????????????]e???3????]e??	???;??D?)]	)??
????]e??	?????]e??	]='?"?&??m?*???=??????BA6?GY?H:+?D:????????:????????????????H!?NB??:	???????R?H!?NB??:	???V:	?X?+	Z??? ?\Y?kY?l^?r?r?z?a?	?R$?g?j6	?m?o:

?		?s:

?v?y?N?s:
?:	
?}W??**??!?N??*??`?>,c?i?-,c?kY?l??r`????r*?????z?~*`??*??:???Q????:?????m?o:	?X?	??\Y???	?v7??
a??Q,c?i??,c?kY?l??r?????r??r
a????r?????z?~
a????
a??Q,c?i??,c?kY?l??r?????r??r
a????r?????z?~
a????
a??Q,c?i??,c?kY?l??r?????r??r
a????r?????z?~
a??????Q[^>m|>???>??`??	???	????|?'	?.??
0?&'?*4?+??	??;x???bX*4??)?5?? ??;	??????5??????1	0GQ[^`cm|????!?#?$?%?)?,?*?-/
23!4*5T7\:x;?<?=?>???@?BDEFSH\JiKrL?N?P?Q?}?]Ce??,?V>[>?4??*oT>???I???<?o?X?Q?Q?]Ce?????>?d%*?1??*?1?????Y?*?1?ηӿ??%89?TVW$Y?$???/?]	*???L?????	89?^_`a?F????/*?Ӱ?89?f >??*?S??<??M>?_*?S???	:*?[c?i?)*?[c?kY?l?r??r??r?z?~*???:,?M????*?S??,??*?O??<>6??*?O???	:???"?*?O*?O????W??????*?Od??W?????Xad??\	f?&G%a?*%???]?Z?89
???zo
quvw&x2yX|a?d}f~jmvs?|????????????????????????????????,
???E	K?????7	??>?b??X?*???\Y???*?E?	*???
L?????M>+???+2:,??W????g*?J??Y,???????
????>*?[c?i?&*?[c?kY?l?r?r??r?z?~*?E?W???}*???4<u&'1??89&?5/?+,?:???&?/?7?<?C?v????????????????D?.???=>??F?X?*???\Y???*?Q??#**?Q??*?Q???L*?Q??+?*??!)5565?F89?"??!?)?2?5?A?E??_?>??I?X?*???\Y???*?[c?i?*?[c?~*?O???*??*?O? *?"??I89???!?-?9?D?H???=>???X?*???\Y????LY*?E?"L+?#M,????,????N*?J-?m?:?5?	?-?Y?kY?l
?r-?r%?r?	???z??-????;*-??3*?[c?i?&*?[c?kY?l'?r-?r)?r?z?~???f+?#M,???,????N-????	*-?W??ޱ?HJx/0;?&'(?*4?&'?%*4?89!?*?!?*?F??!?;?J?W???????????????????&	????X??????!?????*?X?*???\Y????X?*?1?7??\Y???	B*?[c?i?U?/B*?[c?kY?l1?r*?1*?1+?5?9?r;?r+??r@?r?CE?r?z?~*+???/*?O?	Y*?S*??+?ȹ?W*??*?O? *?"?4**?Q??*?Q???:*?Q???*?Q+?H?LW*?[c?i?,?/7*?[c?kY?l!eMm??P?r?z?~????????4$Q;*89*6)*R'/?S;?R -!/";#?$?(?*?,?/?2?6?8?9?8?<??@A)C??_5S?
4?=????>?X?*???\Y???+?H?DN-???-????:*?U????44&' *4>89>6)>R'?FI4J:K=L??
???=????8?X?*???\Y???+?DM,???,????N*-?U????*/V'*488985??85??OP/Q4R7S?????????]?X?*???\Y???*+??M*?[c?i?3?X?-*?[c?kY?lZ?r+?r\?r,?	???z?~,?_W?? ]89]&'B/0?VWX'Y-ZW]\^?	?A???TZ?X?*???\Y???M+?DN-???#-????:*?a?:,?M???*??
N,?-M,???28;?GKN??H=?2V')*4O?Z89Z5?C??Z5??Bbcd2f8l;g=hAjDmGpKvNqOrStUyYz?0????C??????F???b??E?X?*???\Y???+?DM,???,????N*-?a?:???*??M?/47?<@C??>9?/
V' *4D?E89E5??E5??*
?/?4?7?9?<?@?C?D??*???C?????F???????X?*???\Y???*+??M*?[c?i?3?X?-*?[c?kY?ld?r+?rf?r,?	???z?~,?i?**?E+?W*?J+?kW?N*?J+?kW-??_jxxyx? ?89?&'l/0?.???'?-?W?_?j?u?x?????A`?
?l?d?X?*???\Y???*+?H???896)??????=mg??5?X?*???\Y???*?J+???*+???	????5895&'???"?$??@?????X?*???\Y???*?J+??P?Y+?nM?X?2*?E+?q?%?\Y?kY?l
?r+?rs?r?z?a?*?J+,?}W?*?J+?m?M,??*+D/089&'}/0???"?+?`?o?}???J??
t??&??X?*???\Y???+?DM,???i,????N*?J-??*?J-?m??	?<*?[c?i?%*?[c?kY?lv?r-?r??r?z?~*?E-?W???*???*/Y&'o*4?89?5???5??&	??/?O?[?}???????????2?-?
??=??g???X?*???\Y???*??*?[c?i?%*?[c?kY?lx?r+?r??r?z?~*??+?z*?E+?|W?M?X?,???&,????\Y?kY?l??r+?r?z?a??X?,???&,????\Y?kY?l??r+?r?z?a?*?[c?i?3*?[c?kY?l??r+?r??r,???r??r?z?~*?E+?W?[\=? ]?-.89&'?:???%?G?O?Z?\?]???????????1T=?/=.;?>?<?????X?X??
Os?@??	

	




© 2015 - 2025 Weber Informatics LLC | Privacy Policy