
com.groupbyinc.flux.index.deletionpolicy.SnapshotDeletionPolicy.class Maven / Gradle / Ivy
???? 3 ? ?com/groupbyinc/flux/index/deletionpolicy/SnapshotDeletionPolicy Acom/groupbyinc/flux/index/deletionpolicy/AbstractESDeletionPolicy SnapshotDeletionPolicy.java Acom/groupbyinc/flux/index/deletionpolicy/SnapshotDeletionPolicy$1 Ncom/groupbyinc/flux/index/deletionpolicy/SnapshotDeletionPolicy$SnapshotHolder SnapshotHolder acom/groupbyinc/flux/index/deletionpolicy/SnapshotDeletionPolicy$OneTimeReleaseSnapshotIndexCommit !OneTimeReleaseSnapshotIndexCommit primary DLcom/groupbyinc/flux/common/apache/lucene/index/IndexDeletionPolicy; snapshots $Ljava/util/concurrent/ConcurrentMap; ?Ljava/util/concurrent/ConcurrentMap; commits Ljava/util/List; PLjava/util/List; mutex Ljava/lang/Object;
lastCommit >Lcom/groupbyinc/flux/index/deletionpolicy/SnapshotIndexCommit; $assertionsDisabled Z G(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexDeletionPolicy;)V *Lcom/groupbyinc/flux/common/inject/Inject; .Lcom/groupbyinc/flux/common/inject/name/Named; value actual 3com/groupbyinc/flux/index/shard/IndexShardComponent " shardId +()Lcom/groupbyinc/flux/index/shard/ShardId; $ % # &
indexSettings 0()Lcom/groupbyinc/flux/common/settings/Settings; ( ) # * Z(Lcom/groupbyinc/flux/index/shard/ShardId;Lcom/groupbyinc/flux/common/settings/Settings;)V ,
- @com/groupbyinc/flux/common/util/concurrent/ConcurrentCollections / newConcurrentMap &()Ljava/util/concurrent/ConcurrentMap; 1 2
0 3 5 java/lang/Object 7 ()V 9
8 : < > this ALcom/groupbyinc/flux/index/deletionpolicy/SnapshotDeletionPolicy; onInit (Ljava/util/List;)V java/io/IOException D java/util/List F isEmpty ()Z H I G J onCommit L C
M OLjava/util/List<+Lcom/groupbyinc/flux/common/apache/lucene/index/IndexCommit;>; P java/lang/AssertionError R Commits must not be empty T (Ljava/lang/Object;)V V
S W wrapCommits "(Ljava/util/List;)Ljava/util/List; Y Z
[ Bcom/groupbyinc/flux/common/apache/lucene/index/IndexDeletionPolicy ]
^ M "java/util/concurrent/ConcurrentMap ` values ()Ljava/util/Collection; b c a d java/util/Collection f iterator ()Ljava/util/Iterator; h i g j java/util/Iterator l hasNext n I m o next ()Ljava/lang/Object; q r m s counter I u v w remove y 9 m z java/util/ArrayList |
} : G j