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

com.groupbyinc.flux.cluster.routing.allocation.decider.EnableAllocationDecider.class Maven / Gradle / Ivy

There is a newer version: 129
Show newest version
????4TNcom/groupbyinc/flux/cluster/routing/allocation/decider/EnableAllocationDeciderHcom/groupbyinc/flux/cluster/routing/allocation/decider/AllocationDeciderEnableAllocationDecider.javaPcom/groupbyinc/flux/cluster/routing/allocation/decider/EnableAllocationDecider$1Xcom/groupbyinc/flux/cluster/routing/allocation/decider/EnableAllocationDecider$Rebalance	RebalanceYcom/groupbyinc/flux/cluster/routing/allocation/decider/EnableAllocationDecider$Allocation
Allocation4com/groupbyinc/flux/common/settings/Setting$Property+com/groupbyinc/flux/common/settings/SettingProperty7com/groupbyinc/flux/cluster/routing/RecoverySource$Type2com/groupbyinc/flux/cluster/routing/RecoverySourceType%java/lang/invoke/MethodHandles$Lookupjava/lang/invoke/MethodHandlesLookupNAMELjava/lang/String;enable)CLUSTER_ROUTING_ALLOCATION_ENABLE_SETTING-Lcom/groupbyinc/flux/common/settings/Setting;?Lcom/groupbyinc/flux/common/settings/Setting;'INDEX_ROUTING_ALLOCATION_ENABLE_SETTING(CLUSTER_ROUTING_REBALANCE_ENABLE_SETTING?Lcom/groupbyinc/flux/common/settings/Setting;&INDEX_ROUTING_REBALANCE_ENABLE_SETTINGenableRebalanceZLcom/groupbyinc/flux/cluster/routing/allocation/decider/EnableAllocationDecider$Rebalance;enableAllocation[Lcom/groupbyinc/flux/cluster/routing/allocation/decider/EnableAllocationDecider$Allocation;f(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/common/settings/ClusterSettings;)V1(Lcom/groupbyinc/flux/common/settings/Settings;)V,.
/!"	1getB(Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/lang/Object;34
5*+	7%"	9()	;"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;?@
>AB(Ljava/lang/Object;)VDsetEnableAllocation^(Lcom/groupbyinc/flux/cluster/routing/allocation/decider/EnableAllocationDecider$Allocation;)VFG
HIGaccepto(Lcom/groupbyinc/flux/cluster/routing/allocation/decider/EnableAllocationDecider;)Ljava/util/function/Consumer;LMN3com/groupbyinc/flux/common/settings/ClusterSettingsPaddSettingsUpdateConsumerM(Lcom/groupbyinc/flux/common/settings/Setting;Ljava/util/function/Consumer;)VRS
QTsetEnableRebalance](Lcom/groupbyinc/flux/cluster/routing/allocation/decider/EnableAllocationDecider$Rebalance;)VVW
XYWNthisPLcom/groupbyinc/flux/cluster/routing/allocation/decider/EnableAllocationDecider;settings.Lcom/groupbyinc/flux/common/settings/Settings;clusterSettings5Lcom/groupbyinc/flux/common/settings/ClusterSettings;canAllocate?(Lcom/groupbyinc/flux/cluster/routing/ShardRouting;Lcom/groupbyinc/flux/cluster/routing/RoutingNode;Lcom/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation;)Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision;@com/groupbyinc/flux/cluster/routing/allocation/RoutingAllocatione
ignoreDisable()Zgh
fi?com/groupbyinc/flux/cluster/routing/allocation/decider/DecisionkYESALcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision;mn	loeexplicitly ignoring any disabling of allocation due to manual allocation commands via the reroute APIqjava/lang/Objectsdecision?(Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision;uv
fwmetaData1()Lcom/groupbyinc/flux/cluster/metadata/MetaData;yz
f{0com/groupbyinc/flux/cluster/routing/ShardRouting}index#()Lcom/groupbyinc/flux/index/Index;?
~?-com/groupbyinc/flux/cluster/metadata/MetaData?getIndexSafeW(Lcom/groupbyinc/flux/index/Index;)Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;??
??$"	?2com/groupbyinc/flux/cluster/metadata/IndexMetaData?getSettings0()Lcom/groupbyinc/flux/common/settings/Settings;??
??exists1(Lcom/groupbyinc/flux/common/settings/Settings;)Z??
?b$SwitchMap$org$elasticsearch$cluster$routing$allocation$decider$EnableAllocationDecider$Allocation[I??	?ordinal()I??
?all allocations are allowed?NO?n	l?$no allocations are allowed due to {}?settingp(Lcom/groupbyinc/flux/cluster/routing/allocation/decider/EnableAllocationDecider$Allocation;Z)Ljava/lang/String;??
?primary?h
~?active?h
~?recoverySource6()Lcom/groupbyinc/flux/cluster/routing/RecoverySource;??
~?getType;()Lcom/groupbyinc/flux/cluster/routing/RecoverySource$Type;??
?EXISTING_STORE9Lcom/groupbyinc/flux/cluster/routing/RecoverySource$Type;??	?#new primary allocations are allowed?3non-new primary allocations are forbidden due to {}?primary allocations are allowed?+replica allocations are forbidden due to {}?java/lang/IllegalStateException?Unknown allocation option?(Ljava/lang/String;)V,?
??usedIndexSettingZshardRouting2Lcom/groupbyinc/flux/cluster/routing/ShardRouting;node1Lcom/groupbyinc/flux/cluster/routing/RoutingNode;
allocationBLcom/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation;
indexMetaData4Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;canRebalance?(Lcom/groupbyinc/flux/cluster/routing/ShardRouting;Lcom/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation;)Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision;=allocation is explicitly ignoring any disabling of relocation?'"	?,com/groupbyinc/flux/common/settings/Settings?a$SwitchMap$org$elasticsearch$cluster$routing$allocation$decider$EnableAllocationDecider$Rebalance??	?
	?all rebalancing is allowed?#no rebalancing is allowed due to %s?o(Lcom/groupbyinc/flux/cluster/routing/allocation/decider/EnableAllocationDecider$Rebalance;Z)Ljava/lang/String;??
?primary rebalancing is allowed?*replica rebalancing is forbidden due to %s?replica rebalancing is allowed?*primary rebalancing is forbidden due to %s?Unknown rebalance option?
indexSettingsjava/lang/StringBuilder?()V,?
??index setting [?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??getKey()Ljava/lang/String;??
?cluster setting [=toString?
java/util/LocaleROOTLjava/util/Locale;	
	java/lang/String
toLowerCase&(Ljava/util/Locale;)Ljava/lang/String;
]
?bufLjava/lang/StringBuilder;
		rebalance!cluster.routing.allocation.enableALL+	name ?
!&(Ljava/lang/Object;)Ljava/lang/Object;#parseo(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/routing/allocation/decider/EnableAllocationDecider$Allocation;%&
'(&apply()Ljava/util/function/Function;+,-Dynamic6Lcom/groupbyinc/flux/common/settings/Setting$Property;/0	1	NodeScope30	4{(Ljava/lang/String;Ljava/lang/String;Ljava/util/function/Function;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)V,6
7index.routing.allocation.enable9
IndexScope;0	< cluster.routing.rebalance.enable>)		@
	!n(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/routing/allocation/decider/EnableAllocationDecider$Rebalance;%C
	DEC-index.routing.rebalance.enableI
ConstantValue	SignatureCodeLocalVariableTableLineNumberTable
StackMapTableBootstrapMethods
SourceFileInnerClasses!K !"L#$"L#%"L&'"L&B()B*+,-M?<*+?0*?2+?6??8*?:+?6?	?<,?2*?O?U,?:*?\?U?N <]^<_`<abOSTU!V.W;XVWM>*+?*+?8?N]^*+O
_`cdM	"-?j?-?p r?t?x?-?|+????:????????????6?:6?*?8:6????.??.H?-?p ??t?x?-?? ??tY??S?x?+???'+??? +???????-?p ??t?x?-?? ??tY??S?x?+???-?p ??t?x?-?? ??tY??S?x???YŷȿN\	B+E??"]^"??"??"??$???N?+Q???O^dei$l2mBnHpNqQsxu?w?y?z?{?}?~?}?????????P
?0??&*??M?	
,?j?,?p ??t?x?,?|+??????N??-?????-?6?	:6?*?<:6????.?? 0J{,?p ??t?x?,?? ??tY??S?x?+???,?p ??t?x?,?? ??tY??S?x?+???,?p ??t?x?,?? ??tY??S?x???Y?ȿNR<)???
]^
??
??&??`H?)K???OZ???&?0?<?B?H?K?t????????????????????????P
?*??	(
??M?T??Y??M?,???W,??????W?,??W,?2????W,??*???????W,??N T?+T??LO"????!?)?4?O?P	?!?
??M?T??Y??M?,???W,?ض???W?,??W,?:????W,??*???????W,??N T)T??LO"????!?)?4?O?P	?!??M?	??Y??"?.?Y?2SY?5S?8?2?Y:??"?.?Y?2SY?=S?8???Y??A?B?H?Y?2SY?5S?8?:?YJ?A?B?H?Y?2SY?=S?8?رO&	A
B(D2EPHZIxK?L?KQ*CEJKCEZ[C$)*C$FGRS2	
@
@@@




© 2015 - 2025 Weber Informatics LLC | Privacy Policy