com.groupbyinc.flux.snapshots.RestoreService$CleanRestoreStateTaskExecutor.class Maven / Gradle / Ivy
???? 4 Jcom/groupbyinc/flux/snapshots/RestoreService$CleanRestoreStateTaskExecutor ?Ljava/lang/Object;Lcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor;Lcom/groupbyinc/flux/cluster/ClusterStateTaskListener; java/lang/Object 4com/groupbyinc/flux/cluster/ClusterStateTaskExecutor 4com/groupbyinc/flux/cluster/ClusterStateTaskListener RestoreService.java ,com/groupbyinc/flux/snapshots/RestoreService CleanRestoreStateTaskExecutor Ocom/groupbyinc/flux/snapshots/RestoreService$CleanRestoreStateTaskExecutor$Task Task Gcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor$ClusterTasksResult ClusterTasksResult 3com/groupbyinc/flux/cluster/RestoreInProgress$Entry -com/groupbyinc/flux/cluster/RestoreInProgress Entry Ocom/groupbyinc/flux/cluster/ClusterStateTaskExecutor$ClusterTasksResult$Builder Builder ;com/groupbyinc/flux/common/collect/ImmutableOpenMap$Builder 3com/groupbyinc/flux/common/collect/ImmutableOpenMap /com/groupbyinc/flux/cluster/ClusterState$Custom (com/groupbyinc/flux/cluster/ClusterState " Custom 0com/groupbyinc/flux/cluster/ClusterState$Builder % %java/lang/invoke/MethodHandles$Lookup ' java/lang/invoke/MethodHandles ) Lookup logger 8Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger; ;(Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger;)V ()V . 0
1 , - 3 this LLcom/groupbyinc/flux/snapshots/RestoreService$CleanRestoreStateTaskExecutor; execute ?(Lcom/groupbyinc/flux/cluster/ClusterState;Ljava/util/List;)Lcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor$ClusterTasksResult; java/lang/Exception 9 builder S()Lcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor$ClusterTasksResult$Builder; ; <
= successes g(Ljava/lang/Iterable;)Lcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor$ClusterTasksResult$Builder; ? @
A java/util/List C stream ()Ljava/util/stream/Stream; E F D G "java/lang/invoke/LambdaMetafactory I 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; K L
J M N &(Ljava/lang/Object;)Ljava/lang/Object; P lambda$execute$0 {(Lcom/groupbyinc/flux/snapshots/RestoreService$CleanRestoreStateTaskExecutor$Task;)Lcom/groupbyinc/flux/snapshots/Snapshot; R S
T U S apply ()Ljava/util/function/Function; X Y Z java/util/stream/Stream \ map 8(Ljava/util/function/Function;)Ljava/util/stream/Stream; ^ _ ] ` java/util/stream/Collectors b toSet ()Ljava/util/stream/Collector; d e
c f collect 0(Ljava/util/stream/Collector;)Ljava/lang/Object; h i ] j
java/util/Set l java/util/ArrayList n
o 1 restore q custom E(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/ClusterState$Custom; s t
# u entries ()Ljava/util/List; w x
y iterator ()Ljava/util/Iterator; { | D } java/util/Iterator hasNext ()Z ? ? ? ? next ()Ljava/lang/Object; ? ? ? ? snapshot *()Lcom/groupbyinc/flux/snapshots/Snapshot; ? ?
? contains (Ljava/lang/Object;)Z ? ? m ? add ? ? D ? build u(Lcom/groupbyinc/flux/cluster/ClusterState;)Lcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor$ClusterTasksResult; ? ?
? size ()I ? ? D ? toArray (([Ljava/lang/Object;)[Ljava/lang/Object; ? ? D ? 6[Lcom/groupbyinc/flux/cluster/RestoreInProgress$Entry; ? 9([Lcom/groupbyinc/flux/cluster/RestoreInProgress$Entry;)V . ?
?
getCustoms 7()Lcom/groupbyinc/flux/common/collect/ImmutableOpenMap; ? ?
# ? t(Lcom/groupbyinc/flux/common/collect/ImmutableOpenMap;)Lcom/groupbyinc/flux/common/collect/ImmutableOpenMap$Builder; ; ?
? put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; ? ?
? ? ?
? ^(Lcom/groupbyinc/flux/cluster/ClusterState;)Lcom/groupbyinc/flux/cluster/ClusterState$Builder; ; ?
# ? customs i(Lcom/groupbyinc/flux/common/collect/ImmutableOpenMap;)Lcom/groupbyinc/flux/cluster/ClusterState$Builder; ? ?
&