com.groupbyinc.flux.action.admin.indices.upgrade.get.UpgradeStatusResponse.class Maven / Gradle / Ivy
???? 4+ Jcom/groupbyinc/flux/action/admin/indices/upgrade/get/UpgradeStatusResponse >com/groupbyinc/flux/action/support/broadcast/BroadcastResponse 6com/groupbyinc/flux/common/xcontent/ToXContentFragment UpgradeStatusResponse.java Qcom/groupbyinc/flux/action/admin/indices/upgrade/get/UpgradeStatusResponse$Fields Fields 5com/groupbyinc/flux/common/xcontent/ToXContent$Params .com/groupbyinc/flux/common/xcontent/ToXContent
Params shards J[Lcom/groupbyinc/flux/action/admin/indices/upgrade/get/ShardUpgradeStatus; indicesUpgradeStatus Ljava/util/Map; lLjava/util/Map; ()V
this LLcom/groupbyinc/flux/action/admin/indices/upgrade/get/UpgradeStatusResponse; `([Lcom/groupbyinc/flux/action/admin/indices/upgrade/get/ShardUpgradeStatus;IIILjava/util/List;)V (IIILjava/util/List;)V
totalShards I successfulShards failedShards
shardFailures LLjava/util/List; Ljava/util/List;
getIndices ()Ljava/util/Map; * java/util/HashMap ,
- java/util/HashSet /
0
java/util/Map 2
java/util/Set 4 Gcom/groupbyinc/flux/action/admin/indices/upgrade/get/ShardUpgradeStatus 7 getIndex ()Ljava/lang/String; 9 :
8 ; add (Ljava/lang/Object;)Z = > 5 ? iterator ()Ljava/util/Iterator; A B 5 C java/util/Iterator E hasNext ()Z G H F I next ()Ljava/lang/Object; K L F M java/lang/String O java/util/ArrayList Q
R java/util/List T getShardRouting 4()Lcom/groupbyinc/flux/cluster/routing/ShardRouting; V W
8 X 0com/groupbyinc/flux/cluster/routing/ShardRouting Z getIndexName \ :
[ ] equals _ >
P ` U ? Gcom/groupbyinc/flux/action/admin/indices/upgrade/get/IndexUpgradeStatus c size ()I e f U g toArray (([Ljava/lang/Object;)[Ljava/lang/Object; i j U k _(Ljava/lang/String;[Lcom/groupbyinc/flux/action/admin/indices/upgrade/get/ShardUpgradeStatus;)V m
d n put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; p q 3 r shard ILcom/groupbyinc/flux/action/admin/indices/upgrade/get/ShardUpgradeStatus; [Ljava/util/List; indexName Ljava/lang/String; indicesUpgradeStats indices #Ljava/util/Set; Ljava/util/Set; readFrom 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V java/io/IOException } ~
? 0com/groupbyinc/flux/common/io/stream/StreamInput ? readVInt ? f
? ? readShardUpgradeStatus }(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/action/admin/indices/upgrade/get/ShardUpgradeStatus; ? ?
8 ? i in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; writeTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V ? ?
? 1com/groupbyinc/flux/common/io/stream/StreamOutput ? writeVInt (I)V ? ?
? ?
8 ? out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput;
getTotalBytes ()J ( )
? values ()Ljava/util/Collection; ? ? 3 ? java/util/Collection ? ? C ? ?
d ? indexShardUpgradeStatus ILcom/groupbyinc/flux/action/admin/indices/upgrade/get/IndexUpgradeStatus;
totalBytes J getToUpgradeBytes ? ?
d ? upgradeBytes getToUpgradeBytesAncient ? ?
d ? upgradeBytesAncient
toXContent ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;
size_in_bytes ? e
? 3com/groupbyinc/flux/common/xcontent/XContentBuilder ?
byteSizeField \(Ljava/lang/String;Ljava/lang/String;J)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
? ? size_to_upgrade_in_bytes ? size_to_upgrade ?
? size_to_upgrade_ancient_in_bytes ? size_to_upgrade_ancient ?
? level ? z param 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; ? ? ? startObject I(Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
? ?
d ;
d C Lcom/groupbyinc/flux/action/admin/indices/upgrade/get/IndexShardUpgradeStatus ?
getShardId +()Lcom/groupbyinc/flux/index/shard/ShardId; ? ?
? ? 'com/groupbyinc/flux/index/shard/ShardId ? id ? f
? ? java/lang/Integer ? toString (I)Ljava/lang/String; ? ?
? ?
startArray ? ?
? ?
? C 7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
? ? routing ? state ? 9()Lcom/groupbyinc/flux/cluster/routing/ShardRoutingState; ? ?
[ ? field [(Ljava/lang/String;Ljava/lang/Object;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
? ? primary ? ? H
[ ? J(Ljava/lang/String;Z)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ?
? node
currentNodeId :
[ [(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ?
? relocatingNodeId :
[ relocating_node endObject ?
? endArray ?
? shardUpgradeStatus NLcom/groupbyinc/flux/action/admin/indices/upgrade/get/IndexShardUpgradeStatus; indexUpgradeStatus builder 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; params 7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params; outputShards Z
outputIndices Signature Code LocalVariableTable LineNumberTable LocalVariableTypeTable ?([Lcom/groupbyinc/flux/action/admin/indices/upgrade/get/ShardUpgradeStatus;IIILjava/util/List;)V
StackMapTable n()Ljava/util/Map;
Exceptions
SourceFile InnerClasses ! ! 3 *? ? " #
+ , ! ? *? *+? ? " > ! " # " $ " % ' $ % &