com.groupbyinc.flux.indices.recovery.PeerRecoverySourceService$OngoingRecoveries.class Maven / Gradle / Ivy
???? 4 ? Pcom/groupbyinc/flux/indices/recovery/PeerRecoverySourceService$OngoingRecoveries java/lang/Object PeerRecoverySourceService.java >com/groupbyinc/flux/indices/recovery/PeerRecoverySourceService OngoingRecoveries ecom/groupbyinc/flux/indices/recovery/PeerRecoverySourceService$OngoingRecoveries$ShardRecoveryContext ShardRecoveryContext @com/groupbyinc/flux/indices/recovery/PeerRecoverySourceService$1 %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup ongoingRecoveries Ljava/util/Map; ?Ljava/util/Map; $assertionsDisabled Z this$0 @Lcom/groupbyinc/flux/indices/recovery/PeerRecoverySourceService; C(Lcom/groupbyinc/flux/indices/recovery/PeerRecoverySourceService;)V ()V
java/util/HashMap !
" $ this RLcom/groupbyinc/flux/indices/recovery/PeerRecoverySourceService$OngoingRecoveries; addNewRecovery ?(Lcom/groupbyinc/flux/indices/recovery/StartRecoveryRequest;Lcom/groupbyinc/flux/index/shard/IndexShard;)Lcom/groupbyinc/flux/indices/recovery/RecoverySourceHandler; "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; , -
+ . / &(Ljava/lang/Object;)Ljava/lang/Object; 1 lambda$addNewRecovery$0 ?(Lcom/groupbyinc/flux/index/shard/IndexShard;)Lcom/groupbyinc/flux/indices/recovery/PeerRecoverySourceService$OngoingRecoveries$ShardRecoveryContext; 3 4
5 6 4 apply q(Lcom/groupbyinc/flux/indices/recovery/PeerRecoverySourceService$OngoingRecoveries;)Ljava/util/function/Function; 9 : ;
java/util/Map = computeIfAbsent C(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object; ? @ > A ( )
C *com/groupbyinc/flux/index/shard/IndexShard E
recoveryStats 4()Lcom/groupbyinc/flux/index/recovery/RecoveryStats; G H
F I 0com/groupbyinc/flux/index/recovery/RecoveryStats K incCurrentAsSource M
L N request ;Lcom/groupbyinc/flux/indices/recovery/StartRecoveryRequest; shard ,Lcom/groupbyinc/flux/index/shard/IndexShard; shardContext gLcom/groupbyinc/flux/indices/recovery/PeerRecoverySourceService$OngoingRecoveries$ShardRecoveryContext; handler