com.groupbyinc.flux.index.engine.CombinedDeletionPolicy.class Maven / Gradle / Ivy
???? 4 ? 7com/groupbyinc/flux/index/engine/CombinedDeletionPolicy Bcom/groupbyinc/flux/common/apache/lucene/index/IndexDeletionPolicy CombinedDeletionPolicy.java 9com/groupbyinc/flux/index/engine/CombinedDeletionPolicy$1 6com/groupbyinc/flux/index/engine/EngineConfig$OpenMode -com/groupbyinc/flux/index/engine/EngineConfig
OpenMode translogDeletionPolicy ;Lcom/groupbyinc/flux/index/translog/TranslogDeletionPolicy; openMode 8Lcom/groupbyinc/flux/index/engine/EngineConfig$OpenMode; indexDeletionPolicy GLcom/groupbyinc/flux/common/apache/lucene/index/SnapshotDeletionPolicy; $assertionsDisabled Z ?(Lcom/groupbyinc/flux/common/apache/lucene/index/SnapshotDeletionPolicy;Lcom/groupbyinc/flux/index/translog/TranslogDeletionPolicy;Lcom/groupbyinc/flux/index/engine/EngineConfig$OpenMode;)V ()V
this 9Lcom/groupbyinc/flux/index/engine/CombinedDeletionPolicy; onInit (Ljava/util/List;)V java/io/IOException $ Ecom/groupbyinc/flux/common/apache/lucene/index/SnapshotDeletionPolicy & " #
' ( ?$SwitchMap$org$elasticsearch$index$engine$EngineConfig$OpenMode [I * + , ordinal ()I . /
0 2 java/util/List 4 isEmpty ()Z 6 7 5 8 java/lang/AssertionError : 'index is opened, but we have no commits < (Ljava/lang/Object;)V >
; ? "setLastCommittedTranslogGeneration A #
B "java/lang/IllegalArgumentException D java/lang/StringBuilder F
G unknown openMode [ I append -(Ljava/lang/String;)Ljava/lang/StringBuilder; K L
G M -(Ljava/lang/Object;)Ljava/lang/StringBuilder; K O
G P ] R toString ()Ljava/lang/String; T U
G V (Ljava/lang/String;)V X
E Y commits OLjava/util/List<+Lcom/groupbyinc/flux/common/apache/lucene/index/IndexCommit;>; Ljava/util/List; onCommit ^ #
' _ size a / 5 b get (I)Ljava/lang/Object; d e 5 f :com/groupbyinc/flux/common/apache/lucene/index/IndexCommit h isDeleted j 7
i k last commit is deleted m getUserData ()Ljava/util/Map; o p
i q translog_generation s
java/util/Map u &(Ljava/lang/Object;)Ljava/lang/Object; d w v x java/lang/String z java/lang/Long | parseLong (Ljava/lang/String;)J ~
} ? 9com/groupbyinc/flux/index/translog/TranslogDeletionPolicy ? #setMinTranslogGenerationForRecovery (J)V ? ?
? ? indexCommit