
com.groupbyinc.flux.cluster.routing.allocation.AllocationExplanation.class Maven / Gradle / Ivy
???? 3 ? Dcom/groupbyinc/flux/cluster/routing/allocation/AllocationExplanation java/lang/Object /com/groupbyinc/flux/common/io/stream/Streamable AllocationExplanation.java Tcom/groupbyinc/flux/cluster/routing/allocation/AllocationExplanation$NodeExplanation NodeExplanation java/util/Map$Entry
java/util/Map
Entry EMPTY FLcom/groupbyinc/flux/cluster/routing/allocation/AllocationExplanation; explanations Ljava/util/Map; ?Ljava/util/Map;>; ()V
5com/groupbyinc/flux/common/google/common/collect/Maps
newHashMap ()Ljava/util/HashMap;
this add ?(Lcom/groupbyinc/flux/index/shard/ShardId;Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationExplanation$NodeExplanation;)Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationExplanation; get &(Ljava/lang/Object;)Ljava/lang/Object; $ % & java/util/List ( java/util/ArrayList *
+ put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; - . / (Ljava/lang/Object;)Z " 1 ) 2 shardId )Lcom/groupbyinc/flux/index/shard/ShardId; nodeExplanation VLcom/groupbyinc/flux/cluster/routing/allocation/AllocationExplanation$NodeExplanation; list hLjava/util/List; Ljava/util/List; ()Ljava/util/Map; readAllocationExplanation z(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationExplanation; java/io/IOException >
readFrom 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V A B
C in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; e 0com/groupbyinc/flux/common/io/stream/StreamInput H readVInt ()I J K
I L 'com/groupbyinc/flux/index/shard/ShardId N readShardId ](Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/index/shard/ShardId; P Q
O R (I)V T
+ U readBoolean ()Z W X
I Y .com/groupbyinc/flux/cluster/node/DiscoveryNode [ readNode d(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/cluster/node/DiscoveryNode; ] ^
\ _
readString ()Ljava/lang/String; a b
I c E(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Ljava/lang/String;)V e
f node 0Lcom/groupbyinc/flux/cluster/node/DiscoveryNode; j I size2 ne i size writeTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V o K r 1com/groupbyinc/flux/common/io/stream/StreamOutput t writeVInt v T
u w entrySet ()Ljava/util/Set; y z {
java/util/Set } iterator ()Ljava/util/Iterator; ? ~ ? java/util/Iterator ? hasNext ? X ? ? next ()Ljava/lang/Object; ? ? ? ? getKey ? ? ? p q
O ? getValue ? ? ? ) r ) ? 2()Lcom/groupbyinc/flux/cluster/node/DiscoveryNode; h ?
? writeBoolean (Z)V ? ?
u ?
\ ? description ? b
? writeString (Ljava/lang/String;)V ? ?
u ? entry ?Ljava/util/Map$Entry;>; Ljava/util/Map$Entry; out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput; ? Signature Code LocalVariableTable LineNumberTable LocalVariableTypeTable
StackMapTable ?()Ljava/util/Map;>;
Exceptions
SourceFile InnerClasses ! ? ? : *? *? ? ? ? ! ?
( P " # ? ? 0*? +? ' ? )N-? ? +Y? ,N*? +-? 0 W-,? 3 W*? ? * 0 ! 0 4 5 0 6 7 " 8 : ? " 8 9 ? Y Z [ \ &