com.groupbyinc.flux.indices.recovery.PeerRecoverySourceService$OngoingRecoveries$ShardRecoveryContext.class Maven / Gradle / Ivy
???? 4 ? ecom/groupbyinc/flux/indices/recovery/PeerRecoverySourceService$OngoingRecoveries$ShardRecoveryContext java/lang/Object PeerRecoverySourceService.java Pcom/groupbyinc/flux/indices/recovery/PeerRecoverySourceService$OngoingRecoveries >com/groupbyinc/flux/indices/recovery/PeerRecoverySourceService OngoingRecoveries ShardRecoveryContext @com/groupbyinc/flux/indices/recovery/PeerRecoverySourceService$1 %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup recoveryHandlers Ljava/util/Set; MLjava/util/Set; this$1 RLcom/groupbyinc/flux/indices/recovery/PeerRecoverySourceService$OngoingRecoveries; U(Lcom/groupbyinc/flux/indices/recovery/PeerRecoverySourceService$OngoingRecoveries;)V ()V
java/util/HashSet
" this gLcom/groupbyinc/flux/indices/recovery/PeerRecoverySourceService$OngoingRecoveries$ShardRecoveryContext; addNewRecovery ?(Lcom/groupbyinc/flux/indices/recovery/StartRecoveryRequest;Lcom/groupbyinc/flux/index/shard/IndexShard;)Lcom/groupbyinc/flux/indices/recovery/RecoverySourceHandler;
java/util/Set ( iterator ()Ljava/util/Iterator; * + ) , java/util/Iterator . hasNext ()Z 0 1 / 2 next ()Ljava/lang/Object; 4 5 / 6 :com/groupbyinc/flux/indices/recovery/RecoverySourceHandler 8
getRequest =()Lcom/groupbyinc/flux/indices/recovery/StartRecoveryRequest; : ;
9 < 9com/groupbyinc/flux/indices/recovery/StartRecoveryRequest > targetAllocationId ()Ljava/lang/String; @ A
? B java/lang/String D equals (Ljava/lang/Object;)Z F G
E H ;com/groupbyinc/flux/indices/recovery/DelayRecoveryException J precovery with same target already registered, waiting for previous recovery attempt to be cancelled or completed L (Ljava/lang/String;)V N
K O createRecoverySourceHandler Q '
R add T G ) U existingHandler