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

com.groupbyinc.flux.common.unit.ByteSizeValue.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????4?-com/groupbyinc/flux/common/unit/ByteSizeValue?Ljava/lang/Object;Lcom/groupbyinc/flux/common/io/stream/Writeable;Ljava/lang/Comparable;Lcom/groupbyinc/flux/common/xcontent/ToXContentFragment;java/lang/Object.com/groupbyinc/flux/common/io/stream/Writeablejava/lang/Comparable6com/groupbyinc/flux/common/xcontent/ToXContentFragment
ByteSizeValue.java5com/groupbyinc/flux/common/xcontent/ToXContent$Params
.com/groupbyinc/flux/common/xcontent/ToXContentParamsDEPRECATION_LOGGER6Lcom/groupbyinc/flux/common/logging/DeprecationLogger;sizeJunit.Lcom/groupbyinc/flux/common/unit/ByteSizeUnit;5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Vjava/io/IOException()V
0com/groupbyinc/flux/common/io/stream/StreamInput
getVersion()Lcom/groupbyinc/flux/Version;!"
 #com/groupbyinc/flux/Version%V_6_2_0Lcom/groupbyinc/flux/Version;'(	&)before (Lcom/groupbyinc/flux/Version;)Z+,
&-	readVLong()J/0
 1	3,com/groupbyinc/flux/common/unit/ByteSizeUnit5BYTES7	68	:	readZLong<0
 =readFromb(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/common/unit/ByteSizeUnit;?@
6Athis/Lcom/groupbyinc/flux/common/unit/ByteSizeValue;in2Lcom/groupbyinc/flux/common/io/stream/StreamInput;writeTo6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V1com/groupbyinc/flux/common/io/stream/StreamOutputI
J#getBytesL0
M
writeVLong(J)VOP
JQ
writeZLongSP
JTGH
6Vout3Lcom/groupbyinc/flux/common/io/stream/StreamOutput;2(JLcom/groupbyinc/flux/common/unit/ByteSizeUnit;)VZ
[bytes????????	`bValues less than -1 bytes are deprecated and will not be supported in the next major version: [{}]bjava/lang/StringBuilderd
eappend(J)Ljava/lang/StringBuilder;gh
ei	getSuffix()Ljava/lang/String;kl
6m-(Ljava/lang/String;)Ljava/lang/StringBuilder;go
eptoStringrl
es4com/groupbyinc/flux/common/logging/DeprecationLoggeru
deprecated((Ljava/lang/String;[Ljava/lang/Object;)Vwx
vy???????toBytes(J)J}~
6"java/lang/IllegalArgumentException?AValues greater than 9223372036854775807 bytes are not supported: ?(Ljava/lang/String;)V?
??getSizegetUnit0()Lcom/groupbyinc/flux/common/unit/ByteSizeUnit;
bytesAsInt()ILjava/lang/Deprecated;???size [?
s] is bigger than max int?getKbtoKB?~
6?getMbtoMB?~
6?getGbtoGB?~
6?getTbtoTB?~
6?getPbtoPB?~
6?	getKbFrac()D@?	getMbFracA0	getGbFracA?	getTbFracBp	getPbFracCgetStringRepjava/lang/String?valueOf(J)Ljava/lang/String;??
????
?PB?	6???
?TB?	6?@??
?GB?	6???
?MB?	6???
?KB?	6?"com/groupbyinc/flux/common/Strings?format1Decimals'(DLjava/lang/String;)Ljava/lang/String;??
??valueDsuffixLjava/lang/String;parseBytesSizeValueU(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/unit/ByteSizeValue;/com/groupbyinc/flux/ElasticsearchParseException??(Ljava/lang/String;Lcom/groupbyinc/flux/common/unit/ByteSizeValue;Ljava/lang/String;)Lcom/groupbyinc/flux/common/unit/ByteSizeValue;??
?sValuesettingNamejava/util/Objects?requireNonNull&(Ljava/lang/Object;)Ljava/lang/Object;??
??java/util/Locale?ROOTLjava/util/Locale;??	?toLowerCase&(Ljava/util/Locale;)Ljava/lang/String;
?triml
?k	endsWith(Ljava/lang/String;)Z
?
parse?(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/groupbyinc/flux/common/unit/ByteSizeUnit;Ljava/lang/String;)Lcom/groupbyinc/flux/common/unit/ByteSizeValue;
kbmmbggbttbp!pb#b%length'?
?(	substring(II)Ljava/lang/String;*+
?,java/lang/Long.	parseLong(Ljava/lang/String;)J01
/2-14equals(Ljava/lang/Object;)Z67
?80:`failed to parse setting [{}] with value [{}] as a size in bytes: unit is missing or unrecognized<x
?>defaultValuelowerSValuejava/lang/NumberFormatExceptionBjava/lang/DoubleDparseDouble(Ljava/lang/String;)DFG
EHlFractional bytes values are deprecated. Use non-fractional bytes values instead: [{}] found for setting [{}]JP
Lfailed to parse [{}]N=(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)VP
?Q?failed to parse setting [{}] with value [{}] as a size in bytesSdoubleValueignored!Ljava/lang/NumberFormatException;e$Ljava/lang/IllegalArgumentException;initialInput
normalizedsgetClass()Ljava/lang/Class;]^
_	compareTo2(Lcom/groupbyinc/flux/common/unit/ByteSizeValue;)Iab
coLjava/lang/Object;hashCode(J)Igh
/icompare(JJ)Ikl
/mother	thisValue
otherValue
toXContent?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;3com/groupbyinc/flux/common/xcontent/XContentBuildertI(Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;?v
uwbuilder5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;params7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;(Ljava/lang/Object;)I*com/groupbyinc/flux/common/logging/Loggers	getLogger4(Ljava/lang/Class;)Lorg/apache/logging/log4j/Logger;??
??$(Lorg/apache/logging/log4j/Logger;)V?
v?CodeLocalVariableTableLineNumberTable
StackMapTable
Exceptions
DeprecatedRuntimeVisibleAnnotations	Signature
SourceFileInnerClasses!	??4*?+?$?*?.?*+?2?4*?9?;?*+?>?4*+?B?;??4CD4EF?+,-.#0+133??# ?GH?w)+?K?*?.?+*?N?R?+*?4?U*?;+?W??)CD)XY?7
8: ;(=??P?A	*?9?\??	CD	]?
@AZ??z*?^??^??.-?9?'?ac?Y?eY?f?j-?n?q?tS?z{-
??m??%??Y?eY?f??q?j-?n?q?t???*?4*-?;?? zCDzz?.CDE2G<E?IMJbKoMtNyO??6#/?0?/*?4??CD?S???/*?;??CD?X???3*?N@???&??Y?eY?f??q*???q??q?t??????3CD.]?]^
_0a??0???L0?6*?;*?4????CD?e?0?6*?;*?4????CD?i?0?6*?;*?4????CD?m?0?6*?;*?4????CD?q?0?6*?;*?4????CD?u?0?6*?;*?4????CD?y???4
*?N??o??
CD?}???4
*?N??o??
CD?????4
*?N??o??
CD?????4
*?N??o??
CD?????4
*?N??o??
CD???l?h-*?4	??*?4????eY?f*?4?j*?;?n?q?t??-CD??	???rl?0?*?N@?J?9?n:???*??J?ƶn:?`ǔ?*??J?Ͷn:?HΔ?*??J?Զn:?0Ք?*??J?۶n:?ܔ?*??J??n:)???*?CD?]???|???N??????(?0?5?@?H?M?X?`?e?p?x?}?????(?	???;*+???????????	???Ej,????M*?+?*???N-
??*-
??,??-??*-??,??-??*-??,??-??*-??,??-??*-??,??-??*-??,??-??*-??,??- ??*- ??,??-"??*-"??,??-$??*-$??,??-&???Y--?)d?-??3?9?\?-5?9??Y^?9?\?-;?9??Y	?9?\???Y=?Y,SY*S????*j??j@Dj??QA??~?????#?0?:?G?Q?^?h?u????????????????????????	?%?/?=?G?S???!?%??
??	?++?),?)d?-?:?Y?3-?\?:?I9?aK?Y*SYS?z?Y-
???k??M?:??YO?Y*S?R?:??YT?YSY*S?R? !C#QRC i?!Qi?Rii??f
*(U?TVW#FXWkXY?Z??[????????r\??*
??!?#?*?@?R?T?i?k??Y?!???6??C?0???6??CC????6???67?{)*+??+?*?`+?`??*+??d????)CD)ef???@g??;*?4*?;
??i?j??CD?ab?t$*?4*?;
??iA+?4+?;
??i7 ?n??*$CD$oDpq?rs?G	+*???x?? 	CD	yz	{|??Aa}?3	*+??d??	CD?%~?(?vY?????a??&???
	




© 2015 - 2024 Weber Informatics LLC | Privacy Policy