
com.groupbyinc.flux.cluster.RestoreInProgress.class Maven / Gradle / Ivy
???? 3I -com/groupbyinc/flux/cluster/RestoreInProgress ?Lcom/groupbyinc/flux/cluster/AbstractDiffable;Lcom/groupbyinc/flux/cluster/ClusterState$Custom; ,com/groupbyinc/flux/cluster/AbstractDiffable /com/groupbyinc/flux/cluster/ClusterState$Custom RestoreInProgress.java 3com/groupbyinc/flux/cluster/RestoreInProgress$State State @com/groupbyinc/flux/cluster/RestoreInProgress$ShardRestoreStatus ShardRestoreStatus 3com/groupbyinc/flux/cluster/RestoreInProgress$Entry Entry Ecom/groupbyinc/flux/common/google/common/collect/ImmutableMap$Builder =com/groupbyinc/flux/common/google/common/collect/ImmutableMap Builder java/util/Map$Entry
java/util/Map 5com/groupbyinc/flux/common/xcontent/ToXContent$Params .com/groupbyinc/flux/common/xcontent/ToXContent Params (com/groupbyinc/flux/cluster/ClusterState Custom TYPE Ljava/lang/String; restore % PROTO /Lcom/groupbyinc/flux/cluster/RestoreInProgress; entries Ljava/util/List; GLjava/util/List; (Ljava/util/List;)V ()V , .
/ ) * 1 this 9([Lcom/groupbyinc/flux/cluster/RestoreInProgress$Entry;)V java/util/Arrays 5 asList %([Ljava/lang/Object;)Ljava/util/List; 7 8
6 9 6[Lcom/groupbyinc/flux/cluster/RestoreInProgress$Entry; ()Ljava/util/List; snapshot h(Lcom/groupbyinc/flux/cluster/metadata/SnapshotId;)Lcom/groupbyinc/flux/cluster/RestoreInProgress$Entry; java/util/List ? iterator ()Ljava/util/Iterator; A B @ C java/util/Iterator E hasNext ()Z G H F I next ()Ljava/lang/Object; K L F M
snapshotId 3()Lcom/groupbyinc/flux/cluster/metadata/SnapshotId; O P
Q /com/groupbyinc/flux/cluster/metadata/SnapshotId S equals (Ljava/lang/Object;)Z U V
T W entry 5Lcom/groupbyinc/flux/cluster/RestoreInProgress$Entry; 1Lcom/groupbyinc/flux/cluster/metadata/SnapshotId; java/lang/Object \ getClass ()Ljava/lang/Class; ^ _
] ` @ W o Ljava/lang/Object; that hashCode ()I f g @ h type ()Ljava/lang/String; readFrom c(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/cluster/RestoreInProgress; java/io/IOException n 0com/groupbyinc/flux/common/io/stream/StreamInput p readVInt r g
q s ; readSnapshotId e(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/cluster/metadata/SnapshotId; v w
T x readByte ()B z {
q | fromValue 8(B)Lcom/groupbyinc/flux/cluster/RestoreInProgress$State; ~
? java/util/ArrayList ?
? /
readString ? k
q ? add ? V @ ? builder I()Lcom/groupbyinc/flux/common/google/common/collect/ImmutableMap$Builder; ? ?
? 'com/groupbyinc/flux/index/shard/ShardId ? readShardId ](Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/index/shard/ShardId; ? ?
? ? readShardRestoreStatus v(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/cluster/RestoreInProgress$ShardRestoreStatus; ? ?
? put m(Ljava/lang/Object;Ljava/lang/Object;)Lcom/groupbyinc/flux/common/google/common/collect/ImmutableMap$Builder; ? ?
? java/util/Collections ? unmodifiableList "(Ljava/util/List;)Ljava/util/List; ? ?
? ? build A()Lcom/groupbyinc/flux/common/google/common/collect/ImmutableMap; ? ?
? ?(Lcom/groupbyinc/flux/cluster/metadata/SnapshotId;Lcom/groupbyinc/flux/cluster/RestoreInProgress$State;Ljava/util/List;Lcom/groupbyinc/flux/common/google/common/collect/ImmutableMap;)V , ?
? , 4
? j I shardId )Lcom/groupbyinc/flux/index/shard/ShardId;
shardState BLcom/groupbyinc/flux/cluster/RestoreInProgress$ShardRestoreStatus; state 5Lcom/groupbyinc/flux/cluster/RestoreInProgress$State; indices indexBuilder $Ljava/util/List; ?Lcom/groupbyinc/flux/common/google/common/collect/ImmutableMap$Builder; GLcom/groupbyinc/flux/common/google/common/collect/ImmutableMap$Builder; shards i in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; writeTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V size ? g @ ? 1com/groupbyinc/flux/common/io/stream/StreamOutput ? writeVInt (I)V ? ?
? ? ? ?
T ? 7()Lcom/groupbyinc/flux/cluster/RestoreInProgress$State; ? ?
? value ? {
? writeByte (B)V ? ?
? ? ? <
? java/lang/String ? writeString (Ljava/lang/String;)V ? ?
? ? ? ?
?
? entrySet A()Lcom/groupbyinc/flux/common/google/common/collect/ImmutableSet; ? ?
? =com/groupbyinc/flux/common/google/common/collect/ImmutableSet ? I()Lcom/groupbyinc/flux/common/google/common/collect/UnmodifiableIterator; A ?
? ? getKey ? L ?
? ? getValue ? L ?
? index
shardEntry ?Ljava/util/Map$Entry; Ljava/util/Map$Entry; out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput;
toXContent ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; snapshots ? 3com/groupbyinc/flux/common/xcontent/XContentBuilder ?
startArray I(Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
? ? ?(Lcom/groupbyinc/flux/cluster/RestoreInProgress$Entry;Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)V ?
endArray 7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;
? 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; params 7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params; startObject
? = getSnapshot k
T field [(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;
?
repository
getRepository k
T ? [(Ljava/lang/String;Ljava/lang/Object;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;
? ? ? ?
? ?
access$100 v(Lcom/groupbyinc/flux/cluster/RestoreInProgress$Entry;)Lcom/groupbyinc/flux/common/google/common/collect/ImmutableMap;"#
$ ? getIndex' k
?( shard* getId, g
?- J(Ljava/lang/String;I)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;/
?0
? endObject3
?4 status F(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Ljava/lang/Object; l m
8 ' ( ;
ConstantValue Signature Code LocalVariableTable LocalVariableTypeTable LineNumberTable J(Ljava/util/List;)V I()Ljava/util/List;
StackMapTable
Exceptions
SourceFile InnerClasses ! # $ = &