All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.index.translog.Checkpoint.class Maven / Gradle / Ivy

????4"-com/groupbyinc/flux/index/translog/Checkpointjava/lang/ObjectCheckpoint.java/com/groupbyinc/flux/index/translog/Checkpoint$1offsetJnumOpsI
generationINITIAL_VERSIONCHECKPOINT_CODECLjava/lang/String;ckp	FILE_SIZE"LEGACY_NON_CHECKSUMMED_FILE_LENGTH$assertionsDisabledZ(JIJ)V()V
		
			!this/Lcom/groupbyinc/flux/index/translog/Checkpoint;write>(Lcom/groupbyinc/flux/common/apache/lucene/store/DataOutput;)Vjava/io/IOException'9com/groupbyinc/flux/common/apache/lucene/store/DataOutput)	writeLong(J)V+,
*-writeInt(I)V/0
*1out;Lcom/groupbyinc/flux/common/apache/lucene/store/DataOutput;readChecksummedV1k(Lcom/groupbyinc/flux/common/apache/lucene/store/DataInput;)Lcom/groupbyinc/flux/index/translog/Checkpoint;8com/groupbyinc/flux/common/apache/lucene/store/DataInput7readLong()J9:
8;readInt()I=>
8?
Ain:Lcom/groupbyinc/flux/common/apache/lucene/store/DataInput;readNonChecksummedtoString()Ljava/lang/String;java/lang/StringBuilderH
ICheckpoint{offset=Kappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;MN
IO(J)Ljava/lang/StringBuilder;MQ
IR	, numOps=T(I)Ljava/lang/StringBuilder;MV
IW, translogFileGeneration= Y(C)Ljava/lang/StringBuilder;M[
I\FG
I^readE(Ljava/nio/file/Path;)Lcom/groupbyinc/flux/index/translog/Checkpoint;java/lang/Throwableb@com/groupbyinc/flux/common/apache/lucene/store/SimpleFSDirectorydjava/nio/file/Pathf	getParent()Ljava/nio/file/Path;higj(Ljava/nio/file/Path;)Vl
emgetFileNameoigpg^8com/groupbyinc/flux/common/apache/lucene/store/IOContextsDEFAULT:Lcom/groupbyinc/flux/common/apache/lucene/store/IOContext;uv	tw8com/groupbyinc/flux/common/apache/lucene/store/Directoryy	openInput?(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/store/IOContext;)Lcom/groupbyinc/flux/common/apache/lucene/store/IndexInput;{|
z}9com/groupbyinc/flux/common/apache/lucene/store/IndexInputlength?:
??E6
?close?
??
addSuppressed(Ljava/lang/Throwable;)V??
c?
z?9com/groupbyinc/flux/common/apache/lucene/codecs/CodecUtil?checksumEntireFile>(Lcom/groupbyinc/flux/common/apache/lucene/store/IndexInput;)J??
??checkHeaderQ(Lcom/groupbyinc/flux/common/apache/lucene/store/DataInput;Ljava/lang/String;II)I??
??56
?fileVersion
indexInput;Lcom/groupbyinc/flux/common/apache/lucene/store/IndexInput;dir:Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;pathLjava/nio/file/Path;?(Lcom/groupbyinc/flux/index/translog/ChannelFactory;Ljava/nio/file/Path;Lcom/groupbyinc/flux/index/translog/Checkpoint;[Ljava/nio/file/OpenOption;)V	?0
?checkpoint(path="?-(Ljava/lang/Object;)Ljava/lang/StringBuilder;M?
I?", gen=?)?Fcom/groupbyinc/flux/common/apache/lucene/store/OutputStreamIndexOutput?>(Ljava/lang/String;Ljava/lang/String;Ljava/io/OutputStream;I)V?
??writeHeaderQ(Lcom/groupbyinc/flux/common/apache/lucene/store/DataOutput;Ljava/lang/String;I)V??
??%&
?writeFooter?(Lcom/groupbyinc/flux/common/apache/lucene/store/IndexOutput;)V??
??	?getFilePointer?:
??java/lang/AssertionError?)get you number straights. Bytes written: ? buffer size: ?(Ljava/lang/Object;)V?
??1com/groupbyinc/flux/index/translog/ChannelFactory?java/nio/file/OpenOption;?java/io/ByteArrayOutputStream?java/lang/String?Bcheckpoint files have to be smaller 512b for atomic writes. size: ?
??openP(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/nio/channels/FileChannel;????toByteArray()[B??
??&com/groupbyinc/flux/common/io/Channels?writeToChannel,([BLjava/nio/channels/WritableByteChannel;)V??
??java/nio/channels/FileChannel?force(Z)V??
??
??indexOutputHLcom/groupbyinc/flux/common/apache/lucene/store/OutputStreamIndexOutput;channelLjava/nio/channels/FileChannel;factory3Lcom/groupbyinc/flux/index/translog/ChannelFactory;checkpointFile
checkpointoptionsbyteOutputStreamLjava/io/ByteArrayOutputStream;resourceDescequals(Ljava/lang/Object;)ZgetClass()Ljava/lang/Class;??
oLjava/lang/Object;thathashCodejava/lang/Long(J)I
	resultjava/lang/Class
desiredAssertionStatus()Z
headerLength(Ljava/lang/String;)I
?footerLength>
?
ConstantValueCodeLocalVariableTableLineNumberTable
Exceptions
StackMapTable
SourceFileInnerClasses 	
	

m*?*?*? *?"?*#$	
	;<	=>?%&Y+*??.+*? ?2+*?"?.?#$34BCDE(56>?Y*?<*?@*??Y*?<*?@*?a!*??
<h*? `<h*?"?
`<?!#$????T%??????```?`???'15$1@ !





© 2015 - 2025 Weber Informatics LLC | Privacy Policy