com.groupbyinc.flux.cluster.routing.RoutingNode.class Maven / Gradle / Ivy
???? 4 /com/groupbyinc/flux/cluster/routing/RoutingNode ZLjava/lang/Object;Ljava/lang/Iterable; java/lang/Object java/lang/Iterable RoutingNode.java nodeId Ljava/lang/String; node 0Lcom/groupbyinc/flux/cluster/node/DiscoveryNode; shards Ljava/util/LinkedHashMap; vLjava/util/LinkedHashMap; $assertionsDisabled Z x(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;[Lcom/groupbyinc/flux/cluster/routing/ShardRouting;)V buildShardRoutingMap N([Lcom/groupbyinc/flux/cluster/routing/ShardRouting;)Ljava/util/LinkedHashMap;
^(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Ljava/util/LinkedHashMap;)V
this 1Lcom/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; - .
, / put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; 1 2
( 3 "java/lang/IllegalArgumentException 5 java/lang/StringBuilder 7
8 4Cannot have two different shards with same shard id : append -(Ljava/lang/String;)Ljava/lang/StringBuilder; <