
com.groupbyinc.flux.index.translog.TranslogStats.class Maven / Gradle / Ivy
???? 3 ? 0com/groupbyinc/flux/index/translog/TranslogStats 4com/groupbyinc/flux/action/support/ToXContentToBytes /com/groupbyinc/flux/common/io/stream/Streamable TranslogStats.java 7com/groupbyinc/flux/index/translog/TranslogStats$Fields Fields 5com/groupbyinc/flux/common/xcontent/ToXContent$Params .com/groupbyinc/flux/common/xcontent/ToXContent
Params translogSizeInBytes J numberOfOperations I $assertionsDisabled Z ()V
this 2Lcom/groupbyinc/flux/index/translog/TranslogStats; (IJ)V "java/lang/IllegalArgumentException numberOfOperations must be >= 0 (Ljava/lang/String;)V !
" translogSizeInBytes must be >= 0 $ & java/lang/AssertionError ( java/lang/StringBuilder *
+ 'translogSizeInBytes must be >= 0, got [ - append -(Ljava/lang/String;)Ljava/lang/StringBuilder; / 0
+ 1 (J)Ljava/lang/StringBuilder; / 3
+ 4 ] 6 toString ()Ljava/lang/String; 8 9
+ : (Ljava/lang/Object;)V <
) = ? A add 5(Lcom/groupbyinc/flux/index/translog/TranslogStats;)V
translogStats getTranslogSizeInBytes ()J estimatedNumberOfOperations
toXContent ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; java/io/IOException K TRANSLOG ;Lcom/groupbyinc/flux/common/xcontent/XContentBuilderString; M N O 3com/groupbyinc/flux/common/xcontent/XContentBuilder Q startObject r(Lcom/groupbyinc/flux/common/xcontent/XContentBuilderString;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; S T
R U
OPERATIONS W N X field s(Lcom/groupbyinc/flux/common/xcontent/XContentBuilderString;I)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; Z [
R \
SIZE_IN_BYTES ^ N _ SIZE a N b
byteSizeField ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilderString;Lcom/groupbyinc/flux/common/xcontent/XContentBuilderString;J)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; d e
R f endObject 7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; h i
R j builder 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; params 7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params; readFrom 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V 0com/groupbyinc/flux/common/io/stream/StreamInput r readVInt ()I t u
s v readVLong x G
s y in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; writeTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V 1com/groupbyinc/flux/common/io/stream/StreamOutput writeVInt (I)V ? ?
? ?
writeVLong (J)V ? ?
? ? out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput; java/lang/Class ? desiredAssertionStatus ()Z ? ?
? ? Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions
SourceFile InnerClasses ! ? 3 *? ? ? ?
&