com.groupbyinc.flux.snapshots.SnapshotsService$5.class Maven / Gradle / Ivy
???? 4 ? 0com/groupbyinc/flux/snapshots/SnapshotsService$5 2com/groupbyinc/flux/cluster/ClusterStateUpdateTask SnapshotsService.java .com/groupbyinc/flux/snapshots/SnapshotsService removeSnapshotFromClusterState ?(Lcom/groupbyinc/flux/snapshots/Snapshot;Lcom/groupbyinc/flux/snapshots/SnapshotInfo;Ljava/lang/Exception;Lcom/groupbyinc/flux/snapshots/SnapshotsService$CleanupAfterErrorListener;)V Hcom/groupbyinc/flux/snapshots/SnapshotsService$CleanupAfterErrorListener CleanupAfterErrorListener 5com/groupbyinc/flux/cluster/SnapshotsInProgress$Entry /com/groupbyinc/flux/cluster/SnapshotsInProgress Entry Icom/groupbyinc/flux/snapshots/SnapshotsService$SnapshotCompletionListener SnapshotCompletionListener /com/groupbyinc/flux/cluster/ClusterState$Custom (com/groupbyinc/flux/cluster/ClusterState Custom 0com/groupbyinc/flux/cluster/ClusterState$Builder Builder %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup val$snapshot (Lcom/groupbyinc/flux/snapshots/Snapshot; val$listener JLcom/groupbyinc/flux/snapshots/SnapshotsService$CleanupAfterErrorListener; val$snapshotInfo ,Lcom/groupbyinc/flux/snapshots/SnapshotInfo; val$failure Ljava/lang/Exception; this$0 0Lcom/groupbyinc/flux/snapshots/SnapshotsService; ?(Lcom/groupbyinc/flux/snapshots/SnapshotsService;Lcom/groupbyinc/flux/snapshots/Snapshot;Lcom/groupbyinc/flux/snapshots/SnapshotsService$CleanupAfterErrorListener;Lcom/groupbyinc/flux/snapshots/SnapshotInfo;Ljava/lang/Exception;)V + , / # $ 1 % & 3 ' ( 5 ) * 7 ()V - 9
: this 2Lcom/groupbyinc/flux/snapshots/SnapshotsService$5; execute V(Lcom/groupbyinc/flux/cluster/ClusterState;)Lcom/groupbyinc/flux/cluster/ClusterState; snapshots @ custom E(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/ClusterState$Custom; B C
D java/util/ArrayList F
G : entries ()Ljava/util/List; I J
K java/util/List M iterator ()Ljava/util/Iterator; O P N Q java/util/Iterator S hasNext ()Z U V T W next ()Ljava/lang/Object; Y Z T [ snapshot *()Lcom/groupbyinc/flux/snapshots/Snapshot; ] ^
_ &com/groupbyinc/flux/snapshots/Snapshot a equals (Ljava/lang/Object;)Z c d
b e add g d
G h size ()I j k
G l toArray (([Ljava/lang/Object;)[Ljava/lang/Object; n o
G p 8[Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$Entry; r ;([Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$Entry;)V - t
u builder ^(Lcom/groupbyinc/flux/cluster/ClusterState;)Lcom/groupbyinc/flux/cluster/ClusterState$Builder; w x
y putCustom w(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/ClusterState$Custom;)Lcom/groupbyinc/flux/cluster/ClusterState$Builder; { |
} build ,()Lcom/groupbyinc/flux/cluster/ClusterState; ?
? entry 7Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$Entry; changed Z NLjava/util/ArrayList; Ljava/util/ArrayList; currentState *Lcom/groupbyinc/flux/cluster/ClusterState; 1Lcom/groupbyinc/flux/cluster/SnapshotsInProgress; onFailure *(Ljava/lang/String;Ljava/lang/Exception;)V access$2300 S(Lcom/groupbyinc/flux/snapshots/SnapshotsService;)Lorg/apache/logging/log4j/Logger; ? ?
? "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; ? ?
? ? ? ,()Lorg/apache/logging/log4j/message/Message; ? lambda$onFailure$0 T(Lcom/groupbyinc/flux/snapshots/Snapshot;)Lorg/apache/logging/log4j/message/Message; ? ?
? ? get Y(Lcom/groupbyinc/flux/snapshots/Snapshot;)Lorg/apache/logging/log4j/util/MessageSupplier; ? ? ? org/apache/logging/log4j/Logger ? warn G(Lorg/apache/logging/log4j/util/MessageSupplier;Ljava/lang/Throwable;)V ? ? ? ? (Ljava/lang/Exception;)V ? ?
? source Ljava/lang/String; e onNoLongerMaster (Ljava/lang/String;)V ? ?
? clusterStateProcessed i(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/cluster/ClusterState;)V java/lang/Exception ? access$2400 ](Lcom/groupbyinc/flux/snapshots/SnapshotsService;)Ljava/util/concurrent/CopyOnWriteArrayList; ? ?
? )java/util/concurrent/CopyOnWriteArrayList ?
? Q onSnapshotCompletion W(Lcom/groupbyinc/flux/snapshots/Snapshot;Lcom/groupbyinc/flux/snapshots/SnapshotInfo;)V ? ? ? onSnapshotFailure @(Lcom/groupbyinc/flux/snapshots/Snapshot;Ljava/lang/Exception;)V ? ? ? access$2500 ? ?
? lambda$clusterStateProcessed$1 w(Lcom/groupbyinc/flux/snapshots/SnapshotsService$SnapshotCompletionListener;)Lorg/apache/logging/log4j/message/Message; ? ?
? ? |(Lcom/groupbyinc/flux/snapshots/SnapshotsService$SnapshotCompletionListener;)Lorg/apache/logging/log4j/util/MessageSupplier; ? ? ?
onResponse /(Lcom/groupbyinc/flux/snapshots/SnapshotInfo;)V ? ?
? t listener KLcom/groupbyinc/flux/snapshots/SnapshotsService$SnapshotCompletionListener; oldState newState 5org/apache/logging/log4j/message/ParameterizedMessage ? failed to notify listener [{}] ? '(Ljava/lang/String;Ljava/lang/Object;)V - ?
? ? '[{}] failed to remove snapshot metadata ? Code LocalVariableTable LineNumberTable LocalVariableTypeTable
StackMapTable BootstrapMethods
SourceFile EnclosingMethod InnerClasses # $ % &