
com.groupbyinc.flux.snapshots.SnapshotsService$6.class Maven / Gradle / Ivy
???? 3 ? 0com/groupbyinc/flux/snapshots/SnapshotsService$6 2com/groupbyinc/flux/cluster/ClusterStateUpdateTask SnapshotsService.java .com/groupbyinc/flux/snapshots/SnapshotsService removeSnapshotFromClusterState u(Lcom/groupbyinc/flux/cluster/metadata/SnapshotId;Lcom/groupbyinc/flux/snapshots/SnapshotInfo;Ljava/lang/Throwable;)V 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 val$snapshotId 1Lcom/groupbyinc/flux/cluster/metadata/SnapshotId; val$snapshot ,Lcom/groupbyinc/flux/snapshots/SnapshotInfo; val$t Ljava/lang/Throwable; this$0 0Lcom/groupbyinc/flux/snapshots/SnapshotsService; ?(Lcom/groupbyinc/flux/snapshots/SnapshotsService;Lcom/groupbyinc/flux/cluster/metadata/SnapshotId;Lcom/groupbyinc/flux/snapshots/SnapshotInfo;Ljava/lang/Throwable;)V ! " % ' ) + ()V # -
. this 2Lcom/groupbyinc/flux/snapshots/SnapshotsService$6; execute V(Lcom/groupbyinc/flux/cluster/ClusterState;)Lcom/groupbyinc/flux/cluster/ClusterState; snapshots 4 custom E(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/ClusterState$Custom; 6 7
8 java/util/ArrayList :
; . entries ()Ljava/util/List; = >
? java/util/List A iterator ()Ljava/util/Iterator; C D B E java/util/Iterator G hasNext ()Z I J H K next ()Ljava/lang/Object; M N H O
snapshotId 3()Lcom/groupbyinc/flux/cluster/metadata/SnapshotId; Q R
S /com/groupbyinc/flux/cluster/metadata/SnapshotId U equals (Ljava/lang/Object;)Z W X
V Y add [ X
; \ size ()I ^ _
; ` toArray (([Ljava/lang/Object;)[Ljava/lang/Object; b c
; d 8[Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$Entry; f ;([Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$Entry;)V # h
i builder ^(Lcom/groupbyinc/flux/cluster/ClusterState;)Lcom/groupbyinc/flux/cluster/ClusterState$Builder; k l
m putCustom w(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/ClusterState$Custom;)Lcom/groupbyinc/flux/cluster/ClusterState$Builder; o p
q build ,()Lcom/groupbyinc/flux/cluster/ClusterState; s t
u 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/Throwable;)V access$2300 _(Lcom/groupbyinc/flux/snapshots/SnapshotsService;)Lcom/groupbyinc/flux/common/logging/ESLogger; ? ?
? '[{}] failed to remove snapshot metadata ? java/lang/Object ? +com/groupbyinc/flux/common/logging/ESLogger ? warn =(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V ? ? ? ? source Ljava/lang/String; t clusterStateProcessed i(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/cluster/ClusterState;)V java/lang/Throwable ? access$2400 ](Lcom/groupbyinc/flux/snapshots/SnapshotsService;)Ljava/util/concurrent/CopyOnWriteArrayList; ? ?
? )java/util/concurrent/CopyOnWriteArrayList ?
? E onSnapshotCompletion `(Lcom/groupbyinc/flux/cluster/metadata/SnapshotId;Lcom/groupbyinc/flux/snapshots/SnapshotInfo;)V ? ? ? onSnapshotFailure I(Lcom/groupbyinc/flux/cluster/metadata/SnapshotId;Ljava/lang/Throwable;)V ? ? ? access$2500 ? ?
? failed to notify listener [{}] ? listener KLcom/groupbyinc/flux/snapshots/SnapshotsService$SnapshotCompletionListener; oldState newState Code LocalVariableTable LineNumberTable LocalVariableTypeTable
StackMapTable
SourceFile EnclosingMethod InnerClasses ! " # $ ? N *+? &*,? (*-? **? ,*? /? ? 0 1 ! " ? / 2 3 ? Q ?+5? 9? M,? x>? ;Y? <:,? @? F :? L ? .? P ? :? T*? (? Z? >? ? ]W???? )? Y? a? ? e? g? jM+? n5,? r? v?+? ? > : w x s y z j = | ? 0 1 ? } ~
{ 4 ? j = { ? 6
2
3 4 5 6 :7 I8 N: V<