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

com.groupbyinc.flux.cluster.metadata.MetaDataUpdateSettingsService.class Maven / Gradle / Ivy

There is a newer version: 59
Show newest version
????3?Bcom/groupbyinc/flux/cluster/metadata/MetaDataUpdateSettingsService6com/groupbyinc/flux/common/component/AbstractComponent0com/groupbyinc/flux/cluster/ClusterStateListener"MetaDataUpdateSettingsService.javaDcom/groupbyinc/flux/cluster/metadata/MetaDataUpdateSettingsService$3Dcom/groupbyinc/flux/cluster/metadata/MetaDataUpdateSettingsService$2
Dcom/groupbyinc/flux/cluster/metadata/MetaDataUpdateSettingsService$1java/util/Map$Entry
java/util/MapEntry4com/groupbyinc/flux/common/settings/Settings$Builder,com/groupbyinc/flux/common/settings/SettingsBuilderALL_NODES_VALUELjava/lang/String;allclusterService,Lcom/groupbyinc/flux/cluster/ClusterService;allocationServiceBLcom/groupbyinc/flux/cluster/routing/allocation/AllocationService;dynamicSettings6Lcom/groupbyinc/flux/cluster/settings/DynamicSettings;indexNameExpressionResolverBLcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver;(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/cluster/ClusterService;Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationService;Lcom/groupbyinc/flux/cluster/settings/DynamicSettings;Lcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver;)V*Lcom/groupbyinc/flux/common/inject/Inject;9Lcom/groupbyinc/flux/index/settings/IndexDynamicSettings;1(Lcom/groupbyinc/flux/common/settings/Settings;)V$(
)	+"#	-*com/groupbyinc/flux/cluster/ClusterService/add5(Lcom/groupbyinc/flux/cluster/ClusterStateListener;)V1203	5 !	7thisDLcom/groupbyinc/flux/cluster/metadata/MetaDataUpdateSettingsService;settings.Lcom/groupbyinc/flux/common/settings/Settings;clusterChanged4(Lcom/groupbyinc/flux/cluster/ClusterChangedEvent;)Vjava/lang/NumberFormatException?java/lang/ExceptionA/com/groupbyinc/flux/cluster/ClusterChangedEventCstate,()Lcom/groupbyinc/flux/cluster/ClusterState;EF
DG(com/groupbyinc/flux/cluster/ClusterStateInodes3()Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes;KL
JM/com/groupbyinc/flux/cluster/node/DiscoveryNodesOlocalNodeMaster()ZQR
PS	dataNodes7()Lcom/groupbyinc/flux/common/collect/ImmutableOpenMap;UV
PW3com/groupbyinc/flux/common/collect/ImmutableOpenMapYsize()I[\
Z]java/util/HashMap_()V$a
`bmetaData1()Lcom/groupbyinc/flux/cluster/metadata/MetaData;de
Jf-com/groupbyinc/flux/cluster/metadata/MetaDatahiteratorI()Lcom/groupbyinc/flux/common/google/common/collect/UnmodifiableIterator;jk
iljava/util/IteratornhasNextpRoqnext()Ljava/lang/Object;stou2com/groupbyinc/flux/cluster/metadata/IndexMetaDatawgetSettings0()Lcom/groupbyinc/flux/common/settings/Settings;yz
x{index.auto_expand_replicas}get&(Ljava/lang/String;)Ljava/lang/String;?
?#com/groupbyinc/flux/common/Booleans?parseBoolean(Ljava/lang/String;Z)Z??
??java/lang/String?indexOf(I)I??
??logger-Lcom/groupbyinc/flux/common/logging/ESLogger;??	?Cfailed to set [{}] for index [{}], it should be dash delimited [{}]?java/lang/Object?getIndex()Ljava/lang/String;??
x?+com/groupbyinc/flux/common/logging/ESLogger?warn((Ljava/lang/String;[Ljava/lang/Object;)V????	substring(II)Ljava/lang/String;??
??java/lang/Integer?parseInt(Ljava/lang/String;)I??
??Efailed to set [{}] for index [{}], minimum value is not a number [{}]?=(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V????(I)Ljava/lang/String;??
??equals(Ljava/lang/Object;)Z??
??Rfailed to set [{}] for index [{}], maximum value is neither [{}] nor a number [{}]?getNumberOfReplicas?\
x?valueOf(I)Ljava/lang/Integer;??
??containsKey???java/util/ArrayList?
?bput8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;???&(Ljava/lang/Object;)Ljava/lang/Object;??java/util/List?1???)[{}] failed to parse auto expand replicas?]keySet()Ljava/util/Set;???
java/util/Set?()Ljava/util/Iterator;j???settingsBuilder8()Lcom/groupbyinc/flux/common/settings/Settings$Builder;??
?index.number_of_replicas?intValue?\
??K(Ljava/lang/String;I)Lcom/groupbyinc/flux/common/settings/Settings$Builder;??
?build?z
?]com/groupbyinc/flux/action/admin/indices/settings/put/UpdateSettingsClusterStateUpdateRequest?
?b?]toArray(([Ljava/lang/Object;)[Ljava/lang/Object;????[Ljava/lang/String;?indicesW([Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/ack/IndicesClusterStateUpdateRequest;??
???(Lcom/groupbyinc/flux/common/settings/Settings;)Lcom/groupbyinc/flux/action/admin/indices/settings/put/UpdateSettingsClusterStateUpdateRequest;;?
??)com/groupbyinc/flux/common/unit/TimeValue?timeValueMillis.(J)Lcom/groupbyinc/flux/common/unit/TimeValue;?
?
ackTimeouth(Lcom/groupbyinc/flux/common/unit/TimeValue;)Lcom/groupbyinc/flux/cluster/ack/ClusterStateUpdateRequest;
?
timeValueMinutes	
?
masterNodeTimeout
?
j(Lcom/groupbyinc/flux/cluster/metadata/MetaDataUpdateSettingsService;Ljava/util/List;Ljava/lang/Integer;)V$

updateSettings?(Lcom/groupbyinc/flux/action/admin/indices/settings/put/UpdateSettingsClusterStateUpdateRequest;Lcom/groupbyinc/flux/action/ActionListener;)V
minIe!Ljava/lang/NumberFormatException;maxdashsMinsMaxnumberOfReplicasLjava/lang/Exception;autoExpandReplicas
indexMetaData4Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;$Ljava/util/List;Ljava/util/List;
updateRequest_Lcom/groupbyinc/flux/action/admin/indices/settings/put/UpdateSettingsClusterStateUpdateRequest;fNumberOfReplicasLjava/lang/Integer;event1Lcom/groupbyinc/flux/cluster/ClusterChangedEvent;
dataNodeCountnrReplicasChangedHLjava/util/Map;>;Ljava/util/Map;;z
?/f(Lcom/groupbyinc/flux/common/settings/Settings;)Lcom/groupbyinc/flux/common/settings/Settings$Builder;?1
2index.4normalizePrefixJ(Ljava/lang/String;)Lcom/groupbyinc/flux/common/settings/Settings$Builder;67
8internalMap()Ljava/util/Map;:;
<index.number_of_shards>"java/lang/IllegalArgumentException@.can't change the number of shards for an indexB(Ljava/lang/String;)V$D
AE)com/groupbyinc/flux/action/ActionListenerG	onFailure(Ljava/lang/Throwable;)VIJHK5com/groupbyinc/flux/common/google/common/collect/SetsM
newHashSet()Ljava/util/HashSet;OP
NQentrySetS?TgetKeyVtW4com/groupbyinc/flux/cluster/settings/DynamicSettingsYhasDynamicSetting(Ljava/lang/String;)Z[\
Z]??getValue`ta0GvalidateDynamicSettingb(Ljava/lang/String;Ljava/lang/String;Lcom/groupbyinc/flux/cluster/ClusterState;)Ljava/lang/String;de
Zfjava/lang/StringBuilderh
ib[kappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;mn
io] - qtoStrings?
itisEmptyvR?wcan't process the settings: y
?tremove|?
}update-settings#com/groupbyinc/flux/common/Priority?URGENT%Lcom/groupbyinc/flux/common/Priority;??	???(Lcom/groupbyinc/flux/cluster/metadata/MetaDataUpdateSettingsService;Lcom/groupbyinc/flux/common/Priority;Lcom/groupbyinc/flux/cluster/ack/AckedRequest;Lcom/groupbyinc/flux/action/ActionListener;Lcom/groupbyinc/flux/action/admin/indices/settings/put/UpdateSettingsClusterStateUpdateRequest;Lcom/groupbyinc/flux/common/settings/Settings;Ljava/util/Set;Lcom/groupbyinc/flux/common/settings/Settings;)V$?
?submitStateUpdateTaskI(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/ClusterStateUpdateTask;)V??0?keyerrorsetting;Ljava/util/Map$Entry;Ljava/util/Map$Entry;removedSettingrequestlisteneriLcom/groupbyinc/flux/action/ActionListener;+Lcom/groupbyinc/flux/action/ActionListener;updatedSettingsBuilder6Lcom/groupbyinc/flux/common/settings/Settings$Builder;
closeSettingsremovedSettings#Ljava/util/Set;Ljava/util/Set;errorsopenSettingsupgradeIndexSettings?(Lcom/groupbyinc/flux/action/admin/indices/upgrade/post/UpgradeSettingsClusterStateUpdateRequest;Lcom/groupbyinc/flux/action/ActionListener;)V#update-index-compatibility-versions?%(Lcom/groupbyinc/flux/cluster/metadata/MetaDataUpdateSettingsService;Lcom/groupbyinc/flux/common/Priority;Lcom/groupbyinc/flux/cluster/ack/AckedRequest;Lcom/groupbyinc/flux/action/ActionListener;Lcom/groupbyinc/flux/action/admin/indices/upgrade/post/UpgradeSettingsClusterStateUpdateRequest;)V$?
	?`Lcom/groupbyinc/flux/action/admin/indices/upgrade/post/UpgradeSettingsClusterStateUpdateRequest;
access$000s(Lcom/groupbyinc/flux/cluster/metadata/MetaDataUpdateSettingsService;)Lcom/groupbyinc/flux/common/logging/ESLogger;x0
access$100
access$200?(Lcom/groupbyinc/flux/cluster/metadata/MetaDataUpdateSettingsService;)Lcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver;
access$300
access$400?(Lcom/groupbyinc/flux/cluster/metadata/MetaDataUpdateSettingsService;)Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationService;
ConstantValueCodeLocalVariableTableLineNumberTableRuntimeVisibleAnnotations"RuntimeVisibleParameterAnnotationsLocalVariableTypeTable
StackMapTable	Signature?(Lcom/groupbyinc/flux/action/admin/indices/settings/put/UpdateSettingsClusterStateUpdateRequest;Lcom/groupbyinc/flux/action/ActionListener;)V?(Lcom/groupbyinc/flux/action/admin/indices/upgrade/post/UpgradeSettingsClusterStateUpdateRequest;Lcom/groupbyinc/flux/action/ActionListener;)V
SourceFileInnerClasses!? !"#	$%??&*+?**,?,*?.*?,*?4*-?6*?8??>&9:&;<&&& !&"#?BC
DEFG%H?&?'=>?

V+?H?N?T??+?H?N?X?^=?`Y?cN+?H?g?m:?r???v?x:?|~??:?`???W-??6?'*?????Y~SY??SYS???????:??6	?+:
*???
??Y~SY??SYS????d`??:

???d6?:
??6?0:*?????Y~SY??SYSY
S????d6	?
	6??6??????	?D?=-?????-????Y?Ź?W-??????????W?:	*???	??Y??S????|-????-????:?r???v??:???????:-????:	??Y??		??????????????	????????:*?
Y*	????{????@???@`??B???B? ?B#K?BN??B???	?&
???+??	#si-????
(n?	Rb Fn!"?];<P?$	@%&?o'(V9:V)*:+$2,.?P?#	$2,-??9M
NQS$VFWRX`]i^o_?`?_?a?c?e?j?f?g?h?g?i?k?l?m?p?u?q?r
sr t#x(y/z6{=|A?K?N?\?j?}??????????????????
?)?5?@?R?U??~?!o?bx??	Dox??@?'??I@?,?
.?Dox?BB???o???
???N-+?0?35?9W-?=????:?r?.?v??:????,?AYC?F?L????-??:?R:?R:-?=?U??:?r???v?:*?8?X???^??X?_W?^*?8?X???b??*?,?c?g:		?3?iY?jl?p?X???pr?p	?p?u?_W??i?x?),?AY?iY?jz?p?{?p?u?F?L??x?,??:?r??v??:-?~W???-??:*?,??Y*??+,+??????z9??5?	????k??9:??&??????^>?<c9??h4??{!?<?*???????c9??h4???n???9?D?T?U?X?^?c?h??????????????A?B?L?k?r?u?{??D?D
?#o1???H??o?;?Z?/?o??????o	*?,??	Y*??+,+?????? 9:????????
Ie?????/*?????:?3???/*?????:?3???/*?.???:?3???/*?????:?3???/*?6???:?3??*	
		




© 2015 - 2025 Weber Informatics LLC | Privacy Policy