
com.groupbyinc.flux.index.translog.Checkpoint.class Maven / Gradle / Ivy
???? 3 ? -com/groupbyinc/flux/index/translog/Checkpoint java/lang/Object Checkpoint.java BUFFER_SIZE I offset J numOps
generation (JIJ)V ()V
this /Lcom/groupbyinc/flux/index/translog/Checkpoint; =(Lcom/groupbyinc/flux/common/apache/lucene/store/DataInput;)V java/io/IOException 8com/groupbyinc/flux/common/apache/lucene/store/DataInput readLong ()J
! readInt ()I # $
% in :Lcom/groupbyinc/flux/common/apache/lucene/store/DataInput; write "(Ljava/nio/channels/FileChannel;)V Bcom/groupbyinc/flux/common/apache/lucene/store/ByteArrayDataOutput + ([B)V
-
, . >(Lcom/groupbyinc/flux/common/apache/lucene/store/DataOutput;)V ) 0
1 &com/groupbyinc/flux/common/io/Channels 3 writeToChannel ,([BLjava/nio/channels/WritableByteChannel;)V 5 6
4 7 channel Ljava/nio/channels/FileChannel; buffer [B out DLcom/groupbyinc/flux/common/apache/lucene/store/ByteArrayDataOutput; 9com/groupbyinc/flux/common/apache/lucene/store/DataOutput ? writeLong (J)V A B
@ C writeInt (I)V E F
@ G ;Lcom/groupbyinc/flux/common/apache/lucene/store/DataOutput; toString ()Ljava/lang/String; java/lang/StringBuilder L
M Checkpoint{offset= O append -(Ljava/lang/String;)Ljava/lang/StringBuilder; Q R
M S (J)Ljava/lang/StringBuilder; Q U
M V , numOps= X (I)Ljava/lang/StringBuilder; Q Z
M [ , translogFileGeneration= ] (C)Ljava/lang/StringBuilder; Q _
M ` J K
M b read E(Ljava/nio/file/Path;)Lcom/groupbyinc/flux/index/translog/Checkpoint; java/lang/Throwable f java/nio/file/OpenOption h java/nio/file/Files j newInputStream F(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/InputStream; l m
k n Ccom/groupbyinc/flux/common/apache/lucene/store/InputStreamDataInput p (Ljava/io/InputStream;)V
r
q s
u java/io/InputStream w close y
x z java/nio/file/Path |
addSuppressed (Ljava/lang/Throwable;)V ~
g ? Ljava/io/InputStream; path Ljava/nio/file/Path; a(Ljava/nio/file/Path;Lcom/groupbyinc/flux/index/translog/Checkpoint;[Ljava/nio/file/OpenOption;)V java/nio/channels/FileChannel ? open P(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/nio/channels/FileChannel; ? ?
? ? ) *
? force (Z)V ? ?
? ?
? z [Ljava/nio/file/OpenOption; ? checkpointFile
checkpoint options equals (Ljava/lang/Object;)Z getClass ()Ljava/lang/Class; ? ?
? o Ljava/lang/Object; that hashCode java/lang/Long ? valueOf (J)Ljava/lang/Long; ? ?
? ? java/lang/Integer ? (I)Ljava/lang/Integer; ? ?
? ? java/util/Objects ? hash ([Ljava/lang/Object;)I ? ?
? ?
ConstantValue Code LocalVariableTable LineNumberTable
Exceptions
StackMapTable
SourceFile ?
? m *? *? *? *? ? ? *
? / 0 1 2 3
? a *? *+? "? *+? &? *+? "? ? ? ' ( ? 5 6 7 8 9 ? ) * ? q ?M? ,Y,? /N*-? 2,+? 8? ? * 9 : ; <