com.groupbyinc.flux.action.admin.indices.segments.IndicesSegmentResponse.class Maven / Gradle / Ivy
???? 4? Hcom/groupbyinc/flux/action/admin/indices/segments/IndicesSegmentResponse >com/groupbyinc/flux/action/support/broadcast/BroadcastResponse 6com/groupbyinc/flux/common/xcontent/ToXContentFragment IndicesSegmentResponse.java Ocom/groupbyinc/flux/action/admin/indices/segments/IndicesSegmentResponse$Fields Fields 5com/groupbyinc/flux/common/xcontent/ToXContent$Params .com/groupbyinc/flux/common/xcontent/ToXContent
Params Jcom/groupbyinc/flux/common/apache/lucene/search/SortedNumericSelector$Type Ecom/groupbyinc/flux/common/apache/lucene/search/SortedNumericSelector Type Fcom/groupbyinc/flux/common/apache/lucene/search/SortedSetSelector$Type Acom/groupbyinc/flux/common/apache/lucene/search/SortedSetSelector shards B[Lcom/groupbyinc/flux/action/admin/indices/segments/ShardSegments; indicesSegments Ljava/util/Map; dLjava/util/Map; ()V
this JLcom/groupbyinc/flux/action/admin/indices/segments/IndicesSegmentResponse; X([Lcom/groupbyinc/flux/action/admin/indices/segments/ShardSegments;IIILjava/util/List;)V (IIILjava/util/List;)V %
& ( totalShards I successfulShards failedShards
shardFailures LLjava/util/List; Ljava/util/List;
getIndices ()Ljava/util/Map; 3 java/util/HashMap 5
6 java/util/HashSet 8
9
java/util/Map ;
java/util/Set = ?com/groupbyinc/flux/action/admin/indices/segments/ShardSegments @ getShardRouting 4()Lcom/groupbyinc/flux/cluster/routing/ShardRouting; B C
A D 0com/groupbyinc/flux/cluster/routing/ShardRouting F getIndexName ()Ljava/lang/String; H I
G J add (Ljava/lang/Object;)Z L M > N iterator ()Ljava/util/Iterator; P Q > R java/util/Iterator T hasNext ()Z V W U X next ()Ljava/lang/Object; Z [ U \ java/lang/String ^ java/util/ArrayList `
a java/util/List c equals e M
_ f d N ?com/groupbyinc/flux/action/admin/indices/segments/IndexSegments i size ()I k l d m toArray (([Ljava/lang/Object;)[Ljava/lang/Object; o p d q W(Ljava/lang/String;[Lcom/groupbyinc/flux/action/admin/indices/segments/ShardSegments;)V s
j t put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; v w <