
com.groupbyinc.flux.snapshots.SnapshotShardFailure.class Maven / Gradle / Ivy
???? 4C 2com/groupbyinc/flux/snapshots/SnapshotShardFailure java/lang/Object 8com/groupbyinc/flux/action/ShardOperationFailedException SnapshotShardFailure.java 5com/groupbyinc/flux/common/xcontent/ToXContent$Params .com/groupbyinc/flux/common/xcontent/ToXContent
Params %java/lang/invoke/MethodHandles$Lookup
java/lang/invoke/MethodHandles Lookup shardId )Lcom/groupbyinc/flux/index/shard/ShardId; reason Ljava/lang/String; nodeId %Lcom/groupbyinc/flux/common/Nullable; status %Lcom/groupbyinc/flux/rest/RestStatus; SNAPSHOT_SHARD_FAILURE_PARSER >Lcom/groupbyinc/flux/common/xcontent/ConstructingObjectParser; ?Lcom/groupbyinc/flux/common/xcontent/ConstructingObjectParser; $assertionsDisabled Z ()V
! this 4Lcom/groupbyinc/flux/snapshots/SnapshotShardFailure; P(Ljava/lang/String;Lcom/groupbyinc/flux/index/shard/ShardId;Ljava/lang/String;)V #com/groupbyinc/flux/rest/RestStatus & INTERNAL_SERVER_ERROR ( ' ) u(Ljava/lang/String;Lcom/groupbyinc/flux/index/shard/ShardId;Ljava/lang/String;Lcom/groupbyinc/flux/rest/RestStatus;)V +
, . java/lang/AssertionError 0
1 ! java/lang/String 3 'com/groupbyinc/flux/index/shard/ShardId 5 7 9 ; = index ()Ljava/lang/String; getIndexName A @
6 B ()I id E D
6 F '()Lcom/groupbyinc/flux/rest/RestStatus; getCause ()Ljava/lang/Throwable; Ecom/groupbyinc/flux/index/snapshots/IndexShardSnapshotFailedException K >(Lcom/groupbyinc/flux/index/shard/ShardId;Ljava/lang/String;)V M
L N readSnapshotShardFailure h(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/snapshots/SnapshotShardFailure; java/io/IOException R
! readFrom 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V U V
W in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; exp 0com/groupbyinc/flux/common/io/stream/StreamInput \ readOptionalString ^ @
] _ readShardId ](Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/index/shard/ShardId; a b
6 c
readString e @
] f Y(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/rest/RestStatus; U h
' i writeTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V 1com/groupbyinc/flux/common/io/stream/StreamOutput m writeOptionalString (Ljava/lang/String;)V o p
n q k l
6 s writeString u p
n v [(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;Lcom/groupbyinc/flux/rest/RestStatus;)V k x
' y out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput; toString java/lang/StringBuilder ~
! SnapshotShardFailure{shardId= ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ? ?
?
, reason=' ? (C)Ljava/lang/StringBuilder; ? ?
?
, nodeId=' ? , status= ? } @
?
toXContent ?(Lcom/groupbyinc/flux/snapshots/SnapshotShardFailure;Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)V 3com/groupbyinc/flux/common/xcontent/XContentBuilder ? startObject 7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
? ? ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
? endObject ? ?
? ? snapshotShardFailure builder 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; params 7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params; constructSnapshotShardFailure I([Ljava/lang/Object;)Lcom/groupbyinc/flux/snapshots/SnapshotShardFailure; java/lang/Integer ? /com/groupbyinc/flux/ElasticsearchParseException ? index name was not set ? ((Ljava/lang/String;[Ljava/lang/Object;)V ?
? ? [Ljava/lang/Object; ? index shard was not set ? _na_ ? intValue ? D
? ? ((Ljava/lang/String;Ljava/lang/String;I)V ?
6 ? ? valueOf 9(Ljava/lang/String;)Lcom/groupbyinc/flux/rest/RestStatus; ? ?
' ?
nonNullReason
restStatus args indexUuid
intShardId Ljava/lang/Integer; fromXContent j(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/snapshots/SnapshotShardFailure; ?