com.groupbyinc.flux.common.apache.lucene.store.RAMOutputStream.class Maven / Gradle / Ivy
???? 4 ? >com/groupbyinc/flux/common/apache/lucene/store/RAMOutputStream :com/groupbyinc/flux/common/apache/lucene/store/IndexOutput 9com/groupbyinc/flux/common/apache/lucene/util/Accountable RAMOutputStream.java BUFFER_SIZE I file 8Lcom/groupbyinc/flux/common/apache/lucene/store/RAMFile;
currentBuffer [B currentBufferIndex bufferPosition bufferStart J bufferLength crc Ljava/util/zip/Checksum; $assertionsDisabled Z ()V noname 6com/groupbyinc/flux/common/apache/lucene/store/RAMFile
N(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/store/RAMFile;Z)V
! this @Lcom/groupbyinc/flux/common/apache/lucene/store/RAMOutputStream; <(Lcom/groupbyinc/flux/common/apache/lucene/store/RAMFile;Z)V f checksum java/lang/StringBuilder (
) RAMOutputStream(name=" + append -(Ljava/lang/String;)Ljava/lang/StringBuilder; - .
) / ") 1 toString ()Ljava/lang/String; 3 4
) 5 '(Ljava/lang/String;Ljava/lang/String;)V 7
8 : <
> ?com/groupbyinc/flux/common/apache/lucene/store/BufferedChecksum @ java/util/zip/CRC32 B
C (Ljava/util/zip/Checksum;)V E
A F H java/lang/String J name Ljava/lang/String; writeTo >(Lcom/groupbyinc/flux/common/apache/lucene/store/DataOutput;)V java/io/IOException P flush R
S length U V getBuffer (I)[B X Y
Z 9com/groupbyinc/flux/common/apache/lucene/store/DataOutput \
writeBytes ([BI)V ^ _
] ` nextPos out ;Lcom/groupbyinc/flux/common/apache/lucene/store/DataOutput; end pos buffer java/lang/System i arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V k l
j m bytes offset bytesUpto reset s u w setLength (J)V y z
{ java/util/zip/Checksum } r ~ close writeByte (B)V switchCurrentBuffer ?
? update (I)V ? ? ~ ? b B ([BII)V ? java/lang/AssertionError ?
? ? ? ~ ? remainInBuffer bytesToCopy len
numBuffers ()I ? ?
? addBuffer ? Y
?
setFileLength pointer ?
? getFilePointer ()J ramBytesUsed getChildResources ()Ljava/util/Collection; :com/groupbyinc/flux/common/apache/lucene/util/Accountables ? namedAccountable ?(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/util/Accountable;)Lcom/groupbyinc/flux/common/apache/lucene/util/Accountable; ? ?
? ? java/util/Collections ? singleton #(Ljava/lang/Object;)Ljava/util/Set; ? ?
? ? getChecksum java/lang/IllegalStateException ? 7internal RAMOutputStream created with checksum disabled ? (Ljava/lang/String;)V ?
? ? getValue ? ? ~ ? java/lang/Class ? desiredAssertionStatus ()Z ? ?
? ?
ConstantValue Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions Signature U()Ljava/util/Collection;
SourceFile ! ?
? = *? Y? ? "? ? # $ ?
2 3 % ? K *+? "? ? # $ &