com.huawei.gauss200.jdbc.util.PGPropertyMaxResultBufferParser.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of huaweicloud-dws-jdbc Show documentation
Show all versions of huaweicloud-dws-jdbc Show documentation
Data Warehouse Service JDBC driver
The newest version!
???? 4 ?
i????????
* j
* k
- l
* m
* n
* o p q
* r
* s * t
* u
- v
- w
- x
- y
z {@Y
| } ~
? ? ?
- ?
? ?
? ????????? * ? ? ? ?
- ?
? ?
? ? ? ? ?
' ? ?
? ?
? ? ? ? ? W LOGGER Ljava/util/logging/Logger; PERCENT_PHRASES [Ljava/lang/String; ()V Code LineNumberTable LocalVariableTable this ?Lcom/huawei/gauss200/jdbc/util/PGPropertyMaxResultBufferParser;
parseProperty (Ljava/lang/String;)J value Ljava/lang/String; result J
StackMapTable
Exceptions checkIfValueContainsPercent (Ljava/lang/String;)Z parseBytePercentValue length I getPercentPhraseLengthIfContains (Ljava/lang/String;)I indx phrase valueToCheck 4 getPhraseLengthIfContains '(Ljava/lang/String;Ljava/lang/String;)I subValue searchValueLength calculatePercentOfMemory (Ljava/lang/String;I)J percentPhraseLength realValue percent D parseByteValue
multiplier mul sign C adjustResultSize (J)J newResult throwExceptionAboutParsingError ((Ljava/lang/String;[Ljava/lang/Object;)V message values [Ljava/lang/Object;
SourceFile $PGPropertyMaxResultBufferParser.java 5 6 D E F = ? ? Y = ^ _ I J PReceived MaxResultBuffer parameter can't be parsed. Value received to parse: {0} java/lang/Object a b S T 3 4 O P G ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? J ? ? = 1 2 ? ? ? oWARNING! Required to allocate {0} bytes, which exceeded possible heap memory size. Assigned {1} bytes as limit. ? ? ? ? ? ? ? ? +com/huawei/gauss200/jdbc/util/PSQLException ? ? ? 5 ? =com/huawei/gauss200/jdbc/util/PGPropertyMaxResultBufferParser ? ? ? ? ? java/lang/String p pct isEmpty ()Z ()I substring (I)Ljava/lang/String; equals (Ljava/lang/Object;)Z (II)Ljava/lang/String; java/lang/Double parseDouble (Ljava/lang/String;)D &java/lang/management/ManagementFactory getMemoryMXBean %()Ljava/lang/management/MemoryMXBean; !java/lang/management/MemoryMXBean getHeapMemoryUsage $()Ljava/lang/management/MemoryUsage; java/lang/management/MemoryUsage getMax ()J charAt (I)C java/lang/Integer parseInt java/lang/Long parseLong java/util/logging/Level WARNING Ljava/util/logging/Level; valueOf (J)Ljava/lang/String; com/huawei/gauss200/jdbc/util/GT tr 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; java/util/logging/Logger log .(Ljava/util/logging/Level;Ljava/lang/String;)V 'com/huawei/gauss200/jdbc/util/PSQLState SYNTAX_ERROR )Lcom/huawei/gauss200/jdbc/util/PSQLState; >(Ljava/lang/String;Lcom/huawei/gauss200/jdbc/util/PSQLState;)V java/lang/Class getName ()Ljava/lang/String; getLogger .(Ljava/lang/String;)Ljava/util/logging/Logger; ! * 1 2 3 4 5 6 7 / *? ? 8 9 : ; <