com.groupbyinc.flux.snapshots.SnapshotInfo.class Maven / Gradle / Ivy
???? 4? *com/groupbyinc/flux/snapshots/SnapshotInfo ?Ljava/lang/Object;Ljava/lang/Comparable;Lcom/groupbyinc/flux/common/xcontent/ToXContent;Lcom/groupbyinc/flux/common/io/stream/Writeable; java/lang/Object java/lang/Comparable .com/groupbyinc/flux/common/xcontent/ToXContent .com/groupbyinc/flux/common/io/stream/Writeable
SnapshotInfo.java 5com/groupbyinc/flux/common/xcontent/ToXContent$Params
Params 8com/groupbyinc/flux/common/xcontent/XContentParser$Token 2com/groupbyinc/flux/common/xcontent/XContentParser Token %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup CONTEXT_MODE_PARAM Ljava/lang/String; context_mode CONTEXT_MODE_SNAPSHOT SNAPSHOT DATE_TIME_FORMATTER 9Lcom/groupbyinc/flux/common/joda/FormatDateTimeFormatter; snapshot # UUID uuid & INDICES indices ) STATE state , REASON reason /
START_TIME
start_time 2 START_TIME_IN_MILLIS start_time_in_millis 5 END_TIME end_time 8 END_TIME_IN_MILLIS end_time_in_millis ; DURATION duration > DURATION_IN_MILLIS duration_in_millis A FAILURES failures D SHARDS shards G TOTAL total J FAILED failed M
SUCCESSFUL
successful P
VERSION_ID
version_id S VERSION version V NAME name Y TOTAL_SHARDS total_shards \ SUCCESSFUL_SHARDS successful_shards _ VERSION_INCOMPATIBLE_INTRODUCED Lcom/groupbyinc/flux/Version; VERBOSE_INTRODUCED
COMPARATOR Ljava/util/Comparator; DLjava/util/Comparator;
snapshotId *Lcom/groupbyinc/flux/snapshots/SnapshotId; -Lcom/groupbyinc/flux/snapshots/SnapshotState; %Lcom/groupbyinc/flux/common/Nullable; Ljava/util/List; $Ljava/util/List; startTime J endTime totalShards I successfulShards
shardFailures FLjava/util/List; $assertionsDisabled Z j(Lcom/groupbyinc/flux/snapshots/SnapshotId;Ljava/util/List;Lcom/groupbyinc/flux/snapshots/SnapshotState;)V java/util/Collections y emptyList ()Ljava/util/List; { |
z } ?(Lcom/groupbyinc/flux/snapshots/SnapshotId;Ljava/util/List;Lcom/groupbyinc/flux/snapshots/SnapshotState;Ljava/lang/String;Lcom/groupbyinc/flux/Version;JJIILjava/util/List;)V w
? this ,Lcom/groupbyinc/flux/snapshots/SnapshotInfo; >(Lcom/groupbyinc/flux/snapshots/SnapshotId;Ljava/util/List;J)V +com/groupbyinc/flux/snapshots/SnapshotState ? IN_PROGRESS ? i ? ? com/groupbyinc/flux/Version ? CURRENT ? b ? ? b(Lcom/groupbyinc/flux/snapshots/SnapshotId;Ljava/util/List;JLjava/lang/String;JILjava/util/List;)V
snapshotState Q(Ljava/lang/String;Ljava/util/List;)Lcom/groupbyinc/flux/snapshots/SnapshotState; ? ?
? java/util/List ? size ()I ? ? ? ? ()V w ?
? java/util/Objects ? requireNonNull &(Ljava/lang/Object;)Ljava/lang/Object; ? ?
? ? (com/groupbyinc/flux/snapshots/SnapshotId ? g h ? unmodifiableList "(Ljava/util/List;)Ljava/util/List; ? ?
z ? ) k ? , i ? / ? V b ? m n ? o n ? p q ? r q ? s k ? 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V java/io/IOException ? w ?
? ? 0com/groupbyinc/flux/common/io/stream/StreamInput ? readVInt ? ?
? ? java/util/ArrayList ?
? ?
readString ()Ljava/lang/String; ? ?
? ? add (Ljava/lang/Object;)Z ? ? ? ?
getVersion ()Lcom/groupbyinc/flux/Version; ? ?
? ? c b ? onOrAfter (Lcom/groupbyinc/flux/Version;)Z ? ?
? ? readBoolean ()Z ? ?
? ? readByte ()B ? ?
? ? fromValue 0(B)Lcom/groupbyinc/flux/snapshots/SnapshotState; ? ?
? ? readOptionalString ? ?
? ? readVLong ()J ? ?
? ? 2com/groupbyinc/flux/snapshots/SnapshotShardFailure ? readSnapshotShardFailure h(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/snapshots/SnapshotShardFailure; ? ?
? ? a b ? before ? ?
? ? readVersion Q(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/Version; ? ?
? ? i failureBuilder in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; indicesListBuilder incompatible X(Lcom/groupbyinc/flux/snapshots/SnapshotId;)Lcom/groupbyinc/flux/snapshots/SnapshotInfo; INCOMPATIBLE i ? gthe snapshot is incompatible with the current version of Elasticsearch and its exact version is unknown basic .()Lcom/groupbyinc/flux/snapshots/SnapshotInfo; w x
,()Lcom/groupbyinc/flux/snapshots/SnapshotId; /()Lcom/groupbyinc/flux/snapshots/SnapshotState; failedShards compareTo /(Lcom/groupbyinc/flux/snapshots/SnapshotInfo;)I d e java/util/Comparator compare '(Ljava/lang/Object;Ljava/lang/Object;)I o equals getClass ()Ljava/lang/Class;
?
?! Ljava/lang/Object; that hashCode% ?
?& java/lang/Long( (J)I%*
)+ result toString java/lang/StringBuilder/
0 ? SnapshotInfo[snapshotId=2 append -(Ljava/lang/String;)Ljava/lang/StringBuilder;45
06 -(Ljava/lang/Object;)Ljava/lang/StringBuilder;48
09 , state=;
, indices== ]?. ?
0A status '()Lcom/groupbyinc/flux/rest/RestStatus; L i ?E #com/groupbyinc/flux/rest/RestStatusG INTERNAL_SERVER_ERROR %Lcom/groupbyinc/flux/rest/RestStatus;IJ HK OKMJ HN 8com/groupbyinc/flux/action/ShardOperationFailedExceptionP toArray (([Ljava/lang/Object;)[Ljava/lang/Object;RS ?T ;[Lcom/groupbyinc/flux/action/ShardOperationFailedException;V d(II[Lcom/groupbyinc/flux/action/ShardOperationFailedException;)Lcom/groupbyinc/flux/rest/RestStatus;CX
HY
toXContent ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; param &(Ljava/lang/String;)Ljava/lang/String;]^ _ java/lang/Stringa
b! toXContentSnapshotd\
e verboseg paramAsBoolean (Ljava/lang/String;Z)Zij k 3com/groupbyinc/flux/common/xcontent/XContentBuilderm startObject 7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;op
nq getNames ?
?t field [(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;vw
nx getUUIDz ?
?{ id} q ?~ J(Ljava/lang/String;I)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;v?
n?
?A
startArray I(Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
n? iterator ()Ljava/util/Iterator;?? ?? java/util/Iterator? hasNext? ??? next ()Ljava/lang/Object;???? value??
n? endArray?p
n? [(Ljava/lang/String;Ljava/lang/Object;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;v?
n? ! " ? 7com/groupbyinc/flux/common/joda/FormatDateTimeFormatter? printer A()Lcom/groupbyinc/flux/common/joda/time/format/DateTimeFormatter;??
?? =com/groupbyinc/flux/common/joda/time/format/DateTimeFormatter? print (J)Ljava/lang/String;??
?? J(Ljava/lang/String;J)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;v?
n? timeValueField \(Ljava/lang/String;Ljava/lang/String;J)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
n? isEmpty? ? ??[\
?? endObject?p
n?o?
n? ?
? index shardFailure 4Lcom/groupbyinc/flux/snapshots/SnapshotShardFailure; builder 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; params 7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params; u v ? java/lang/AssertionError? Bversion must always be known when writing a snapshot metadata blob? (Ljava/lang/Object;)V w?
?? fromXContent b(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/snapshots/SnapshotInfo; currentToken <()Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token;?? ? nextToken?? ? START_OBJECT :Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token;?? ? currentName? ? ?
END_OBJECT?? ?
FIELD_NAME?? ? isValue? ?
? text? ? ? valueOf A(Ljava/lang/String;)Lcom/groupbyinc/flux/snapshots/SnapshotState;??
?? longValue? ? ? intValue? ? ? fromId (I)Lcom/groupbyinc/flux/Version;??
?? START_ARRAY?? ? END_ARRAY?? ?
? ? j(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/snapshots/SnapshotShardFailure;?
? skipChildren ? /com/groupbyinc/flux/ElasticsearchParseException unexpected token [ ((Ljava/lang/String;[Ljava/lang/Object;)V w
'(Ljava/lang/String;Ljava/lang/String;)V w
? indicesArray )Ljava/util/ArrayList; Ljava/util/ArrayList; shardFailureArrayList KLjava/util/ArrayList; currentFieldName parser 4Lcom/groupbyinc/flux/common/xcontent/XContentParser; token writeTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V
? 1com/groupbyinc/flux/common/io/stream/StreamOutput writeVInt (I)V
! writeString (Ljava/lang/String;)V#$
%
? writeBoolean (Z)V()
*? ?
?, writeByte (B)V./
0 writeOptionalString2$
3
writeVLong (J)V56
7
? writeVersion S(Lcom/groupbyinc/flux/Version;Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V:;
?< failure versionToWrite out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput; SUCCESSB i ?C PARTIALE i ?F (Ljava/lang/Object;)I
I java/lang/ClassL desiredAssertionStatusN ?
MO strictDateOptionalTimeQ $com/groupbyinc/flux/common/joda/JodaS
forPattern M(Ljava/lang/String;)Lcom/groupbyinc/flux/common/joda/FormatDateTimeFormatter;UV
TW V_5_2_0Y b ?Z V_5_5_0\ b ?] "java/lang/invoke/LambdaMetafactory_ metafactory ?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;ab
`cd ? m ?
gh >(Lcom/groupbyinc/flux/snapshots/SnapshotInfo;)Ljava/lang/Long;j apply ()Ljava/util/function/Function;lm n comparing 5(Ljava/util/function/Function;)Ljava/util/Comparator;pqr g
tu X(Lcom/groupbyinc/flux/snapshots/SnapshotInfo;)Lcom/groupbyinc/flux/snapshots/SnapshotId;w n
thenComparingzq{
ConstantValue Signature RuntimeVisibleAnnotations Code LocalVariableTable LocalVariableTypeTable LineNumberTable ~(Lcom/groupbyinc/flux/snapshots/SnapshotId;Ljava/util/List;Lcom/groupbyinc/flux/snapshots/SnapshotState;)V R(Lcom/groupbyinc/flux/snapshots/SnapshotId;Ljava/util/List;J)V ?(Lcom/groupbyinc/flux/snapshots/SnapshotId;Ljava/util/List;JLjava/lang/String;JILjava/util/List;)V ?(Lcom/groupbyinc/flux/snapshots/SnapshotId;Ljava/util/List;Lcom/groupbyinc/flux/snapshots/SnapshotState;Ljava/lang/String;Lcom/groupbyinc/flux/Version;JJIILjava/util/List;)V
StackMapTable
Exceptions &()Ljava/util/List; H()Ljava/util/List; ?(Ljava/lang/String;Ljava/util/List;)Lcom/groupbyinc/flux/snapshots/SnapshotState; BootstrapMethods
SourceFile InnerClasses 1 &