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 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; ! " firstOperationOffset $ % 8(JLjava/nio/channels/FileChannel;Ljava/nio/file/Path;J)V '
( * ()I ,
- /
getCheckpoint 1()Lcom/groupbyinc/flux/index/translog/Checkpoint; 1 2
3
5 java/nio/ByteBuffer 7 allocate (I)Ljava/nio/ByteBuffer; 9 :
8 ; = ? % B D this 5Lcom/groupbyinc/flux/index/translog/TranslogSnapshot; reader 7Lcom/groupbyinc/flux/index/translog/BaseTranslogReader; next 9()Lcom/groupbyinc/flux/index/translog/Translog$Operation; java/io/IOException L
readOperation N K
O readSize (Ljava/nio/ByteBuffer;J)I Q R
S checksummedStream ?(Ljava/nio/ByteBuffer;JILcom/groupbyinc/flux/index/translog/BufferedChecksumStreamInput;)Lcom/groupbyinc/flux/index/translog/BufferedChecksumStreamInput; U V
W read y(Lcom/groupbyinc/flux/index/translog/BufferedChecksumStreamInput;)Lcom/groupbyinc/flux/index/translog/Translog$Operation; Y Z
[ opSize op 7Lcom/groupbyinc/flux/index/translog/Translog$Operation; sizeInBytes ()J readBytes (Ljava/nio/ByteBuffer;J)V java/io/EOFException d java/lang/StringBuilder f ()V h
g i read requested past EOF. pos [ k append -(Ljava/lang/String;)Ljava/lang/StringBuilder; m n
g o (J)Ljava/lang/StringBuilder; m q
g r ] end: [ t ], generation: [ v
getGeneration x a
y
], path: [ { " -(Ljava/lang/Object;)Ljava/lang/StringBuilder; m ~
g ] ? toString ()Ljava/lang/String; ? ?
g ? (Ljava/lang/String;)V ?
e ? getFirstOperationOffset ? a
? 2read requested before position of first ops. pos [ ? ] first op on: [ ?
M ? &com/groupbyinc/flux/common/io/Channels ? #readFromFileChannelWithEofException 8(Ljava/nio/channels/FileChannel;JLjava/nio/ByteBuffer;)V ? ?
? ? buffer TranslogSnapshot{readOperations= ? (I)Ljava/lang/StringBuilder; m ?
g ? , position= ? , estimateTotalOperations= ? , length= ?
, generation= ? , reusableBuffer= ? (C)Ljava/lang/StringBuilder; m ?
g ? Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions
SourceFile InnerClasses 0
? ? F*+? +? +? #+? &? )* ? +*+? .? 0*+? 4? 6* ?