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

com.groupbyinc.flux.cluster.routing.RoutingNode.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????4/com/groupbyinc/flux/cluster/routing/RoutingNodeZLjava/lang/Object;Ljava/lang/Iterable;java/lang/Objectjava/lang/IterableRoutingNode.javanodeIdLjava/lang/String;node0Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;shardsLjava/util/LinkedHashMap;vLjava/util/LinkedHashMap;$assertionsDisabledZx(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;[Lcom/groupbyinc/flux/cluster/routing/ShardRouting;)VbuildShardRoutingMapN([Lcom/groupbyinc/flux/cluster/routing/ShardRouting;)Ljava/util/LinkedHashMap;
^(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Ljava/util/LinkedHashMap;)V
this1Lcom/groupbyinc/flux/cluster/routing/RoutingNode;3[Lcom/groupbyinc/flux/cluster/routing/ShardRouting;()V
	
	!	#
	%java/util/LinkedHashMap'
(0com/groupbyinc/flux/cluster/routing/ShardRouting+shardId+()Lcom/groupbyinc/flux/index/shard/ShardId;-.
,/put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;12
(3"java/lang/IllegalArgumentException5java/lang/StringBuilder7
84Cannot have two different shards with same shard id :append-(Ljava/lang/String;)Ljava/lang/StringBuilder;<=
8>-(Ljava/lang/Object;)Ljava/lang/StringBuilder;<@
8A on same node CtoString()Ljava/lang/String;EF
8G(Ljava/lang/String;)VI
6J
previousValue2Lcom/groupbyinc/flux/cluster/routing/ShardRouting;shardRouting
shardRoutingsiterator()Ljava/util/Iterator;values()Ljava/util/Collection;RS
(Tjava/util/CollectionsVunmodifiableCollection.(Ljava/util/Collection;)Ljava/util/Collection;XY
WZjava/util/Collection\PQ]^2()Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;getByShardId](Lcom/groupbyinc/flux/index/shard/ShardId;)Lcom/groupbyinc/flux/cluster/routing/ShardRouting;%Lcom/groupbyinc/flux/common/Nullable;get&(Ljava/lang/Object;)Ljava/lang/Object;de
(fid)Lcom/groupbyinc/flux/index/shard/ShardId;size()Ijk
(ladd5(Lcom/groupbyinc/flux/cluster/routing/ShardRouting;)VcontainsKey(Ljava/lang/Object;)Zpq
(rjava/lang/IllegalStateExceptiontTrying to add a shard v to a node [x$] where it already exists. current [z]. new [|]~
uJshardupdateg(Lcom/groupbyinc/flux/cluster/routing/ShardRouting;Lcom/groupbyinc/flux/cluster/routing/ShardRouting;)V	?java/lang/AssertionError?expected shard ?	 but was ?(Ljava/lang/Object;)V?
??oldShardnewShardremove?e
(?numberOfShardsWithState;([Lcom/groupbyinc/flux/cluster/routing/ShardRoutingState;)I
^java/util/Iterator?hasNext()Z????next()Ljava/lang/Object;????8[Lcom/groupbyinc/flux/cluster/routing/ShardRoutingState;?state9()Lcom/groupbyinc/flux/cluster/routing/ShardRoutingState;??
,?7Lcom/groupbyinc/flux/cluster/routing/ShardRoutingState;
shardEntrystatescountIshardsWithStateJ([Lcom/groupbyinc/flux/cluster/routing/ShardRoutingState;)Ljava/util/List;java/util/ArrayList?
?java/util/List?nq??DLjava/util/List;Ljava/util/List;\(Ljava/lang/String;[Lcom/groupbyinc/flux/cluster/routing/ShardRoutingState;)Ljava/util/List;getIndexName?F
,?java/lang/String?equals?q
??indexnumberOfOwningShards5com/groupbyinc/flux/cluster/routing/ShardRoutingState?
RELOCATING??	??prettyPrint
-----node_id[?][?X?V?]
?--------?shortSummary?F
,?(C)Ljava/lang/StringBuilder;<?
8?entrysbLjava/lang/StringBuilder;routingNode ([?.com/groupbyinc/flux/cluster/node/DiscoveryNode?getName?F
??getId?F
??getHostName?F
??getHostAddress?F
??], [?(I)Ljava/lang/StringBuilder;<?
8? assigned shards])?
copyShards()Ljava/util/List;(Ljava/util/Collection;)V?
??isEmpty??
(?java/lang/Class?desiredAssertionStatus??
?	SignatureCodeLocalVariableTableLineNumberTableLocalVariableTypeTable?(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Ljava/util/LinkedHashMap;)V
StackMapTable?([Lcom/groupbyinc/flux/cluster/routing/ShardRouting;)Ljava/util/LinkedHashMap;J()Ljava/util/Iterator;RuntimeVisibleAnnotations~([Lcom/groupbyinc/flux/cluster/routing/ShardRoutingState;)Ljava/util/List;?(Ljava/lang/String;[Lcom/groupbyinc/flux/cluster/routing/ShardRoutingState;)Ljava/util/List;F()Ljava/util/List;
SourceFile!	

?W*+,-???*	


-
.~*? *+?"*,?$*-?&?*	


01	234??]?(Y?)L*M,?>6?H,2:+?0?4?,:?'?6Y?8Y?9;???0?BD???H?K?????+?*,)LM9NM]OU
U
789,:1;U8[??*(*?D?	PQ:*?&?U?[?_?D
`/*?$?Mab@*?&+?g?,?hiRc	F/*?"?Zjk2*?&?m?^no?g*?&+?0?s?N?uY?8Y?9w??+?0?By??*?"??{??*?&+?0?g?B}??+?B???H???*?&+?0+?4W?gg?Mfg;hYjfk?Y???O*?&+?0?s??*?&,?0,?4?,N???,-+?'??Y?8Y?9???-?B???+?B?H????*OO?MO?M0LMnqstNu	?>,?o??*?&+?0???,M???,,+?'??Y?8Y?9???,?B???+?B?H???? ???M0LMxy>z?>,????	L=*??N-???=-???,:+:?66?2:???????????44
??,?MLL??J??"???4?>?A?G?J?7?????,????????	X??Y??M*??N-???C-???,:+:?66?#2:???,??W???ܧ??,?4:??!2?MXX??P
?P
?"??!?:?D?M?S?V?=?
??????,? ????????5
j??Y??N*??:???S???,:??+??????,:?66?#2:	??	?-??W???ܧ??-?>L??	$A?Mjj?
j??b
?b
?*
??$?0?3?L?V?_?e?h?3????$,?
? ??????
?k?,<*??M,???,???,N-???ƥ????? 
?M,*?????$?'?*?
????F?l?8Y?9L+ɶ?*?"??˶?*?$?ͧ϶?Ѷ?W*?&?U?_M,???#,???,N+Ӷ?-?ֶ?
??W???+?H? Q?Mld????1?Q?d?g?.?&88?88????(EF?s?8Y?9L+޶?W+*?$???W+˶?W+*?$???W+˶?W+*?$???W+˶?W+*?$???W+??W+*?&?m??W+??W+?H?sk??6
????"?.?5?A?H?T?[?g?n???9??Y*?&?U??????2*?&?????4??????$@




© 2015 - 2024 Weber Informatics LLC | Privacy Policy