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

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

????4x;com/groupbyinc/flux/cluster/routing/allocation/MoveDecisionIcom/groupbyinc/flux/cluster/routing/allocation/AbstractAllocationDecisionMoveDecision.java5com/groupbyinc/flux/common/xcontent/ToXContent$Params.com/groupbyinc/flux/common/xcontent/ToXContentParams5com/groupbyinc/flux/common/io/stream/Writeable$Reader.com/groupbyinc/flux/common/io/stream/Writeable
ReaderDcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision$Type?com/groupbyinc/flux/cluster/routing/allocation/decider/DecisionType%java/lang/invoke/MethodHandles$Lookupjava/lang/invoke/MethodHandlesLookup	NOT_TAKEN=Lcom/groupbyinc/flux/cluster/routing/allocation/MoveDecision;CACHED_STAY_DECISIONCACHED_CANNOT_MOVE_DECISIONallocationDecisionCLcom/groupbyinc/flux/cluster/routing/allocation/AllocationDecision;%Lcom/groupbyinc/flux/common/Nullable;canRemainDecisionALcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision;clusterRebalanceDecisioncurrentNodeRankingI$assertionsDisabledZ	(Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision;Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision;Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationDecision;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Ljava/util/List;I)VC(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Ljava/util/List;)V(*
+	-!"	/#"	1$%	3thisassignedNode0Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;
nodeDecisionsWLjava/util/List;Ljava/util/List;5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Vjava/io/IOException<(;
>"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;BC
ADEF(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Ljava/lang/Object;GAcom/groupbyinc/flux/cluster/routing/allocation/AllocationDecisionIreadFromw(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationDecision;KL
JMNLread9()Lcom/groupbyinc/flux/common/io/stream/Writeable$Reader;QRS0com/groupbyinc/flux/common/io/stream/StreamInputUreadOptionalWriteablei(Lcom/groupbyinc/flux/common/io/stream/Writeable$Reader;)Lcom/groupbyinc/flux/common/io/stream/Writeable;WX
VYu(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision;K[
\][SreadVInt()Iab
Vcin2Lcom/groupbyinc/flux/common/io/stream/StreamInput;writeTo6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)Vgh
i1com/groupbyinc/flux/common/io/stream/StreamOutputkwriteOptionalWriteable3(Lcom/groupbyinc/flux/common/io/stream/Writeable;)Vmn
lo	writeVInt(I)Vqr
lsout3Lcom/groupbyinc/flux/common/io/stream/StreamOutput;stay?(Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision;)Lcom/groupbyinc/flux/cluster/routing/allocation/MoveDecision;&'	ytypeH()Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision$Type;{|
}NOFLcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision$Type;?	?java/lang/AssertionError?()V(?
??
NO_ATTEMPT?	J?()
?	?cannotRemain(Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision;Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationDecision;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Ljava/util/List;)Lcom/groupbyinc/flux/cluster/routing/allocation/MoveDecision;YES??	?.create decision with MoveDecision#stay instead?(Ljava/lang/Object;)V(?
??	J?	??	J?.com/groupbyinc/flux/cluster/node/DiscoveryNode?java/util/List?cannotRebalance?(Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision;Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationDecision;ILjava/util/List;)Lcom/groupbyinc/flux/cluster/routing/allocation/MoveDecision;canRebalanceDecision	rebalance(Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision;Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationDecision;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;ILjava/util/List;)Lcom/groupbyinc/flux/cluster/routing/allocation/MoveDecision;isDecisionTaken()ZwithRemainDecision
targetNode?7	?8:	?	forceMovecheckDecisionState??
?	canRemain??
?getCanRemainDecisionC()Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision;canRebalanceClustergetClusterRebalanceDecisiongetAllocationDecisionE()Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationDecision;getCurrentNodeRankinggetExplanation()Ljava/lang/String;
AWAITING_INFO?	J?jcannot rebalance as information about existing copies of this shard in the cluster is still being gathered?java/lang/StringBuilder?
??rebalancing is not allowed?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??atLeastOneNodeWithYesDecision??
?L, even though there is at least one node on which the shard can be allocated??java/lang/String?toString??
??THROTTLE??	?rebalancing is throttled?
getTargetNode2()Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;??
?	THROTTLED?	J?shard rebalancing throttled?can rebalance shard?kcannot rebalance as no target node exists that can both allocate this shard and improve the cluster balance?Cshard cannot remain on this node and is force-moved to another node?Kshard cannot remain on this node but is throttled on moving to another node?^cannot move shard to another node, even though it is not allowed to remain on its current node?explanationLjava/lang/String;
toXContent?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;target_node?3com/groupbyinc/flux/common/xcontent/XContentBuilder?startObjectI(Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
??discoveryNodeToXContent?(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;ZLcom/groupbyinc/flux/common/xcontent/XContentBuilder;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
	endObject7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;
?can_remain_on_current_nodeyesno
field[(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;
?getDecisions()Ljava/util/List;
isEmpty??can_remain_decisions
startArray?
???
endArray
?fromDecisionType?(Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision$Type;)Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationDecision;!"
J#can_rebalance_cluster%[(Ljava/lang/String;Ljava/lang/Object;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;'
?(can_rebalance_cluster_decisions*can_rebalance_to_other_node,rebalance_explanation.??
0can_move_to_other_node2??
4move_explanation6nodeDecisionsToXContent?(Ljava/util/List;Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;89
:rebalanceDecisionbuilder5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;params7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;equals(Ljava/lang/Object;)ZAB
Cjava/util/ObjectsE'(Ljava/lang/Object;Ljava/lang/Object;)ZAG
FHotherLjava/lang/Object;thathashCodeMb
Njava/lang/ObjectPjava/lang/IntegerRvalueOf(I)Ljava/lang/Integer;TU
SVhash([Ljava/lang/Object;)IXY
FZjava/lang/Class]desiredAssertionStatus_?
^`	b?"	d"	fRuntimeVisibleAnnotationsCodeLocalVariableTableLocalVariableTypeTableLineNumberTable	SignatureP(Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision;Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision;Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationDecision;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Ljava/util/List;I)V
Exceptions
StackMapTableJ(Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision;Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationDecision;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Ljava/util/List;)Lcom/groupbyinc/flux/cluster/routing/allocation/MoveDecision;(Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision;Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationDecision;ILjava/util/List;)Lcom/groupbyinc/flux/cluster/routing/allocation/MoveDecision;K(Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision;Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationDecision;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;ILjava/util/List;)Lcom/groupbyinc/flux/cluster/routing/allocation/MoveDecision;"RuntimeVisibleParameterAnnotationsBootstrapMethods
SourceFileInnerClasses1h !"h #"h $%&'()i?*?,*-?.*+?0*,?2*?4?jH5!"#"678:$%k89l9:
;<=>mn(;i?>*+??*+?T?Z?J?.*+?`?Z??0*+?`?Z??2*+?d?4?j>5>eflABC%D5E=Fo=ghin&*+?j+*?.?p+*?0?p+*?2?p+*?4?t?j&5&uvlJK
LMN%Oo=	wxip0*?+?z?*?~?????Y????Y*????????j0!"lVWX,Zp	??io?z?*???Y????z?*?~???
??Y????-?+???????z?#,??+???????Y????Y*+,-???j*o!"oo67o8:ko89lij,k7m;oapp 
@J?J??
mq	??ih?Y*+-???j*?"$%8:k89lymr	??is?Y*+,???j4?"67$%8:k89l?mst ??iJ*?0?
*?2???j5l?p@?xiQ?Y+*?2*?.*??*??*?4???j5!"l???iT*??*???*?.?????j5l
??p@??iP*??*?0?~?????j5l
??p@??i7	*??*?0?j	5l
????iW*??*?2?*?2?~?????j5l
??p@??i7	*??*?2?j	5l
??h ??i/*?.?j5l?h ?bi7	*??*?4?j	5l
????i??*??*?2??*?.?¦	?L??*?2?~???'??Y??ɶ?*?ЙҧԶͶ?L??*?2?~?ܦ	?L???z?*?2?~?????Y???*???*?.??	?L?_?L?Y?L?S?z?*?????Y???*?.???	?L?.*?.??	?L??z?*?.?????Y????L+?jf
??I??\??????????????????5???l^?????(?@?L?Y?_?z????????????????????????p'd????	????i*??*???+???W*??+?W+?W+*???		??W*???)*?0???+?W*?0+,?W+? W*?2?D*?2?~?$N+&-?)W-???)*?2???++?W*?2+,?W+? W*?2?+-*?.?)W+/*?1?W?'+3*?5?		??W+7*?1?W**??+,?;W+?j*x6<5=>?@lb	
!
9OWafmx???????? ?!?#?$pg	!?????????0?G!?????????o=ABi?S*+?D??+???+?M*?.,?.?I?.*?0,?0?I? *?2,?2?I?*?4,?4???j S5SJK;Ll&	)*
,-/0.1<2R0p
?=@MbiY/*?Oh?QY*?.SY*?0SY*?2SY*?4?WS?[`?j/5l8\?izK?a???z?Y?????c?Y?e???????Y?g???????l&("*6,p@uFHOPFH^_vw"	
		@




© 2015 - 2025 Weber Informatics LLC | Privacy Policy