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

com.groupbyinc.flux.gateway.BaseGatewayShardAllocator.class Maven / Gradle / Ivy

There is a newer version: 129
Show newest version
????4?5com/groupbyinc/flux/gateway/BaseGatewayShardAllocator6com/groupbyinc/flux/common/component/AbstractComponentBaseGatewayShardAllocator.javaAcom/groupbyinc/flux/cluster/routing/RoutingNodes$UnassignedShards0com/groupbyinc/flux/cluster/routing/RoutingNodesUnassignedShardsTcom/groupbyinc/flux/cluster/routing/RoutingNodes$UnassignedShards$UnassignedIteratorUnassignedIteratorCcom/groupbyinc/flux/cluster/routing/UnassignedInfo$AllocationStatus2com/groupbyinc/flux/cluster/routing/UnassignedInfoAllocationStatusRcom/groupbyinc/flux/cluster/routing/allocation/NodeAllocationResult$ShardStoreInfoCcom/groupbyinc/flux/cluster/routing/allocation/NodeAllocationResultShardStoreInfo1(Lcom/groupbyinc/flux/common/settings/Settings;)V
this7Lcom/groupbyinc/flux/gateway/BaseGatewayShardAllocator;settings.Lcom/groupbyinc/flux/common/settings/Settings;allocateUnassignedE(Lcom/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation;)V@com/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation"routingNodes4()Lcom/groupbyinc/flux/cluster/routing/RoutingNodes;$%
#&
unassignedE()Lcom/groupbyinc/flux/cluster/routing/RoutingNodes$UnassignedShards;()
	*iteratorX()Lcom/groupbyinc/flux/cluster/routing/RoutingNodes$UnassignedShards$UnassignedIterator;,-
.hasNext()Z01
2next4()Lcom/groupbyinc/flux/cluster/routing/ShardRouting;45
6logger8Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger;89	:makeAllocationDecision?(Lcom/groupbyinc/flux/cluster/routing/ShardRouting;Lcom/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation;Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger;)Lcom/groupbyinc/flux/cluster/routing/allocation/AllocateUnassignedDecision;<=
>Icom/groupbyinc/flux/cluster/routing/allocation/AllocateUnassignedDecision@isDecisionTakenB1
AC0com/groupbyinc/flux/cluster/routing/ShardRoutingEgetAllocationDecisionE()Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationDecision;GH
AIAcom/groupbyinc/flux/cluster/routing/allocation/AllocationDecisionKYESCLcom/groupbyinc/flux/cluster/routing/allocation/AllocationDecision;MN	LO
getTargetNode2()Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;QR
AS.com/groupbyinc/flux/cluster/node/DiscoveryNodeUgetId()Ljava/lang/String;WX
VYgetAllocationId[X
A\primary^1
F_????????java/lang/StringcclusterInfo+()Lcom/groupbyinc/flux/cluster/ClusterInfo;ef
#g'com/groupbyinc/flux/cluster/ClusterInfoigetShardSize6(Lcom/groupbyinc/flux/cluster/routing/ShardRouting;J)Jkl
jmchanges>()Lcom/groupbyinc/flux/cluster/routing/RoutingChangesObserver;op
#q
initialize?(Ljava/lang/String;Ljava/lang/String;JLcom/groupbyinc/flux/cluster/routing/RoutingChangesObserver;)Lcom/groupbyinc/flux/cluster/routing/ShardRouting;st
ugetAllocationStatusG()Lcom/groupbyinc/flux/cluster/routing/UnassignedInfo$AllocationStatus;wx
AyremoveAndIgnore?(Lcom/groupbyinc/flux/cluster/routing/UnassignedInfo$AllocationStatus;Lcom/groupbyinc/flux/cluster/routing/RoutingChangesObserver;)V{|
}shard2Lcom/groupbyinc/flux/cluster/routing/ShardRouting;allocateUnassignedDecisionKLcom/groupbyinc/flux/cluster/routing/allocation/AllocateUnassignedDecision;
allocationBLcom/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation;2Lcom/groupbyinc/flux/cluster/routing/RoutingNodes;unassignedIteratorVLcom/groupbyinc/flux/cluster/routing/RoutingNodes$UnassignedShards$UnassignedIterator;buildDecisionsForAllNodes?(Lcom/groupbyinc/flux/cluster/routing/ShardRouting;Lcom/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation;)Ljava/util/List;java/util/ArrayList?()V?
??()Ljava/util/Iterator;,?
	?java/util/List?java/util/Iterator??2()Ljava/lang/Object;4???/com/groupbyinc/flux/cluster/routing/RoutingNode?decidersM()Lcom/groupbyinc/flux/cluster/routing/allocation/decider/AllocationDeciders;??
#?Icom/groupbyinc/flux/cluster/routing/allocation/decider/AllocationDeciders?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;??
??node?R
???(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Lcom/groupbyinc/flux/cluster/routing/allocation/NodeAllocationResult$ShardStoreInfo;Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision;)V?
?add(Ljava/lang/Object;)Z????decisionALcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision;1Lcom/groupbyinc/flux/cluster/routing/RoutingNode;resultsWLjava/util/List;Ljava/util/List;CodeLocalVariableTableLineNumberTable
StackMapTableLocalVariableTypeTable	Signature?(Lcom/groupbyinc/flux/cluster/routing/ShardRouting;Lcom/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation;)Ljava/util/List;
SourceFileInnerClasses!?>*+????
/0 !???+?'M,?+?/N-?3?o-?7:*+*?;??:?D?????J?P?6-?T?Z?]?`?	a?+?ha?n+?r?vW?-?z+?r?~?????>c?'V??????|$?
t???F:;
<=>'@/B2E=FHGMHZIfJiFpL}N?O?^?
	?$FA?&#	FAdd?#	FAdd
?<=????O??Y??N,?'??:???5????:,??+,??:-?Y??????W???-??>4??'#??OO?O??G???G???de'f4gJhMi?????;????"	

@




© 2015 - 2025 Weber Informatics LLC | Privacy Policy