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

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

There is a newer version: 198
Show newest version
????4-1com/groupbyinc/flux/index/translog/TranslogHeaderjava/lang/ObjectTranslogHeader.javaTRANSLOG_CODECLjava/lang/String;translogVERSION_CHECKSUMSIVERSION_CHECKPOINTSVERSION_PRIMARY_TERMCURRENT_VERSIONUNKNOWN_PRIMARY_TERMJtranslogUUIDprimaryTermheaderSizeInBytes$assertionsDisabledZ(Ljava/lang/String;J)V(Ljava/lang/String;)I
(Ljava/lang/String;JI)V 
!	#java/lang/AssertionError%java/lang/StringBuilder'()V)
(*)Primary term must be non-negative; term [,append-(Ljava/lang/String;)Ljava/lang/StringBuilder;./
(0(J)Ljava/lang/StringBuilder;.2
(3]5toString()Ljava/lang/String;78
(9(Ljava/lang/Object;)V;
&<java/lang/String>this3Lcom/groupbyinc/flux/index/translog/TranslogHeader;
*	C	E	GgetTranslogUUIDgetPrimaryTerm()JsizeInBytes()I6com/groupbyinc/flux/common/apache/lucene/util/BytesRefN(Ljava/lang/CharSequence;)VP
OQlengthS	OT(II)IV
W9com/groupbyinc/flux/common/apache/lucene/codecs/CodecUtilYheaderLength[
Z\version
uuidLengthsizereadz(Ljava/lang/String;Ljava/nio/file/Path;Ljava/nio/channels/FileChannel;)Lcom/groupbyinc/flux/index/translog/TranslogHeader;java/io/IOExceptioncDcom/groupbyinc/flux/common/apache/lucene/index/CorruptIndexExceptioneIcom/groupbyinc/flux/common/apache/lucene/index/IndexFormatTooOldExceptiongIcom/groupbyinc/flux/common/apache/lucene/index/IndexFormatTooNewExceptioni>com/groupbyinc/flux/index/translog/BufferedChecksumStreamInputk;com/groupbyinc/flux/common/io/stream/InputStreamStreamInputmjava/nio/channels/ChannelsonewInputStream>(Ljava/nio/channels/ReadableByteChannel;)Ljava/io/InputStream;qr
psjava/nio/channels/FileChannelu`K
vw(Ljava/io/InputStream;J)Vy
nz5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V|
l}Ccom/groupbyinc/flux/common/apache/lucene/store/InputStreamDataInput(Ljava/io/InputStream;)V?
??checkHeaderQ(Lcom/groupbyinc/flux/common/apache/lucene/store/DataInput;Ljava/lang/String;II)I??
Z?java/nio/file/Path?tryReportOldVersionError6(Ljava/nio/file/Path;Ljava/nio/channels/FileChannel;)V??
?=com/groupbyinc/flux/index/translog/TranslogCorruptedException? Translog header corrupted. path:?-(Ljava/lang/Object;)Ljava/lang/StringBuilder;.?
(?*(Ljava/lang/String;Ljava/lang/Throwable;)V?
??java/lang/IllegalStateException?pre-2.0 translog found [?(Ljava/lang/String;)V?
??readInt?M
l?-uuid length can't be larger than the translog?
??(I)V?
O?bytes[B??	O?offset?	O?([BII)Ia?
l?bytesEquals;(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)Z??
O?expected shard UUID ?
 but got: ?: this translog file belongs to a different translog. path:?readLong?K
l?#Primary term must be non-negative [?]; translog path [?Unknown header version [?(I)Ljava/lang/StringBuilder;.?
(?+com/groupbyinc/flux/index/translog/Translog?verifyChecksumC(Lcom/groupbyinc/flux/index/translog/BufferedChecksumStreamInput;)V??
??position?K
v?'Header is not fully read; header size [?
], position [?eLjava/io/IOException;pathLjava/nio/file/Path;channelLjava/nio/channels/FileChannel;in@Lcom/groupbyinc/flux/index/translog/BufferedChecksumStreamInput;uuidLenuuid8Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;expectedUUID&com/groupbyinc/flux/common/io/Channels?readFromFileChannel%(Ljava/nio/channels/FileChannel;JI)[B??
??Gtranslog looks like version 1 or later, but has corrupted header. path:?pre-1.4 translog found [?b1Bwrite"(Ljava/nio/channels/FileChannel;)V?com/groupbyinc/flux/index/translog/BufferedChecksumStreamOutput?=com/groupbyinc/flux/common/io/stream/OutputStreamStreamOutput?newOutputStream?(Ljava/nio/channels/WritableByteChannel;)Ljava/io/OutputStream;??
p?(Ljava/io/OutputStream;)V?
??6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V?
??Ecom/groupbyinc/flux/common/apache/lucene/store/OutputStreamDataOutput?
??writeHeaderQ(Lcom/groupbyinc/flux/common/apache/lucene/store/DataOutput;Ljava/lang/String;I)V
ZwriteInt?
?
writeBytes([BII)V
?		writeLong(J)V
?
getChecksumK
?flush)
?force(Z)V
v*Header is not fully written; header size [], channel position [outALcom/groupbyinc/flux/index/translog/BufferedChecksumStreamOutput;java/lang/Class desiredAssertionStatus()Z"#
!$
ConstantValueCodeLocalVariableTableLineNumberTable
StackMapTable
Exceptions
SourceFile0
&	
&
&&&&'?7*+ +??"?$?) 	??#?&Y?(Y?+-?1 ?46?1?:?=??( 7@A77)?
@6A*?6? 'm*?B*+?D* ?F*?H?(*@A)CD	EFGI8'/*?D?(@A)JJK'/*?F?(@A)RLM'/*?H?(@A)Z':?OY*?R?U?X?()^
V'w	?]=``=?	???( ^_`)bcdefh*?ab'4ͻlY?nY,?t,?x?{?~N??Y-??	??6?':+,????Y?(Y?+??1+???:????#??Y?(Y?+??1+??6?1?:???-??6?,?x??
??Y?????OY??:?U-?????U??W?OY*?R:???2??Y?(Y?+??1????1????1+???:????@-??7?$?d	??]?&Y?(Y?+??1?4¶1+??6?1?:?=??$?*?$?&Y?(Y?+Ķ1??6?1?:?=?	7?-???U?X6
?$?;,??
???0?&Y?(Y?+Ҷ1
??Զ1,?ж46?1?:?=??Y*
?"?(+f(+h(+j(?
(^-"??7??????????O~^{R??2???
??la?K
)vp	qt(x+u-v2wOyUzu}{~??????????????????<?i?l?r?v???????*7
?+??vld?#%??hOO?B,?	?I+d
??'?O+	??3=????Y?(Y?+?1*???:????#??Y?(Y?+?1*??6?1?:????( O??O??	F??)?	??*?.?N?*?*#+d??'-???Y??Y+??????M??Y,??	??OY*?D?RN,-?U?,-??-??-?U?
,*?F?,,???,?+??$?A+??*?H???4?&Y?(Y?+?1*?H???1+?ж46?1?:?=??(*?@A????-w??)6
?	??!?-?5?E?M?V?Z?_?????*???O+d)'4?%???$?)(*@,




© 2015 - 2024 Weber Informatics LLC | Privacy Policy