com.groupbyinc.flux.indices.recovery.RecoveryState.class Maven / Gradle / Ivy
???? 4? 2com/groupbyinc/flux/indices/recovery/RecoveryState java/lang/Object .com/groupbyinc/flux/common/xcontent/ToXContent /com/groupbyinc/flux/common/io/stream/Streamable RecoveryState.java 4com/groupbyinc/flux/indices/recovery/RecoveryState$1
8com/groupbyinc/flux/indices/recovery/RecoveryState$Index Index 7com/groupbyinc/flux/indices/recovery/RecoveryState$File File ;com/groupbyinc/flux/indices/recovery/RecoveryState$Translog Translog >com/groupbyinc/flux/indices/recovery/RecoveryState$VerifyIndex VerifyIndex 8com/groupbyinc/flux/indices/recovery/RecoveryState$Timer Timer 9com/groupbyinc/flux/indices/recovery/RecoveryState$Fields Fields 8com/groupbyinc/flux/indices/recovery/RecoveryState$Stage Stage 5com/groupbyinc/flux/common/xcontent/ToXContent$Params ! Params 7com/groupbyinc/flux/cluster/routing/RecoverySource$Type $ 2com/groupbyinc/flux/cluster/routing/RecoverySource & Type 5com/groupbyinc/flux/common/io/stream/Writeable$Reader ) .com/groupbyinc/flux/common/io/stream/Writeable + Reader %java/lang/invoke/MethodHandles$Lookup . java/lang/invoke/MethodHandles 0 Lookup stage :Lcom/groupbyinc/flux/indices/recovery/RecoveryState$Stage; index :Lcom/groupbyinc/flux/indices/recovery/RecoveryState$Index; translog =Lcom/groupbyinc/flux/indices/recovery/RecoveryState$Translog; verifyIndex @Lcom/groupbyinc/flux/indices/recovery/RecoveryState$VerifyIndex; timer :Lcom/groupbyinc/flux/indices/recovery/RecoveryState$Timer; recoverySource 4Lcom/groupbyinc/flux/cluster/routing/RecoverySource; shardId )Lcom/groupbyinc/flux/index/shard/ShardId;
sourceNode 0Lcom/groupbyinc/flux/cluster/node/DiscoveryNode; %Lcom/groupbyinc/flux/common/Nullable;
targetNode primary Z $assertionsDisabled ()V H I
J
J 5 6 M
J 7 8 P
J 9 : S
J ; < V E F X this 4Lcom/groupbyinc/flux/indices/recovery/RecoveryState; ?(Lcom/groupbyinc/flux/cluster/routing/ShardRouting;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;)V G F ] 0com/groupbyinc/flux/cluster/routing/ShardRouting _ initializing ()Z a b
` c java/lang/AssertionError e java/lang/StringBuilder g
h J 7only allow initializing shard routing to be recovered: j append -(Ljava/lang/String;)Ljava/lang/StringBuilder; l m
h n -(Ljava/lang/Object;)Ljava/lang/StringBuilder; l p
h q toString ()Ljava/lang/String; s t
h u (Ljava/lang/Object;)V H w
f x .com/groupbyinc/flux/cluster/node/DiscoveryNode z 6()Lcom/groupbyinc/flux/cluster/routing/RecoverySource; = |
` } getType ;()Lcom/groupbyinc/flux/cluster/routing/RecoverySource$Type; ?
' ? PEER 9Lcom/groupbyinc/flux/cluster/routing/RecoverySource$Type; ? ? % ? 3peer recovery requires source node, recovery type: ? source node: ? +()Lcom/groupbyinc/flux/index/shard/ShardId; ? ?
` ? ? @ ? E b
` ? = > ? A B ? D B ? INIT ? 4 ? 3 4 ? start ? I
? shardRouting 2Lcom/groupbyinc/flux/cluster/routing/ShardRouting;
getShardId getStage <()Lcom/groupbyinc/flux/indices/recovery/RecoveryState$Stage; validateAndSetStage w(Lcom/groupbyinc/flux/indices/recovery/RecoveryState$Stage;Lcom/groupbyinc/flux/indices/recovery/RecoveryState$Stage;)V java/lang/IllegalStateException ? can't move recovery to stage [ ? ]. current stage: [ ?
] (expected [ ? ]) ? (Ljava/lang/String;)V H ?
? ? expected next setStage p(Lcom/groupbyinc/flux/indices/recovery/RecoveryState$Stage;)Lcom/groupbyinc/flux/indices/recovery/RecoveryState; A$SwitchMap$org$elasticsearch$indices$recovery$RecoveryState$Stage [I ? ? ? ordinal ()I ? ?
? getIndex <()Lcom/groupbyinc/flux/indices/recovery/RecoveryState$Index; ? ?
? reset ? I
? getVerifyIndex B()Lcom/groupbyinc/flux/indices/recovery/RecoveryState$VerifyIndex; ? ?
?
? getTranslog ?()Lcom/groupbyinc/flux/indices/recovery/RecoveryState$Translog; ? ?
?
? ? ?
?
? INDEX ? 4 ? stop ? I
?
? VERIFY_INDEX ? 4 ?
?
? TRANSLOG ? 4 ?
? FINALIZE ? 4 ? getTimer <()Lcom/groupbyinc/flux/indices/recovery/RecoveryState$Timer; ? ?
?
? "java/lang/IllegalArgumentException ? unknown RecoveryState.Stage [ ? ] ?
? ? getRecoverySource
getSourceNode 2()Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;
getTargetNode
getPrimary readRecoveryState h(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/indices/recovery/RecoveryState; java/io/IOException ?
J readFrom 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V ? ?
? in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput;
recoveryState
? 0com/groupbyinc/flux/common/io/stream/StreamInput readByte ()B
fromId =(B)Lcom/groupbyinc/flux/indices/recovery/RecoveryState$Stage;
'com/groupbyinc/flux/index/shard/ShardId readShardId ](Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/index/shard/ShardId;
h(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/cluster/routing/RecoverySource; ?
' H ?
{ "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;
F(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Ljava/lang/Object;! d(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;$ read 9()Lcom/groupbyinc/flux/common/io/stream/Writeable$Reader;&' ( readOptionalWriteable i(Lcom/groupbyinc/flux/common/io/stream/Writeable$Reader;)Lcom/groupbyinc/flux/common/io/stream/Writeable;*+
,
?
?
? readBoolean1 b
2 writeTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V45
6 id8
9 1com/groupbyinc/flux/common/io/stream/StreamOutput; writeByte (B)V=>
<?
6
'6
{6 writeOptionalWriteable 3(Lcom/groupbyinc/flux/common/io/stream/Writeable;)VDE
<F
6
6
6 writeBoolean (Z)VKL
<M 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;88 ?
T 3com/groupbyinc/flux/common/xcontent/XContentBuilderV field J(Ljava/lang/String;I)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;XY
WZ type\ [(Ljava/lang/String;Ljava/lang/Object;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;X^
W_ 3
u [(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Xc
Wd E J(Ljava/lang/String;Z)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Xg
Wh start_time_in_millisj
start_timel startTime Jno p dateField \(Ljava/lang/String;Ljava/lang/String;J)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;rs
Wt stopTimevo w stop_time_in_millisy stop_time{ total_time_in_millis}
total_time time ()J??
? timeValueField?s
W? source? startObject I(Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
W? getId? t
{? host? getHostName? t
{? transport_address?
getAddress 9()Lcom/groupbyinc/flux/common/transport/TransportAddress;??
{? 5com/groupbyinc/flux/common/transport/TransportAddress?? u ip? getHostAddress? t
{? name? getName? t
{? endObject 7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
W? addAdditionalFields o(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)V??
'? target? 5QR
? 7
? verify_index?
? builder 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; params 7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params; java/lang/Class? desiredAssertionStatus? b
?? RuntimeVisibleAnnotations Code LocalVariableTable LineNumberTable
StackMapTable "RuntimeVisibleParameterAnnotations
Exceptions BootstrapMethods
SourceFile InnerClasses ! 3 4 5 6 7 8 9 : ; <