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

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

There is a newer version: 59
Show newest version
????3?Qcom/groupbyinc/flux/cluster/routing/allocation/decider/SameShardAllocationDeciderHcom/groupbyinc/flux/cluster/routing/allocation/decider/AllocationDeciderSameShardAllocationDecider.javaNAMELjava/lang/String;
same_shardSAME_HOST_SETTING*cluster.routing.allocation.same_shard.hostsameHostZ1(Lcom/groupbyinc/flux/common/settings/Settings;)V*Lcom/groupbyinc/flux/common/inject/Inject;
java/lang/BooleanvalueOf(Z)Ljava/lang/Boolean;
,com/groupbyinc/flux/common/settings/SettingsgetAsBoolean:(Ljava/lang/String;Ljava/lang/Boolean;)Ljava/lang/Boolean;
booleanValue()Z !
"
	$thisSLcom/groupbyinc/flux/cluster/routing/allocation/decider/SameShardAllocationDecider;settings.Lcom/groupbyinc/flux/common/settings/Settings;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/RoutingAllocation,routingNodes4()Lcom/groupbyinc/flux/cluster/routing/RoutingNodes;./
-00com/groupbyinc/flux/cluster/routing/RoutingNodes2assignedShardsH(Lcom/groupbyinc/flux/cluster/routing/ShardRouting;)Ljava/lang/Iterable;45
36java/lang/Iterable8iterator()Ljava/util/Iterator;:;9<java/util/Iterator>hasNext@!?Anext()Ljava/lang/Object;CD?E0com/groupbyinc/flux/cluster/routing/ShardRoutingG/com/groupbyinc/flux/cluster/routing/RoutingNodeInodeId()Ljava/lang/String;KL
JM
currentNodeIdOL
HPjava/lang/StringRequals(Ljava/lang/Object;)ZTU
SV?com/groupbyinc/flux/cluster/routing/allocation/decider/DecisionXNOALcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision;Z[	Y\@shard cannot be allocated on same node [%s] it already exists on^java/lang/Object`decision?(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;bc
-dnode2()Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;fg
Jh
3<.com/groupbyinc/flux/cluster/node/DiscoveryNodekgetHostAddressmL
ln"com/groupbyinc/flux/common/Stringsp	hasLength(Ljava/lang/String;)Zrs
qtgetHostNamevL
lw@shard cannot be allocated on same host [%s] it already exists onyYES{[	Y|+shard is not allocated to same node or host~
assignedShard2Lcom/groupbyinc/flux/cluster/routing/ShardRouting;checkNodeOnSameHost	checkNode1Lcom/groupbyinc/flux/cluster/routing/RoutingNode;shardRouting
allocationBLcom/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation;HLjava/lang/Iterable;Ljava/lang/Iterable;
ConstantValueCodeLocalVariableTableLineNumberTableRuntimeVisibleAnnotationsLocalVariableTypeTable
StackMapTable
SourceFile!?	
?
?S*+?*+???#?%??&'()?689?*+?z
W-?1+?7:?=:?B?8?F?H:,?N?Q?W?-?]	_?aY,?NS?e????*?%??,?i??-?1?j:?B???F?J:?i????6?i?o?u?+,?i?o?u??i?o,?i?o?W?<6?6?i?x?u?(,?i?x?u??i?x,?i?x?W?6?L?=:?B?9?F?H:	?N	?Q?W?-?]	z?aY,?NS?e???ç?%-?}	?a?e??\	)&??'??	??????W&'W??Wf?W??
M4??
M4??j=
>)?8@OBRCYD`EF?G?J?K?L?M?O?P?Q?T?UV*W9X=WAZD\G_?-?9?;???? J?82?
?




© 2015 - 2025 Weber Informatics LLC | Privacy Policy