com.groupbyinc.flux.index.translog.TranslogSnapshot.class Maven / Gradle / Ivy
???? 4 ? 3com/groupbyinc/flux/index/translog/TranslogSnapshot 5com/groupbyinc/flux/index/translog/BaseTranslogReader TranslogSnapshot.java 5com/groupbyinc/flux/index/translog/Translog$Operation +com/groupbyinc/flux/index/translog/Translog Operation totalOperations I
checkpoint /Lcom/groupbyinc/flux/index/translog/Checkpoint; length J reusableBuffer Ljava/nio/ByteBuffer; position skippedOperations readOperations reuse @Lcom/groupbyinc/flux/index/translog/BufferedChecksumStreamInput; ;(Lcom/groupbyinc/flux/index/translog/BaseTranslogReader;J)V
generation channel Ljava/nio/channels/FileChannel; path Ljava/nio/file/Path; ! " # header 3Lcom/groupbyinc/flux/index/translog/TranslogHeader; % & ' j(JLjava/nio/channels/FileChannel;Ljava/nio/file/Path;Lcom/groupbyinc/flux/index/translog/TranslogHeader;)V )
* , ()I .
/ 1
getCheckpoint 1()Lcom/groupbyinc/flux/index/translog/Checkpoint; 3 4
5
7 java/nio/ByteBuffer 9 allocate (I)Ljava/nio/ByteBuffer; ; <
: = ? A getFirstOperationOffset ()J C D
E G I this 5Lcom/groupbyinc/flux/index/translog/TranslogSnapshot; reader 7Lcom/groupbyinc/flux/index/translog/BaseTranslogReader; O next 9()Lcom/groupbyinc/flux/index/translog/Translog$Operation; java/io/IOException S
readOperation U R
V seqNo X D Y -com/groupbyinc/flux/index/translog/Checkpoint [ trimmedAboveSeqNo ] \ ^???????? operation 7Lcom/groupbyinc/flux/index/translog/Translog$Operation; readSize (Ljava/nio/ByteBuffer;J)I d e
f checksummedStream ?(Ljava/nio/ByteBuffer;JILcom/groupbyinc/flux/index/translog/BufferedChecksumStreamInput;)Lcom/groupbyinc/flux/index/translog/BufferedChecksumStreamInput; h i
j read y(Lcom/groupbyinc/flux/index/translog/BufferedChecksumStreamInput;)Lcom/groupbyinc/flux/index/translog/Translog$Operation; l m
n opSize op sizeInBytes readBytes (Ljava/nio/ByteBuffer;J)V java/io/EOFException u java/lang/StringBuilder w ()V y
x z read requested past EOF. pos [ | append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ~
x ? (J)Ljava/lang/StringBuilder; ~ ?
x ? ] end: [ ? ], generation: [ ?
getGeneration ? D
?
], path: [ ? # -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ~ ?
x ? ] ? toString ()Ljava/lang/String; ? ?
x ? (Ljava/lang/String;)V ?
v ?
E 2read requested before position of first ops. pos [ ? ] first op on: [ ?
T ? &com/groupbyinc/flux/common/io/Channels ? #readFromFileChannelWithEofException 8(Ljava/nio/channels/FileChannel;JLjava/nio/ByteBuffer;)V ? ?
? ? buffer TranslogSnapshot{readOperations= ? (I)Ljava/lang/StringBuilder; ~ ?
x ? , position= ? , estimateTotalOperations= ? , length= ?
, generation= ? , reusableBuffer= ? (C)Ljava/lang/StringBuilder; ~ ?
x ? Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions
SourceFile InnerClasses 0
? ? F*+? +? +? $+? (? +* ? -*+? 0? 2*+? 6? 8* ? >? @*? B*+? F? H*? J? ? F K L F M N F ? &