
com.groupbyinc.flux.indices.recovery.RecoveryState$Index.class Maven / Gradle / Ivy
???? 3? 8com/groupbyinc/flux/indices/recovery/RecoveryState$Index 8com/groupbyinc/flux/indices/recovery/RecoveryState$Timer .com/groupbyinc/flux/common/xcontent/ToXContent /com/groupbyinc/flux/common/io/stream/Streamable RecoveryState.java 7com/groupbyinc/flux/indices/recovery/RecoveryState$File
2com/groupbyinc/flux/indices/recovery/RecoveryState File Index 5com/groupbyinc/flux/common/xcontent/ToXContent$Params Params Timer 9com/groupbyinc/flux/indices/recovery/RecoveryState$Fields Fields fileDetails Ljava/util/Map; \Ljava/util/Map; UNKNOWN J???????? version sourceThrottlingInNanos targetThrottleTimeInNanos $assertionsDisabled Z ()V # $
% java/util/HashMap '
( % * , . 0 this :Lcom/groupbyinc/flux/indices/recovery/RecoveryState$Index; ()Ljava/util/List; java/util/ArrayList 5
java/util/Map 7 values ()Ljava/util/Collection; 9 : 8 ; (Ljava/util/Collection;)V # =
6 > java/util/Collections @ unmodifiableList "(Ljava/util/List;)Ljava/util/List; B C
A D reset F $
G clear I $ 8 J
addFileDetail (Ljava/lang/String;JZ)V # M
N put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; P Q 8 R ! " T java/lang/AssertionError V java/lang/StringBuilder X
Y % file [ [ append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ] ^
Y _ ] is already reported a toString ()Ljava/lang/String; c d
Y e (Ljava/lang/Object;)V # g
W h name Ljava/lang/String; length reused file 9Lcom/groupbyinc/flux/indices/recovery/RecoveryState$File; existing addRecoveredBytesToFile (Ljava/lang/String;J)V get &(Ljava/lang/Object;)Ljava/lang/Object; s t 8 u addRecoveredBytes (J)V w x
y bytes ()J addSourceThrottling timeInNanos addTargetThrottling sourceThrottling -()Lcom/groupbyinc/flux/common/unit/TimeValue; )com/groupbyinc/flux/common/unit/TimeValue ? timeValueNanos .(J)Lcom/groupbyinc/flux/common/unit/TimeValue; ? ?
? ? targetThrottling totalFileCount ()I size ? ? 8 ? totalRecoverFiles java/util/Collection ? iterator ()Ljava/util/Iterator; ? ? ? ? java/util/Iterator ? hasNext ()Z ? ? ? ? next ()Ljava/lang/Object; ? ? ? ? m ?
? total I recoveredFileCount fullyRecovered ? ?
? count recoveredFilesPercent ()FB? result F recovered
totalBytes l |
? recoveredBytes ? |
? totalRecoverBytes totalReuseBytes recoveredBytesPercent reusedFileCount reusedBytes
updateVersion readFrom 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V java/io/IOException ? ? ?
? 0com/groupbyinc/flux/common/io/stream/StreamInput ? readVInt ? ?
? ? readFile m(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/indices/recovery/RecoveryState$File; ? ?
?
access$000 M(Lcom/groupbyinc/flux/indices/recovery/RecoveryState$File;)Ljava/lang/String; ? ?
? readLong ? |
? ? i in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; writeTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V ? ?
? toArray (([Ljava/lang/Object;)[Ljava/lang/Object; ? ? ? ? :[Lcom/groupbyinc/flux/indices/recovery/RecoveryState$File; ? 1com/groupbyinc/flux/common/io/stream/StreamOutput ? writeVInt (I)V ? ?
? ?
? writeLong ? x
? ? out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput; files
toXContent ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; SIZE ;Lcom/groupbyinc/flux/common/xcontent/XContentBuilderString; ? ? ? 3com/groupbyinc/flux/common/xcontent/XContentBuilder ? startObject r(Lcom/groupbyinc/flux/common/xcontent/XContentBuilderString;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
? ? TOTAL_IN_BYTES ? ? ? TOTAL ? ? ? ? |
?
byteSizeField ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilderString;Lcom/groupbyinc/flux/common/xcontent/XContentBuilderString;J)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
? REUSED_IN_BYTES ? REUSED ? ? |
RECOVERED_IN_BYTES
? RECOVERED
? ? |
PERCENT ? java/util/Locale ROOT Ljava/util/Locale; %1.1f%% java/lang/Object ? ?
java/lang/Float! valueOf (F)Ljava/lang/Float;#$
"% java/lang/String' format K(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;)*
(+ field ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilderString;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;-.
?/ endObject 7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;12
?3 FILES5 ? 6 ? ?
8 s(Lcom/groupbyinc/flux/common/xcontent/XContentBuilderString;I)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;-:
?; ? ?
= ? ?
? ? ?
A detailsC paramAsBoolean (Ljava/lang/String;Z)ZEF G DETAILSI ? J
startArrayL ?
?M ? ?
O endArrayQ2
?R TOTAL_TIME_IN_MILLIST ? U
TOTAL_TIMEW ? X timeZ |
[ timeValueField] ?
?^ SOURCE_THROTTLE_TIME_IN_MILLIS` ? a SOURCE_THROTTLE_TIMEc ? d ? ?
f ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilderString;Lcom/groupbyinc/flux/common/xcontent/XContentBuilderString;Lcom/groupbyinc/flux/common/unit/TimeValue;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;]h
?i TARGET_THROTTLE_TIME_IN_MILLISk ? l TARGET_THROTTLE_TIMEn ? o ? ?
q builder 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; params 7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params; 3com/groupbyinc/flux/common/xcontent/XContentFactoryw jsonBuildery2
xz prettyPrint|2
?} ?2
? EMPTY_PARAMS?v ?
O string? d
??
{ "error" : "?
getMessage? d
?? "}? e Ljava/io/IOException; java/lang/Class? desiredAssertionStatus? ?
?? Signature
ConstantValue Code LocalVariableTable LineNumberTable M()Ljava/util/List;
StackMapTable
Exceptions
SourceFile InnerClasses ! ? ? ! " # $ ? _ %*? &*? (Y? )? +* ? -* ? /* ? 1? ? % 2 3 ? ? ? ? ? ? ! 4 ? > ? 6Y*? +? < ? ?? E? ? 2 3 ? ?? ? ! F $ ? a #*? H* ? -*? +? K * ? /* ? 1? ? # 2 3 ? ? ? ? ? ? "? ! L M ? ? J? Y+ ? O:*? ++? S ? :? U? (? #? WY? YY? Z\? `+? `b? `? f? i?? ? > J 2 3 J j k J l J m "
= n o , p o ? ?
? ? I?? ? I ! q r ? f *? ++? v ? : ? z? ? * 2 3 j k { n o ? ? ? ? ! | ? / *? -? ? 2 3 ? ? ! } x ? h *? / ?? *? /?
*Y? /a? /? ? 2 3 ~ ? ? ? ? ?? ! x ? h *? 1 ?? *? 1?
*Y? 1a? 1? ? 2 3 ~ ? ? ? ? ?? ! ? ? ? 2 *? /? ?? ? 2 3 ? ? ! ? ? ? 2 *? 1? ?? ? 2 3 ? ? ! ? ? ? 4
*? +? ? ? ?
2 3 ? ! ? ? ? ? 3<*? +? < ? ? M,? ? ? ,? ? ? N-? ?? ????? ? $
n o 3 2 3 1 ? ? ?
$ + . 1?
? ?? ! ? ? ? ? 3<*? +? < ? ? M,? ? ? ,? ? ? N-? ?? ????? ? $
n o 3 2 3 1 ? ? ? $ + . 1?
? ?? ! ? ? ? e<=*? +? < ? ? N-? ? ? '-? ? ? :? ?? ?? ?? ????? *? +? ? ? ?? ?????njF%? ? 4 ' n o c ? ? e 2 3 c ? ? a ? ? ? : $ % &