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

com.groupbyinc.flux.common.settings.SettingsModule.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????4?2com/groupbyinc/flux/common/settings/SettingsModulejava/lang/Object(com/groupbyinc/flux/common/inject/ModuleSettingsModule.java8com/groupbyinc/flux/common/xcontent/ToXContent$MapParams.com/groupbyinc/flux/common/xcontent/ToXContent
	MapParams5com/groupbyinc/flux/common/xcontent/ToXContent$Params
Params%java/lang/invoke/MethodHandles$Lookupjava/lang/invoke/MethodHandlesLookupsettings.Lcom/groupbyinc/flux/common/settings/Settings;settingsFilterPatternLjava/util/Set;#Ljava/util/Set;nodeSettingsLjava/util/Map;SLjava/util/Map;>;
indexSettingslogger!Lorg/apache/logging/log4j/Logger;indexScopedSettings9Lcom/groupbyinc/flux/common/settings/IndexScopedSettings;clusterSettings5Lcom/groupbyinc/flux/common/settings/ClusterSettings;settingsFilter4Lcom/groupbyinc/flux/common/settings/SettingsFilter;_(Lcom/groupbyinc/flux/common/settings/Settings;[Lcom/groupbyinc/flux/common/settings/Setting;)Vjava/util/Arrays(asList%([Ljava/lang/Object;)Ljava/util/List;*+
),java/util/Collections.	emptyList()Ljava/util/List;01
/2Q(Lcom/groupbyinc/flux/common/settings/Settings;Ljava/util/List;Ljava/util/List;)V&4
5this4Lcom/groupbyinc/flux/common/settings/SettingsModule;additionalSettings1[Lcom/groupbyinc/flux/common/settings/Setting<*>;.[Lcom/groupbyinc/flux/common/settings/Setting;java/lang/Throwable<java/io/IOException>()V&@
Ajava/util/HashSetC
DA	Fjava/util/HashMapH
IA	K	MgetClass()Ljava/lang/Class;OP
Qjava/lang/StringS*com/groupbyinc/flux/common/logging/LoggersU	getLoggeru(Ljava/lang/Class;Lcom/groupbyinc/flux/common/settings/Settings;[Ljava/lang/String;)Lorg/apache/logging/log4j/Logger;WX
VY	[	]3com/groupbyinc/flux/common/settings/ClusterSettings_BUILT_IN_CLUSTER_SETTINGSa	`b
java/util/Setditerator()Ljava/util/Iterator;fgeh,com/groupbyinc/flux/common/settings/Settingsjjava/util/Listljava/util/IteratornhasNext()Zpqornext()Ljava/lang/Object;tuov+com/groupbyinc/flux/common/settings/SettingxregisterSetting0(Lcom/groupbyinc/flux/common/settings/Setting;)Vz{
|7com/groupbyinc/flux/common/settings/IndexScopedSettings~BUILT_IN_INDEX_SETTINGS?	?mhregisterSettingsFilter(Ljava/lang/String;)V??
?
java/util/Map?values()Ljava/util/Collection;????(Ljava/util/Collection;)V&?
D?@(Lcom/groupbyinc/flux/common/settings/Settings;Ljava/util/Set;)V&?
? !	?
`?"#	?"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/lang/Object;)Z?lambda$new$0(Ljava/lang/String;)Z??
???testT(Lcom/groupbyinc/flux/common/settings/SettingsModule;)Ljava/util/function/Predicate;???filterN(Ljava/util/function/Predicate;)Lcom/groupbyinc/flux/common/settings/Settings;??
k?isEmpty?q
k?java/util/stream/IntStream?range (II)Ljava/util/stream/IntStream;????(I)Ljava/lang/Object;?lambda$new$1(I)Ljava/lang/String;??
???apply"()Ljava/util/function/IntFunction;???mapToObj;(Ljava/util/function/IntFunction;)Ljava/util/stream/Stream;?????java/util/stream/Collectors?joining6(Ljava/lang/CharSequence;)Ljava/util/stream/Collector;??
??java/util/stream/Stream?collect0(Ljava/util/stream/Collector;)Ljava/lang/Object;????trim()Ljava/lang/String;??
T?java/lang/StringBuilder?
?Ajava/lang/System?
lineSeparator??
??append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??7Found index level settings on node level configuration.??Since elasticsearch 5.x index level settings can NOT be set on the nodes configuration like the elasticsearch.yaml, in system properties or command line arguments.In order to upgrade all indices the settings must be updated via the /${index}/_settings API. Unless all settings are dynamic all indices must be closed in order to apply the upgradeIndices created in the future should use index templates to set default values.? ?split'(Ljava/lang/String;)[Ljava/lang/String;??
T?[Ljava/lang/String;?length()I??
T?KPlease ensure all required values are updated on all indices by executing: ?Mcurl -XPUT 'http://localhost:9200/_all/_settings?preserve_existing=true' -d '?0com/groupbyinc/flux/common/xcontent/XContentType?JSON2Lcom/groupbyinc/flux/common/xcontent/XContentType;??	??xContent0()Lcom/groupbyinc/flux/common/xcontent/XContent;
?3com/groupbyinc/flux/common/xcontent/XContentBuilderbuildere(Lcom/groupbyinc/flux/common/xcontent/XContent;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;
	prettyPrint7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;

startObject

flat_settingstruesingletonMap5(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Map;
/(Ljava/util/Map;)V&
	
toXContent?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;
k	endObject!
""com/groupbyinc/flux/common/Strings$toStringI(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;)Ljava/lang/String;&'
%(close*@
+
addSuppressed(Ljava/lang/Throwable;)V-.
=/'1&?
?3org/apache/logging/log4j/Logger5warn7?68"java/lang/IllegalArgumentException:7node settings must not contain any index level settings<&?
;>java/lang/RuntimeException@&.
ABvalidate2(Lcom/groupbyinc/flux/common/settings/Settings;Z)VDE
`F2com/groupbyinc/flux/common/settings/SettingsFilterHG(Lcom/groupbyinc/flux/common/settings/Settings;Ljava/util/Collection;)V&J
IK$%	Msetting0Lcom/groupbyinc/flux/common/settings/Setting<*>;-Lcom/groupbyinc/flux/common/settings/Setting;Ljava/lang/String;wordxContentBuilder5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;	separatorLjava/lang/StringBuilder;countIeLjava/io/IOException;BLjava/util/List;>;Ljava/util/List;$Ljava/util/List;	configure-(Lcom/groupbyinc/flux/common/inject/Binder;)V(com/groupbyinc/flux/common/inject/BinderabindU(Ljava/lang/Class;)Lcom/groupbyinc/flux/common/inject/binder/AnnotatedBindingBuilder;cdbe@com/groupbyinc/flux/common/inject/binder/AnnotatedBindingBuilderg
toInstance(Ljava/lang/Object;)Vijhkbinder*Lcom/groupbyinc/flux/common/inject/Binder;
isFilteredoq
ypgetKeyr?
yscontainsu?evhasNodeScopexq
yy
hasIndexScope{q
y|get&(Ljava/lang/Object;)Ljava/lang/Object;~??Cannot register setting [?] twice?put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;????No scope found for setting [?]?existingSettingisValidPattern??
I?filter [?4] is invalid must be either a key or a regex pattern?] has already been registered?add??e?getSettings0()Lcom/groupbyinc/flux/common/settings/Settings;getIndexScopedSettings;()Lcom/groupbyinc/flux/common/settings/IndexScopedSettings;getClusterSettings7()Lcom/groupbyinc/flux/common/settings/ClusterSettings;getSettingsFilter6()Lcom/groupbyinc/flux/common/settings/SettingsFilter;*?sindex.?
startsWith??
T?!index.query.bool.max_clause_count?equals??
T?A(Ljava/lang/String;)Lcom/groupbyinc/flux/common/settings/Setting;~?
`?	SignatureCodeLocalVariableTableLocalVariableTypeTableLineNumberTableb(Lcom/groupbyinc/flux/common/settings/Settings;[Lcom/groupbyinc/flux/common/settings/Setting<*>;)V
StackMapTable?(Lcom/groupbyinc/flux/common/settings/Settings;Ljava/util/List;>;Ljava/util/List;)V3(Lcom/groupbyinc/flux/common/settings/Setting<*>;)VBootstrapMethods
SourceFileInnerClasses!??? !"#$%?&'?a
*+,?-?3?6?? 
78

9;?
9:?
9:??&4?G*?B*?DY?E?G*?IY?J?L*?IY?J?N**?R+?T?Z?\*+?^?c?i:?s??w?y:*?}?????i:?s??w?y:*?}???,??:?s??w?y:*?}???-??:?s??w?T:*?????*?Y+?DY*?N????????*?`Y+?DY*?L????????+*????:????U??????ʸй??T??:??Y??:???W??W???W??W???W???W6???:?6	6

	?B
2:??`U????W6??``6????W?
??????W???W???W???W???W???W???
::	?W?W?	Y??? W?#W?)??W?U	??,?H:
	
?0?<?,?4:

:	
?:?!	??,?:
	
?0??,?2??W???W??W???W*?\?4?9?;Y=???:?AY?C?*??+?G*?IY+*?G?L?N?`eh=!V|=!V????=|??&?????ZOQ?OQ?OQ??R?2SR?TUH?VRQ?W?aXY?
Z[789]$]??4ZOP?OP?OP9\$^?
B<012%=5>:?Z@`AcB?C?D?F?G?H?J?K?L?M?NOU&WHXQYZZb[k\s]|^?_?`?e?`?f?g?h?j?k?`?n?o?p?qrst!u'v-wExKyVz|t?z?{?|?}?~???????????????Dkmmo??	o??o??o???kmmkT???&T?kmmkT???
kmmkT?==G=H=?
kmmkT?===?kmmkT??;kmmk???_`??F+k?f*?^?l+I?f*?N?l+`?f*???l+?f*???l??F78Fmn???#?4?E?z{???+?q?*?G+?t?w?*+?t??+?z?
+?}??+?z?L*?L+?t???yM,?(?;Y??Y?????+?t?????4???*?L+?t+??W+?}?t*?N+?t???yM,?(?;Y??Y?????+?t?????4???*?N+?t+??W?(?;Y??Y?????+?t?????4?????*E8?Q?8?Q?78?OQ? E8?P?8?P?OP?F????-?4?E?I?n?}????????????????
?@y??@y?$??????d+???%?;Y??Y?????+?????4???*?G+?w?%?;Y??Y?????+?????4???*?G+??W??d78d?R???)?6?X?c??).???/*?^??78?????/*????78?????/*????78?????/*?N??78??
???.????Y?W???p%+?????+???*??+??????%78%?R?OST$O?#@???????????			




© 2015 - 2024 Weber Informatics LLC | Privacy Policy