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

com.groupbyinc.flux.bootstrap.Spawner.class Maven / Gradle / Ivy

????4$%com/groupbyinc/flux/bootstrap/Spawnerjava/lang/Objectjava/io/CloseableSpawner.java%java/lang/invoke/MethodHandles$Lookupjava/lang/invoke/MethodHandles
Lookup	processesLjava/util/List;%Ljava/util/List;spawned+Ljava/util/concurrent/atomic/AtomicBoolean;()V
java/util/ArrayList

	)java/util/concurrent/atomic/AtomicBoolean
	this'Lcom/groupbyinc/flux/bootstrap/Spawner;closejava/io/IOException#"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;'(
&)*()Ljava/util/Iterator;,lambda$close$1.,
/0iterator=(Lcom/groupbyinc/flux/bootstrap/Spawner;)Ljava/lang/Iterable;2345com/groupbyinc/flux/common/apache/lucene/util/IOUtils6(Ljava/lang/Iterable;)V"8
79spawnNativePluginControllers((Lcom/groupbyinc/flux/env/Environment;)Vjava/lang/Throwable=
compareAndSet(ZZ)Z?@
Ajava/lang/IllegalStateExceptionC"native controllers already spawnedE(Ljava/lang/String;)VG
DH#com/groupbyinc/flux/env/EnvironmentJpluginsFile()Ljava/nio/file/Path;LM
KNjava/nio/file/LinkOptionPjava/nio/file/FilesRexists2(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)ZTU
SVjava/lang/StringBuilderX
Yplugins directory [[append-(Ljava/lang/String;)Ljava/lang/StringBuilder;]^
Y_-(Ljava/lang/Object;)Ljava/lang/StringBuilder;]a
Yb] not founddtoString()Ljava/lang/String;fg
Yhjava/nio/file/PathjnewDirectoryStream5(Ljava/nio/file/Path;)Ljava/nio/file/DirectoryStream;lm
Snjava/nio/file/DirectoryStreamp2,qrjava/util/IteratorthasNext()Zvwuxnext()Ljava/lang/Object;z{u|&com/groupbyinc/flux/plugins/PluginInfo~readFromProperties>(Ljava/nio/file/Path;)Lcom/groupbyinc/flux/plugins/PluginInfo;??
?%com/groupbyinc/flux/plugins/Platforms?nativeControllerPath*(Ljava/nio/file/Path;)Ljava/nio/file/Path;??
??
isRegularFile?U
S?hasNativeController?w
?java/util/Locale?ROOTLjava/util/Locale;??	??>plugin [%s] does not have permission to fork native controller?getFileName?Mk?java/lang/String?formatK(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;??
??"java/lang/IllegalArgumentException?
?HtmpFile?M
K?spawnNativePluginController=(Ljava/nio/file/Path;Ljava/nio/file/Path;)Ljava/lang/Process;??
?java/util/List?add(Ljava/lang/Object;)Z????"q?
addSuppressed(Ljava/lang/Throwable;)V??
>?messageLjava/lang/String;info(Lcom/groupbyinc/flux/plugins/PluginInfo;	spawnPathLjava/nio/file/Path;processLjava/lang/Process;pluginstream5Ljava/nio/file/DirectoryStream;Ljava/nio/file/DirectoryStream;environment%Lcom/groupbyinc/flux/env/Environment;7com/groupbyinc/flux/common/apache/lucene/util/Constants?WINDOWSZ??	??kh%com/groupbyinc/flux/bootstrap/Natives?getShortPathName&(Ljava/lang/String;)Ljava/lang/String;??
??java/lang/ProcessBuilder?([Ljava/lang/String;)V?
??()Ljava/util/Map;??
??
java/util/Map?clear???TMPDIR?put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;????start()Ljava/lang/Process;??
??commandtmpPathpbLjava/lang/ProcessBuilder;getProcesses()Ljava/util/List;java/util/Collections?unmodifiableList"(Ljava/util/List;)Ljava/util/List;??
??()Ljava/util/stream/Stream;????&(Ljava/lang/Object;)Ljava/lang/Object;?
lambda$null$0((Ljava/lang/Process;)Ljava/io/Closeable;??
???apply()Ljava/util/function/Function;java/util/stream/Streammap8(Ljava/util/function/Function;)Ljava/util/stream/Stream;rgetClass()Ljava/lang/Class;

java/lang/Processdestroy
"?s	SignatureCodeLocalVariableTableLineNumberTable
ExceptionsLocalVariableTypeTable
StackMapTable'()Ljava/util/List;BootstrapMethods
SourceFileInnerClasses0
M*?*?Y??*?Y??? !+01"8
*?5?:?
 !
5	6$;<?(*??B?
?DYF?I?+?OM,?Q?W?#?DY?YY?Z\?`,?ce?`?i?I?,?oN:-?s:?y?q?}?k:??:??:?Q?????????%????Y??S??:	??Y	???*+????:	*?	??W???-?X?-???J:???>-???5::?:
-?#?-???:???	-??
?????>N??>N??	>??\	?
??	sX??zQ?????	l_??K???( !(??
L?K???b?@BC&DFJNKlLsMzN?O?Q?R?U?R?V?X?Y?Z?[?\?J?\']x?/k?q>u?2kk)?Kkq>Q>H>H>?Kkq>>>?Kk$???N?ʙ+????N?
+??N??Y??Y-S??:?ٹ????,????W??>??N !N??N??4??+#??hrtv+y5zH}	??$??2*???? !? .,C*?????	?
? !5
??6*Y?W???5! +-1-+???+"#
	




© 2015 - 2025 Weber Informatics LLC | Privacy Policy