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

com.groupbyinc.flux.env.Environment.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????4?#com/groupbyinc/flux/env/Environmentjava/lang/ObjectEnvironment.java.Lcom/groupbyinc/flux/common/SuppressForbidden;reasonconfigures paths for the system4com/groupbyinc/flux/common/settings/Settings$Builder	,com/groupbyinc/flux/common/settings/SettingsBuilder4com/groupbyinc/flux/common/settings/Setting$Property+com/groupbyinc/flux/common/settings/SettingPropertyEMPTY_PATH_ARRAY[Ljava/nio/file/Path;PATH_HOME_SETTING-Lcom/groupbyinc/flux/common/settings/Setting;ALcom/groupbyinc/flux/common/settings/Setting;PATH_DATA_SETTINGSLcom/groupbyinc/flux/common/settings/Setting;>;PATH_LOGS_SETTINGPATH_REPO_SETTINGPATH_SHARED_DATA_SETTINGPIDFILE_SETTINGsettings.Lcom/groupbyinc/flux/common/settings/Settings;	dataFilesdataWithClusterFiles	repoFiles
configFileLjava/nio/file/Path;pluginsFilemodulesFilesharedDataFilebinFilelibFilelogsFilepidFiletmpFile$assertionsDisabledZE(Lcom/groupbyinc/flux/common/settings/Settings;Ljava/nio/file/Path;)Vjava.io.tmpdir1java/lang/System3getProperty&(Ljava/lang/String;)Ljava/lang/String;56
47java/lang/String9'com/groupbyinc/flux/common/io/PathUtils;get;(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;=>
<?Y(Lcom/groupbyinc/flux/common/settings/Settings;Ljava/nio/file/Path;Ljava/nio/file/Path;)V/A
Bthis%Lcom/groupbyinc/flux/env/Environment;
configPath()V/G
H	Jexists1(Lcom/groupbyinc/flux/common/settings/Settings;)ZLM
NB(Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/lang/Object;=P
Qjava/nio/file/PathS	normalize()Ljava/nio/file/Path;UVTWjava/lang/IllegalStateExceptionYjava/lang/StringBuilder[
\HgetKey()Ljava/lang/String;^_
`append-(Ljava/lang/String;)Ljava/lang/StringBuilder;bc
\d is not configuredftoStringh_
\i(Ljava/lang/String;)V/k
Zl#$	nconfigpresolve((Ljava/lang/String;)Ljava/nio/file/Path;rsTtjava/util/ObjectsvrequireNonNull&(Ljava/lang/Object;)Ljava/lang/Object;xy
wz,$	|plugins~%$	?	?java/util/List?'com/groupbyinc/flux/cluster/ClusterName?CLUSTER_NAME_SETTING?	??.com/groupbyinc/flux/cluster/node/DiscoveryNode?nodeRequiresLocalStorage?M
??isEmpty()Z????size()I???? 	?!	?(I)Ljava/lang/Object;=???value?_
??data?	?,?join@(Ljava/lang/CharSequence;Ljava/lang/Iterable;)Ljava/lang/String;??
:?=node does not require local storage yet path.data is set to [?]?	?'$	?	?"	?	?*$	?logs?	?+$	?bin?($	?lib?)$	?modules?&$	?builder8()Lcom/groupbyinc/flux/common/settings/Settings$Builder;??
?putf(Lcom/groupbyinc/flux/common/settings/Settings;)Lcom/groupbyinc/flux/common/settings/Settings$Builder;??

?^(Ljava/lang/String;Ljava/nio/file/Path;)Lcom/groupbyinc/flux/common/settings/Settings$Builder;??

?putListZ(Ljava/lang/String;Ljava/util/List;)Lcom/groupbyinc/flux/common/settings/Settings$Builder;??

?Ti\(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/settings/Settings$Builder;??

?build0()Lcom/groupbyinc/flux/common/settings/Settings;??

?	?homeFileiIpathsLjava/lang/String;tmpPath	dataPaths$Ljava/util/List;Ljava/util/List;clusterName)Lcom/groupbyinc/flux/cluster/ClusterName;	repoPaths
finalSettings6Lcom/groupbyinc/flux/common/settings/Settings$Builder;()[Ljava/nio/file/Path;Ljava/lang/Deprecated;resolveRepoFile=([Ljava/nio/file/Path;Ljava/lang/String;)Ljava/nio/file/Path;=?
<?locationresolveRepoURL(Ljava/net/URL;)Ljava/net/URL;java/net/MalformedURLException?java/net/URISyntaxExceptionfilejava/net/URLgetProtocol_
equalsIgnoreCase(Ljava/lang/String;)Z	

:getHost
_
equals(Ljava/lang/Object;)Z
:toURI()Ljava/net/URI;
9([Ljava/nio/file/Path;Ljava/net/URI;)Ljava/nio/file/Path;=
<toUriTjava/net/URI toURL()Ljava/net/URL;"#
!$jar&getFile(_
)!/+indexOf(Ljava/lang/String;)I-.
:/	substring(I)Ljava/lang/String;12
:3(II)Ljava/lang/String;15
:6
l??
9toExternalForm;_
<9(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V/>
?pathposjarTailfilePathinternalUrlLjava/net/URL;
normalizedUrlex Ljava/net/MalformedURLException;Ljava/net/URISyntaxException;urlvalidateTmpFilejava/io/IOExceptionMjava/nio/file/LinkOptionOjava/nio/file/FilesQ2(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)ZLS
RTjava/io/FileNotFoundExceptionVTemporary file directory [X-(Ljava/lang/Object;)Ljava/lang/StringBuilder;bZ
\[%] does not exist or is not accessible]
WlisDirectory`S
Ra%Configured temporary file directory [c] is not a directorye
NlgetFileStore/(Ljava/nio/file/Path;)Ljava/nio/file/FileStore;#com/groupbyinc/flux/env/ESFileStorejhi
Rl(Ljava/nio/file/FileStore;)V/n
koassertEquivalentM(Lcom/groupbyinc/flux/env/Environment;Lcom/groupbyinc/flux/env/Environment;)V!?
s!assertEquals9(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/String;)Vvw
x"?
z"#V
}#%V
?%(V
?()V
?)&V
?&*V
?*+V
?+,V
?,actualexpected-.	?
deepEquals'(Ljava/lang/Object;Ljava/lang/Object;)Z??
w?java/lang/AssertionError?actual ? [?] is different than [ ?(Ljava/lang/Object;)V/?
??Ljava/lang/Object;namejava/lang/Class?desiredAssertionStatus??
??	path.home?	NodeScope6Lcom/groupbyinc/flux/common/settings/Setting$Property;??	?simpleStringx(Ljava/lang/String;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting;??
?	path.data?java/util/Collections?	emptyList()Ljava/util/List;??
??java/util/function/Function?identity()Ljava/util/function/Function;????listSetting?(Ljava/lang/String;Ljava/util/List;Ljava/util/function/Function;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting;??
?	path.logs?{(Ljava/lang/String;Ljava/lang/String;Ljava/util/function/Function;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)V/?
?	path.repo?path.shared_data?pidfile?	SignatureCodeLocalVariableTableLineNumberTableLocalVariableTypeTable
StackMapTable
DeprecatedRuntimeVisibleAnnotations
Exceptions
SourceFileInnerClassesRuntimeInvisibleAnnotations!?????? !"#$%$&$'$($)$*$+$,$-./0?U*+,2?8?:?@?C?? DEF$?
^_/A??	?*?I?K+?O??K+?R?:?:?@?X:?#?ZY?\Y?]?K?a?eg?e?j?m?,?*,?X?o?*q?u?o*-?{?T?}*?u????+?R??:??+?R??:+???????i*???T??*???T??6???;*?????:?:?@S*??*??2???uS?????{*?TY??uS??*?TY??u???uS???F???**??Z?????-???:?ZY?\Y?]??e?e??e?j?m???+?O? *??+?R?:?:?@?X???*????+?R??:???
*?????@*???T??6???#*?????:?:?@S???ײ?+?O? *??+?R?:?:?@?X???*??u????+?O? *??+?R?:?:?@?X???*??*ùu??*ǹu??*˹u?͸?+??:?K?a??W??+?O????a??W???a*??????W*?????
&?$?D??e!???,???DE??F$??$I??$?Y???M???&???E????Y???&????3bde)gIjMkZmgprrt?u?v?w?x?y?z?{?|z"?C?M?\?e???????????????????	???6?C?M?j?o?|??????????????????G?)TT?T?_???C4)&????+&&?U
??/*???DE?? ??/*????DE??'V?/*????DE??!??/*????DE?????"??/*????DE???s?=	*??+????	DE	???????[?+???5+??+???*??+??M,??,??%??'+???d+?*M,,?0>??,?4:,?7:?Y?8:*?::???Y'?\Y?]?=?e?e?j?@??M?M?2??3<??=>???^??_???????????2?3<?=>??^?_?????????p-A$Q\?YTB?fGC?n?D?y4EF?,GF?HI?HJ?DE?KF?b?
?!?-?1?3?=???L?Q?Y?]?_?f?n?y?????	???
?F	!?T?	?:?(:::?$A?B#V?/*?o??DE?%V?/*????DE?(V?/*?Ű?DE?)V?/*?ɰ?DE?"&V?/*?Ͱ?DE?&*V?/*????DE?*+V?/*????DE?1,V?/*?}??DE?6LG??g*?}?P?U?(?WY?\Y?]Y?e*?}?\^?e?j?_?*?}?P?b?(?NY?\Y?]d?e*?}?\f?e?j?g???gDE?;<3>A?fA?32?N	hi?6?kY*?m?p??A$?D?N	qr???*?t+?tu?y*?{+?{|?y*?~+?~?y*??+????y*??+????y*??+????y*??+????y*??+????y*??+????y*??+????y????E??E?.LMN*O8PFQTRbSpT~U?V
vw??D???@*+???8??Y?\Y?]??e,?e??e*?\??e+?\??e?j????? D??D??D???
YCZ??C?G??	????????T????Y??S???K??????Y??S?˳??Y????Y??S?г?Ҹ????Y??S?˳???Y??S??????Y??S??????..35*6-7C8M9`:c;y<?=?@??

	@?s




© 2015 - 2024 Weber Informatics LLC | Privacy Policy