com.groupbyinc.flux.common.apache.lucene.index.PersistentSnapshotDeletionPolicy.class Maven / Gradle / Ivy
???? 4M Ocom/groupbyinc/flux/common/apache/lucene/index/PersistentSnapshotDeletionPolicy Ecom/groupbyinc/flux/common/apache/lucene/index/SnapshotDeletionPolicy %PersistentSnapshotDeletionPolicy.java Icom/groupbyinc/flux/common/apache/lucene/index/IndexWriterConfig$OpenMode @com/groupbyinc/flux/common/apache/lucene/index/IndexWriterConfig OpenMode java/util/Map$Entry
java/util/Map
Entry SNAPSHOTS_PREFIX Ljava/lang/String;
snapshots_
VERSION_START I VERSION_CURRENT
CODEC_NAME snapshots nextWriteGen J dir :Lcom/groupbyinc/flux/common/apache/lucene/store/Directory; ?(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexDeletionPolicy;Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;)V java/io/IOException ! CREATE_OR_APPEND KLcom/groupbyinc/flux/common/apache/lucene/index/IndexWriterConfig$OpenMode; # $ % ?(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexDeletionPolicy;Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;Lcom/groupbyinc/flux/common/apache/lucene/index/IndexWriterConfig$OpenMode;)V '
( this QLcom/groupbyinc/flux/common/apache/lucene/index/PersistentSnapshotDeletionPolicy; primary DLcom/groupbyinc/flux/common/apache/lucene/index/IndexDeletionPolicy; G(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexDeletionPolicy;)V .
/ 1 CREATE 3 $ 4 clearPriorSnapshots ()V 6 7
8 Bcom/groupbyinc/flux/common/apache/lucene/index/IndexDeletionPolicy : 8com/groupbyinc/flux/common/apache/lucene/store/Directory < loadPriorSnapshots > 7
? APPEND A $ B D java/lang/IllegalStateException F %no snapshots stored in this directory H (Ljava/lang/String;)V J
G K mode snapshot >()Lcom/groupbyinc/flux/common/apache/lucene/index/IndexCommit; java/lang/Exception P N O
R persist T 7
U release ?(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexCommit;)V W X
Y :com/groupbyinc/flux/common/apache/lucene/index/IndexCommit [ java/lang/Throwable ] ic