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

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

There is a newer version: 59
Show newest version
????3?Scom/groupbyinc/flux/cluster/routing/allocation/decider/ShardsLimitAllocationDeciderHcom/groupbyinc/flux/cluster/routing/allocation/decider/AllocationDecider!ShardsLimitAllocationDecider.javaacom/groupbyinc/flux/cluster/routing/allocation/decider/ShardsLimitAllocationDecider$ApplySettings
ApplySettings>com/groupbyinc/flux/node/settings/NodeSettingsService$Listener	5com/groupbyinc/flux/node/settings/NodeSettingsServiceListenerNAMELjava/lang/String;shards_limitclusterShardLimitIINDEX_TOTAL_SHARDS_PER_NODE.index.routing.allocation.total_shards_per_nodeCLUSTER_TOTAL_SHARDS_PER_NODE0cluster.routing.allocation.total_shards_per_nodeh(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/node/settings/NodeSettingsService;)V*Lcom/groupbyinc/flux/common/inject/Inject;1(Lcom/groupbyinc/flux/common/settings/Settings;)V
java/lang/Integer valueOf(I)Ljava/lang/Integer;"#
!$,com/groupbyinc/flux/common/settings/Settings&getAsInt:(Ljava/lang/String;Ljava/lang/Integer;)Ljava/lang/Integer;()
'*intValue()I,-
!.	0X(Lcom/groupbyinc/flux/cluster/routing/allocation/decider/ShardsLimitAllocationDecider;)V2
3addListenerC(Lcom/groupbyinc/flux/node/settings/NodeSettingsService$Listener;)V56
7thisULcom/groupbyinc/flux/cluster/routing/allocation/decider/ShardsLimitAllocationDecider;settings.Lcom/groupbyinc/flux/common/settings/Settings;nodeSettingsService7Lcom/groupbyinc/flux/node/settings/NodeSettingsService;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/RoutingAllocationAroutingNodes4()Lcom/groupbyinc/flux/cluster/routing/RoutingNodes;CD
BE0com/groupbyinc/flux/cluster/routing/RoutingNodesGmetaData1()Lcom/groupbyinc/flux/cluster/metadata/MetaData;IJ
HK0com/groupbyinc/flux/cluster/routing/ShardRoutingMindex()Ljava/lang/String;OP
NQ-com/groupbyinc/flux/cluster/metadata/MetaDataSH(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;OU
TV2com/groupbyinc/flux/cluster/metadata/IndexMetaDataXgetSettings0()Lcom/groupbyinc/flux/common/settings/Settings;Z[
Y\?com/groupbyinc/flux/cluster/routing/allocation/decider/Decision^YESALcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision;`a	_b9total shard limit disabled: [index: %d, cluster: %d] <= 0djava/lang/Objectfdecision?(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;hi
Bj/com/groupbyinc/flux/cluster/routing/RoutingNodeliterator()Ljava/util/Iterator;no
mpjava/util/IteratorrhasNext()Ztusvnext()Ljava/lang/Object;xysz
relocating|u
N}java/lang/Stringequals(Ljava/lang/Object;)Z??
??NO?a	_?/too many shards for this node [%d], limit: [%d]?=too many shards for this index [%s] on node [%d], limit: [%d]?Oshard count under index limit [%d] and node limit [%d] of total shards per node?	nodeShard2Lcom/groupbyinc/flux/cluster/routing/ShardRouting;shardRoutingnode1Lcom/groupbyinc/flux/cluster/routing/RoutingNode;
allocationBLcom/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation;indexMd4Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;indexShardLimitindexShardCountnodeShardCount	canRemain?(Lcom/groupbyinc/flux/cluster/routing/RoutingNode;Lcom/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation;)Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision;.total shard limit disabled: [cluster: %d] <= 0?:shard count under node limit [%d] of total shards per node?
access$000X(Lcom/groupbyinc/flux/cluster/routing/allocation/decider/ShardsLimitAllocationDecider;)Ix0
access$100?(Lcom/groupbyinc/flux/cluster/routing/allocation/decider/ShardsLimitAllocationDecider;)Lcom/groupbyinc/flux/common/logging/ESLogger;logger-Lcom/groupbyinc/flux/common/logging/ESLogger;??	?
access$002Y(Lcom/groupbyinc/flux/cluster/routing/allocation/decider/ShardsLimitAllocationDecider;I)Ix1
ConstantValueCodeLocalVariableTableLineNumberTableRuntimeVisibleAnnotations
StackMapTable
SourceFileInnerClasses!?B???m#*+?*+?%?+?/?1,?Y*?4?8?? #9:#;<#=>?TUV"W??@?)-?F?L+?R?W:?]?%?+?/6*?16?(?#-?ce?gY?%SY?%S?k?66,?q:		?w?2	?{?N:

?~????
?R+?R????????*?#-????gY?%SY?%S?k??1?*-????gY+?RSY?%SY?%S?k?-?c??gY?%SY?%S?k??f
u ??
9:????????#??)?V??Y???n[\#_)a3bCcObSfVgYhuj}k?m?n?o?q?r?s?t?s?v?w?x?w?z{z? ?SY?s? N??+2?@?)-?F?L+?R?W:?]?%?+?/6*?16?(?#-?ce?gY?%SY?%S?k?66,?q:		?w?2	?{?N:

?~????
?R+?R????????*?#-????gY?%SY?%S?k??1?*-????gY+?RSY?%SY?%S?k?-?c??gY?%SY?%S?k??f
u ??
9:????????#??)?V??Y???n??#?)?3?C?O?S?V?Y?u?}?????????????????????????????? ?SY?s? N??+2???M?*?1>?,?c??gY?%S?k?6+?q:?w? ?{?N:?~????????(?",????gY?%SY?%S?k?,?c??gY?%S?k??>????9:???????#m??J??	??? ?#???G?J?M?P?Z?j?u?y??????? ?s? N?(???/*?1???:?4???/*?????:?4???;*Z?1???:??4??

	




© 2015 - 2025 Weber Informatics LLC | Privacy Policy