com.groupbyinc.flux.action.support.replication.ReplicationRequest.class Maven / Gradle / Ivy
???? 4 ? Acom/groupbyinc/flux/action/support/replication/ReplicationRequest ?;>Lcom/groupbyinc/flux/action/ActionRequest;Lcom/groupbyinc/flux/action/IndicesRequest; (com/groupbyinc/flux/action/ActionRequest )com/groupbyinc/flux/action/IndicesRequest ReplicationRequest.java DEFAULT_TIMEOUT +Lcom/groupbyinc/flux/common/unit/TimeValue; shardId )Lcom/groupbyinc/flux/index/shard/ShardId; timeout index Ljava/lang/String; waitForActiveShards 5Lcom/groupbyinc/flux/action/support/ActiveShardCount; routedBasedOnClusterVersion J ()V
3com/groupbyinc/flux/action/support/ActiveShardCount DEFAULT ! # this NLcom/groupbyinc/flux/action/support/replication/ReplicationRequest; CLcom/groupbyinc/flux/action/support/replication/ReplicationRequest; ,(Lcom/groupbyinc/flux/index/shard/ShardId;)V 'com/groupbyinc/flux/index/shard/ShardId ) getIndexName ()Ljava/lang/String; + ,
* - / 1 p(Lcom/groupbyinc/flux/common/unit/TimeValue;)Lcom/groupbyinc/flux/action/support/replication/ReplicationRequest; W(Ljava/lang/String;)Lcom/groupbyinc/flux/action/support/replication/ReplicationRequest; java/lang/StringBuilder 5
6 java/lang/Object 8 getClass ()Ljava/lang/Class; : ;
9 < java/lang/Class >
getSimpleName @ ,
? A append -(Ljava/lang/String;)Ljava/lang/StringBuilder; C D
6 E .timeout G toString I ,
6 J )com/groupbyinc/flux/common/unit/TimeValue L parseTimeValue |(Ljava/lang/String;Lcom/groupbyinc/flux/common/unit/TimeValue;Ljava/lang/String;)Lcom/groupbyinc/flux/common/unit/TimeValue; N O
M P
3
R -()Lcom/groupbyinc/flux/common/unit/TimeValue; indices ()[Ljava/lang/String; java/lang/String W indicesOptions 5()Lcom/groupbyinc/flux/action/support/IndicesOptions; 1com/groupbyinc/flux/action/support/IndicesOptions [ %strictSingleIndexNoExpandForbidClosed ] Z
\ ^ 7()Lcom/groupbyinc/flux/action/support/ActiveShardCount; +()Lcom/groupbyinc/flux/index/shard/ShardId; %Lcom/groupbyinc/flux/common/Nullable; z(Lcom/groupbyinc/flux/action/support/ActiveShardCount;)Lcom/groupbyinc/flux/action/support/replication/ReplicationRequest; F(I)Lcom/groupbyinc/flux/action/support/replication/ReplicationRequest; from 8(I)Lcom/groupbyinc/flux/action/support/ActiveShardCount; e f
g c
i I F(J)Lcom/groupbyinc/flux/action/support/replication/ReplicationRequest; ()J validate ?()Lcom/groupbyinc/flux/action/ActionRequestValidationException; index is missing p *com/groupbyinc/flux/action/ValidateActions r addValidationError ?(Ljava/lang/String;Lcom/groupbyinc/flux/action/ActionRequestValidationException;)Lcom/groupbyinc/flux/action/ActionRequestValidationException; t u
s v ;com/groupbyinc/flux/action/ActionRequestValidationException x validationException =Lcom/groupbyinc/flux/action/ActionRequestValidationException; readFrom 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V java/io/IOException ~ | }
? 0com/groupbyinc/flux/common/io/stream/StreamInput ? readBoolean ()Z ? ?
? ? readShardId ](Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/index/shard/ShardId; ? ?
* ? i(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/action/support/ActiveShardCount; | ?
? }
M ?
readString ? ,
? ? readVLong ? m
? ? in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; writeTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V ? ?
? 1com/groupbyinc/flux/common/io/stream/StreamOutput ? writeBoolean (Z)V ? ?
? ?
* ?
?
M ? writeString (Ljava/lang/String;)V ? ?
? ?
writeVLong (J)V ? ?
? ? out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput;
createTask i(JLjava/lang/String;Ljava/lang/String;Lcom/groupbyinc/flux/tasks/TaskId;)Lcom/groupbyinc/flux/tasks/Task; >com/groupbyinc/flux/action/support/replication/ReplicationTask ? getDescription ? ,
? \(JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/groupbyinc/flux/tasks/TaskId;)V ?
? ? id type action parentTaskId "Lcom/groupbyinc/flux/tasks/TaskId;
setShardId n(Lcom/groupbyinc/flux/index/shard/ShardId;)Lcom/groupbyinc/flux/action/support/replication/ReplicationRequest;
J onRetry java/util/concurrent/TimeUnit ? MINUTES Ljava/util/concurrent/TimeUnit; ? ? ? ? #(JLjava/util/concurrent/TimeUnit;)V ?
M ? Code LocalVariableTable LocalVariableTypeTable LineNumberTable Signature 6(Lcom/groupbyinc/flux/common/unit/TimeValue;)TRequest; (Ljava/lang/String;)TRequest; RuntimeVisibleAnnotations @(Lcom/groupbyinc/flux/action/support/ActiveShardCount;)TRequest; (I)TRequest; (J)TRequest;
StackMapTable
Exceptions 4(Lcom/groupbyinc/flux/index/shard/ShardId;)TRequest;
SourceFile!
? d *? *? ? *? ? "* ? $? ? % ' ? % &