
com.groupbyinc.flux.snapshots.SnapshotsService$1.class Maven / Gradle / Ivy
???? 3 ? 0com/groupbyinc/flux/snapshots/SnapshotsService$1 2com/groupbyinc/flux/cluster/ClusterStateUpdateTask SnapshotsService.java .com/groupbyinc/flux/snapshots/SnapshotsService createSnapshot ?(Lcom/groupbyinc/flux/snapshots/SnapshotsService$SnapshotRequest;Lcom/groupbyinc/flux/snapshots/SnapshotsService$CreateSnapshotListener;)V 2com/groupbyinc/flux/snapshots/SnapshotsService$1$1 5com/groupbyinc/flux/cluster/SnapshotsInProgress$Entry
/com/groupbyinc/flux/cluster/SnapshotsInProgress Entry >com/groupbyinc/flux/snapshots/SnapshotsService$SnapshotRequest SnapshotRequest Ecom/groupbyinc/flux/snapshots/SnapshotsService$CreateSnapshotListener CreateSnapshotListener /com/groupbyinc/flux/threadpool/ThreadPool$Names )com/groupbyinc/flux/threadpool/ThreadPool Names /com/groupbyinc/flux/cluster/ClusterState$Custom (com/groupbyinc/flux/cluster/ClusterState Custom 5com/groupbyinc/flux/cluster/SnapshotsInProgress$State " State 0com/groupbyinc/flux/cluster/ClusterState$Builder % Builder newSnapshot 7Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$Entry; val$request @Lcom/groupbyinc/flux/snapshots/SnapshotsService$SnapshotRequest; val$snapshotId 1Lcom/groupbyinc/flux/cluster/metadata/SnapshotId; val$listener GLcom/groupbyinc/flux/snapshots/SnapshotsService$CreateSnapshotListener; this$0 0Lcom/groupbyinc/flux/snapshots/SnapshotsService; ?(Lcom/groupbyinc/flux/snapshots/SnapshotsService;Lcom/groupbyinc/flux/snapshots/SnapshotsService$SnapshotRequest;Lcom/groupbyinc/flux/cluster/metadata/SnapshotId;Lcom/groupbyinc/flux/snapshots/SnapshotsService$CreateSnapshotListener;)V 0 1 4 * + 6 , - 8 . / : ()V 2 <
= ( ) ? this 2Lcom/groupbyinc/flux/snapshots/SnapshotsService$1; execute V(Lcom/groupbyinc/flux/cluster/ClusterState;)Lcom/groupbyinc/flux/cluster/ClusterState;
access$000 ?(Lcom/groupbyinc/flux/snapshots/SnapshotsService;Lcom/groupbyinc/flux/snapshots/SnapshotsService$SnapshotRequest;Lcom/groupbyinc/flux/cluster/ClusterState;)V E F
G snapshots I custom E(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/ClusterState$Custom; K L
M entries ()Ljava/util/List; O P
Q java/util/List S isEmpty ()Z U V T W
access$100 t(Lcom/groupbyinc/flux/snapshots/SnapshotsService;)Lcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver; Y Z
[ indicesOptions 5()Lcom/groupbyinc/flux/action/support/IndicesOptions; ] ^
_ indices ()[Ljava/lang/String; a b
c @com/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver e concreteIndices ?(Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/action/support/IndicesOptions;[Ljava/lang/String;)[Ljava/lang/String; g h
f i java/util/Arrays k asList %([Ljava/lang/Object;)Ljava/util/List; m n
l o
access$200 _(Lcom/groupbyinc/flux/snapshots/SnapshotsService;)Lcom/groupbyinc/flux/common/logging/ESLogger; q r
s +[{}][{}] creating snapshot for indices [{}] u java/lang/Object w
repository ()Ljava/lang/String; y z
{ name } z
~ +com/groupbyinc/flux/common/logging/ESLogger ? trace ((Ljava/lang/String;[Ljava/lang/Object;)V ? ? ? ? includeGlobalState ? V
? INIT 7Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$State; ? ? # ? java/lang/System ? currentTimeMillis ()J ? ?
? ? ?(Lcom/groupbyinc/flux/cluster/metadata/SnapshotId;ZLcom/groupbyinc/flux/cluster/SnapshotsInProgress$State;Ljava/util/List;JLcom/groupbyinc/flux/common/google/common/collect/ImmutableMap;)V 2 ?
? ;([Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$Entry;)V 2 ?
? Bcom/groupbyinc/flux/snapshots/ConcurrentSnapshotExecutionException ? a snapshot is already running ? F(Lcom/groupbyinc/flux/cluster/metadata/SnapshotId;Ljava/lang/String;)V 2 ?
? ? builder ^(Lcom/groupbyinc/flux/cluster/ClusterState;)Lcom/groupbyinc/flux/cluster/ClusterState$Builder; ? ?
? putCustom w(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/ClusterState$Custom;)Lcom/groupbyinc/flux/cluster/ClusterState$Builder; ? ?
&