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

com.groupbyinc.flux.common.apache.lucene.util.IOUtils.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????4X5com/groupbyinc/flux/common/apache/lucene/util/IOUtilsjava/lang/ObjectIOUtils.java@com/groupbyinc/flux/common/apache/lucene/util/IOUtils$IOConsumer
IOConsumer7com/groupbyinc/flux/common/apache/lucene/util/IOUtils$1	java/util/Map$Entry
java/util/Map
Entry%java/lang/invoke/MethodHandles$Lookupjava/lang/invoke/MethodHandlesLookupUTF_8Ljava/lang/String;$assertionsDisabledZ()V
this7Lcom/groupbyinc/flux/common/apache/lucene/util/IOUtils;close([Ljava/io/Closeable;)Vjava/io/IOException!java/util/Arrays#asList%([Ljava/lang/Object;)Ljava/util/List;%&
$'(Ljava/lang/Iterable;)V)
*objects[Ljava/io/Closeable;java/lang/Throwable.java/lang/Iterable0iterator()Ljava/util/Iterator;2314java/util/Iterator6hasNext()Z897:next()Ljava/lang/Object;<=7>java/io/Closeable@AB
useOrSuppressA(Ljava/lang/Throwable;Ljava/lang/Throwable;)Ljava/lang/Throwable;DE
F
rethrowAlways((Ljava/lang/Throwable;)Ljava/lang/Error;HI
JtLjava/lang/Throwable;objectLjava/io/Closeable;*Ljava/lang/Iterable<+Ljava/io/Closeable;>;Ljava/lang/Iterable;thcloseWhileHandlingExceptionS)
Tjava/lang/VirtualMachineErrorV
addSuppressed(Ljava/lang/Throwable;)VXY
WZeLjava/lang/VirtualMachineError;
firstErrorfirstThrowablegetDecodingReaderA(Ljava/io/InputStream;Ljava/nio/charset/Charset;)Ljava/io/Reader;java/nio/charset/Charsetb
newDecoder#()Ljava/nio/charset/CharsetDecoder;de
cf"java/nio/charset/CodingErrorActionhREPORT$Ljava/nio/charset/CodingErrorAction;jk	iljava/nio/charset/CharsetDecodernonMalformedInputG(Ljava/nio/charset/CodingErrorAction;)Ljava/nio/charset/CharsetDecoder;pq
oronUnmappableCharactertq
oujava/io/BufferedReaderwjava/io/InputStreamReadery9(Ljava/io/InputStream;Ljava/nio/charset/CharsetDecoder;)V{
z|(Ljava/io/Reader;)V~
xstreamLjava/io/InputStream;charSetLjava/nio/charset/Charset;charSetDecoder!Ljava/nio/charset/CharsetDecoder;O(Ljava/lang/Class;Ljava/lang/String;Ljava/nio/charset/Charset;)Ljava/io/Reader;java/lang/Class?getResourceAsStream)(Ljava/lang/String;)Ljava/io/InputStream;??
??`a
? 
?java/lang/String?java/io/InputStream?java/io/Reader?readerLjava/io/Reader;clazzLjava/lang/Class<*>;Ljava/lang/Class;resourcesuccessdeleteFilesIgnoringExceptionsS(Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;Ljava/util/Collection;)Vjava/util/Collection??48com/groupbyinc/flux/common/apache/lucene/store/Directory?
deleteFile(Ljava/lang/String;)V??
??namedir:Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;files*Ljava/util/Collection;Ljava/util/Collection;P(Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;[Ljava/lang/String;)V??
?[Ljava/lang/String;deleteFilesnames([Ljava/nio/file/Path;)V(Ljava/util/Collection;)V??
?[Ljava/nio/file/Path;java/nio/file/Path?java/nio/file/Files?delete(Ljava/nio/file/Path;)V??
??Ljava/nio/file/Path;-Ljava/util/Collection<+Ljava/nio/file/Path;>;deleteFilesIfExist??
?deleteIfExists(Ljava/nio/file/Path;)Z??
??filermjava/util/LinkedHashMap?
?I(Ljava/util/LinkedHashMap;[Ljava/nio/file/Path;)Ljava/util/LinkedHashMap;??
?isEmpty?9
??java/lang/StringBuilder?ACould not remove the following files (in the order of attempts):
??
??entrySet()Ljava/util/Set;??
??
java/util/Set??4   ?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??getKey?=?toAbsolutePath()Ljava/nio/file/Path;????-(Ljava/lang/Object;)Ljava/lang/StringBuilder;??
??: ?getValue?=?
?toString()Ljava/lang/String;??
??
"?kv@Ljava/util/Map$Entry;Ljava/util/Map$Entry;bLjava/lang/StringBuilder;	locations	unremovedDLjava/util/LinkedHashMap;Ljava/util/LinkedHashMap;?java/nio/file/LinkOption
exists2(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
?(Ljava/util/LinkedHashMap;)V

walkFileTreeE(Ljava/nio/file/Path;Ljava/nio/file/FileVisitor;)Ljava/nio/file/Path;
?java/lang/AssertionErrorvisitor threw exception*(Ljava/lang/String;Ljava/lang/Throwable;)V

impossibleLjava/io/IOException;locationjava/lang/RuntimeException!"rethrow argument must not be null.#(Ljava/lang/Object;)V%
&java/lang/Error(Y
"*reThrowLjava/lang/Deprecated;reThrowUncheckedfsync(Ljava/nio/file/Path;Z)Vjava/nio/file/OpenOption1 java/nio/file/StandardOpenOption3READ"Ljava/nio/file/StandardOpenOption;56	47java/nio/file/OpenOption;9WRITE;6	4<java/nio/channels/FileChannel>openP(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/nio/channels/FileChannel;@A
?Bforce(Z)VDE
?F
?B
/Z	J7com/groupbyinc/flux/common/apache/lucene/util/ConstantsLLINUXN	MOMAC_OS_XQ	MR
??On Linux and MacOSX fsyncing a directory should not throw IOException, we just don't want to rely on that in production (undocumented). Got: ULjava/nio/channels/FileChannel;ioe
fileToSyncisDirspins=(Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;)Z>com/groupbyinc/flux/common/apache/lucene/store/FilterDirectory]unwrapv(Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;)Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;_`
^aBcom/groupbyinc/flux/common/apache/lucene/store/FileSwitchDirectoryc
getPrimaryDir<()Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;ef
dg[\
igetSecondaryDirkf
dl;com/groupbyinc/flux/common/apache/lucene/store/RAMDirectoryn:com/groupbyinc/flux/common/apache/lucene/store/FSDirectorypgetDirectoryr?
qs[?
ufsdDLcom/groupbyinc/flux/common/apache/lucene/store/FileSwitchDirectory;java/lang/Exceptiony
toRealPath1([Ljava/nio/file/LinkOption;)Ljava/nio/file/Path;{|?}
spinsLinux?
?excLjava/lang/Exception;pathgetFileStore/(Ljava/nio/file/Path;)Ljava/nio/file/FileStore;??
?tmpfs?java/nio/file/FileStore?type??
??equals(Ljava/lang/Object;)Z??
????
??/?
startsWith(Ljava/lang/String;)Z??
??getRoot????resolve((Ljava/lang/String;)Ljava/nio/file/Path;????getFileName??????sys?block?newDirectoryStream5(Ljava/nio/file/Path;)Ljava/nio/file/DirectoryStream;??
??java/nio/file/DirectoryStream??4length()I??
???Bqueue?
rotational?newInputStreamF(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/InputStream;??
??read??
??
?Bdevice5Ljava/nio/file/DirectoryStream;Ljava/nio/file/DirectoryStream;storeLjava/nio/file/FileStore;devNamesysinfo
devsysinfomatchlenI
??
getMountPoint-(Ljava/nio/file/FileStore;)Ljava/lang/String;??
?
getFileSystem()Ljava/nio/file/FileSystem;????java/nio/file/FileSystem?
getFileStores()Ljava/lang/Iterable;??
??fsmountsameMountPoint
? (?lastIndexOf(Ljava/lang/String;)I??
??	substring(II)Ljava/lang/String;??
??descindexfirstTT;second
applyToAll[(Ljava/util/Collection;Lcom/groupbyinc/flux/common/apache/lucene/util/IOUtils$IOConsumer;)V()Ljava/util/stream/Stream;????"java/lang/invoke/LambdaMetafactory?metafactory?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;??
????java/util/Objects?nonNull??
??test ()Ljava/util/function/Predicate;java/util/stream/Streamfilter9(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;	
&(Ljava/lang/Object;)Ljava/lang/Object;lambda$applyToAll$1i(Lcom/groupbyinc/flux/common/apache/lucene/util/IOUtils$IOConsumer;Ljava/lang/Object;)Ljava/io/Closeable;
'(Ljava/lang/Object;)Ljava/io/Closeable;applya(Lcom/groupbyinc/flux/common/apache/lucene/util/IOUtils$IOConsumer;)Ljava/util/function/Function;map8(Ljava/util/function/Function;)Ljava/util/stream/Stream;getClass()Ljava/lang/Class;
3java/util/stream/BaseStream"#4	$/(Ljava/util/stream/Stream;)Ljava/lang/Iterable;2&'
collectionLjava/util/Collection;consumerGLcom/groupbyinc/flux/common/apache/lucene/util/IOUtils$IOConsumer;BLcom/groupbyinc/flux/common/apache/lucene/util/IOUtils$IOConsumer;
lambda$null$0W(Lcom/groupbyinc/flux/common/apache/lucene/util/IOUtils$IOConsumer;Ljava/lang/Object;)V/0
124Ljava/lang/Object;accept7%8desiredAssertionStatus;9
?<!java/nio/charset/StandardCharsets>?	?@
c?	CCodeLocalVariableTableLineNumberTable
ExceptionsLocalVariableTypeTable
StackMapTable	Signature-(Ljava/lang/Iterable<+Ljava/io/Closeable;>;)VR(Ljava/lang/Class<*>;Ljava/lang/String;Ljava/nio/charset/Charset;)Ljava/io/Reader;g(Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;Ljava/util/Collection;)V0(Ljava/util/Collection<+Ljava/nio/file/Path;>;)V?(Ljava/util/LinkedHashMap;[Ljava/nio/file/Path;)Ljava/util/LinkedHashMap;
DeprecatedRuntimeVisibleAnnotations$(TT;TT;)TT;{(Ljava/util/Collection;Lcom/groupbyinc/flux/common/apache/lucene/util/IOUtils$IOConsumer;)VBootstrapMethods
SourceFileInnerClasses1E/*??FG?? E6*?(?+?F,-G
LMH"	)E??L*?5M,?;?&,???AN-?	-?C?:+?GL???+?+?K??&)/F*+LMNO?,Q=RMI?,PG.TUW X&\)Z+[2]5_9`>bJ?	/7?AB/??H"KL?S E6*?(?U?F,-G
lm	S)EAYLM*?5N-?;?8-???A:?
?C?:+?G?WL?:,?GM???+?,?+,?[+??+.W+=/F>0
\]?LM'NOY,QW^]U_MIY,PGFuvwy$z+?.|0}:?=~?F?I?M?Q?V?X?J$?W/7?ABWN/??KL	`aEl"+?g?m?s?m?vM?xY?zY*,?}???F "??"????G??
??	`?E,AN6*+??N-,??:6:??AY-S???:??AY-S???,,.,F>??A??A?A?????<?IA??G2?????????)?,?3?J;?)??c??????c?/?/H"KM	??E?(+??M,?;?,????N*-???:???"/F 
?(??(??I(??G???"?$?'?J$?7???7?/??KN???EA	*+?(???F	??	??G
??	??EAM+??N-?;?(-????:?*???:,?GM???,?,?K??"(+/F4-LM?A??A???RMIA??G.???"?(?+?-?4?7?;?@?J+?	/7?!??/7?/??H"KN???E6*?(???F??G
??	??E?**??L+?;?+????M,?,?§N???"%/F??*??I*??G???"%?&)J!?7??7?/??KO???E6*?(?DZF??G
H"	??E?>L*??M,?;?%,????N-?-??W?:+?GL???+?+?K??%(/F**LM??>??<RMI>??G.  !%%(#*$1&4(8)=+J?	/7??B/??H"KO???E"x??Y??*??L+?֚g??Yڷ?M+???N-?;?>-???:,????????????????????W????"Y,??????F*;-Zx?lI;-lG24567;8C9U:Z;d<h=k>w@J?'??7?C?H"???EQ+?N+M,?>6?@,2:?/???#?
Y*??W?:?Y??????*?)7:"F*<
1 ?QQ?IQG&	CDF)H7n:l<mIDOrJ(?	?-?		?"??KP	HIE?<*??Y$?'?*?"?*?"?*?"?*?"?*?)?*?)??"Y*?+?F<RMG&	?????"?'?.?3?JH""	,YEE
*?*?K??F
RMG??	?J	H"QR-	.YEs&*?$*?)?*?)?*?"?*?"??"Y*?+??F&RMG??????%?JQR-	/0E??*?2Y?	?8??=S?CMN,?G,?K-?,?H?@:-?I?5,?H?.:N?:,?-?,?H?:-?I?,?H??AM?:?K?3?P?	?S????Y??Y?TV??,????'??,??(,// A/ ISWZ/AKIlo"F*S?Wp=X?Y??ZG2?? ?A?I?l?o?p?t???????J????::???::2???//
F/G/???///
??B"?"@?H"	[\E?H*?bK*?d?"*?dL+?h?j?
+?m?j???*?o??*?q?*?q?t?v??FwxH??G&	????+?2?4?;?F?J?%d@?H"	[?Ex*??~K?P??*???L?zF????G?JDzH"?E?*??L?+??????+??M,?????*??,????~????M*????????N:6-??::??:?;?>????:		????:

???,
???	:
??6????]????N:?I?B???8::?:?%????:?I?
???????????:?2??::??1??6	?!??§:

?I???	?:		:	?:
?!??§:?I???
?
???/k??/k????/???\ad/ARx/AR????/x??Fp??
?,??	h???>k??????????\M??_J??bG??3v??Ih???Gv#%#E'\(_)b*k+?,?-?.?/?1?2?*?24593:A;R<u;x:?<J?????N	??????/7?A?S/I/H/???????///???????/??/@?
???????//?	???????//H/????????///H"??E?U*??L+??MN*???۹5:?;?*????:,?Ѷ??-?	N?+????-?-?+?F42??U??P??
K?I??G2BC
GH2I>JBKHOJRMTQVSYJ%?????7?+???H"??Ex*??L+??=?
+??+?F ???
??G_`
abdJ	??	DEEr
*?+?*+?I*?F
?M
?MI
??
??GmnprJKS	??E})*????+??Y? W?(?+?F))?)+-I))*)+,G
z({H"KT
E<*+?5?F+-L6Gz
/0E<*+?9?F+-L6GzH":EA?=???K?A?B?D?G
5=J@U*????
?!%!?.3.VW"	
	




© 2015 - 2024 Weber Informatics LLC | Privacy Policy