com.huawei.gauss200.jdbc.ds.PGPoolingDataSource.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? ? ? ? ?
l ? ? ? ? ? ? ?
? ?
? ?
? ? ? ? ? ? ?
? ?
? ? ? ? ?
l
l
l
l
l
?
( ?
=
1
=
!
1"#
= ?
$
%
&
'
l(
)
*
+, G-. G/
0
12 ?34 5 G& ?6 7 89:
;< ?
=> G?
l@A u
\B
?C w
D y
E
FG
FHI
FJ
I
;KL
j ?MN InnerClasses LOGGER Ljava/util/logging/Logger; dataSources $Ljava/util/concurrent/ConcurrentMap; Signature iLjava/util/concurrent/ConcurrentMap; dataSourceName Ljava/lang/String; initialConnections I maxConnections initialized Z
checkValid checkValidTimeOut available Ljava/util/Stack; /Ljava/util/Stack; used isClosed lock Ljava/lang/Object; source 8Lcom/huawei/gauss200/jdbc/ds/PGConnectionPoolDataSource; connectionEventListener #Ljavax/sql/ConnectionEventListener; ()V Code LineNumberTable LocalVariableTable this 1Lcom/huawei/gauss200/jdbc/ds/PGPoolingDataSource;
getDataSource E(Ljava/lang/String;)Lcom/huawei/gauss200/jdbc/ds/PGPoolingDataSource; name getDescription ()Ljava/lang/String;
setServerName (Ljava/lang/String;)V
serverName
StackMapTable setDatabaseName databaseName setUser user setPassword password
setPortNumber (I)V
portNumber getInitialConnections ()I setInitialConnections getMaxConnections setMaxConnections getDataSourceName setDataSourceName previous
initialize e Ljava/lang/Exception;O
Exceptions
isInitialized ()Z isCheckValid
setCheckValid (Z)V getCheckValidTimeOut setCheckValidTimeOut createConnectionPool :()Lcom/huawei/gauss200/jdbc/ds/PGConnectionPoolDataSource;
getConnection ;(Ljava/lang/String;Ljava/lang/String;)Ljava/sql/Connection; ()Ljava/sql/Connection; close pci Ljavax/sql/PooledConnection; removeStoredDataSource
addDataSource getPooledConnection Ljava/sql/SQLException; pc conn Ljava/sql/Connection; isValidP getReference ()Ljavax/naming/Reference; ref Ljavax/naming/Reference;QR isWrapperFor (Ljava/lang/Class;)Z iface Ljava/lang/Class; LocalVariableTypeTable Ljava/lang/Class<*>; (Ljava/lang/Class<*>;)Z unwrap %(Ljava/lang/Class;)Ljava/lang/Object; Ljava/lang/Class; 1(Ljava/lang/Class;)TT;
access$000 E(Lcom/huawei/gauss200/jdbc/ds/PGPoolingDataSource;)Ljava/lang/Object; x0
access$100 4(Lcom/huawei/gauss200/jdbc/ds/PGPoolingDataSource;)Z
access$200 D(Lcom/huawei/gauss200/jdbc/ds/PGPoolingDataSource;)Ljava/util/Stack;
access$300
SourceFile PGPoolingDataSource.java
Deprecated RuntimeVisibleAnnotations Ljava/lang/Deprecated; ~ ? ? { ? ? ? ? w x y x z { | { } x java/util/Stack java/lang/Object 1com/huawei/gauss200/jdbc/ds/PGPoolingDataSource$1 ?S ? ? q rTUV /com/huawei/gauss200/jdbc/ds/PGPoolingDataSource java/lang/StringBuilder Pooling DataSource 'WX u v from (com/huawei/gauss200/jdbc/util/DriverInfo PostgreSQL JDBC Driver 42.2.23Y ? java/lang/IllegalStateException @Cannot set Data Source properties after DataSource has been used ? ? ? ? ? ? ? ? ? ? ? ?Z[\]^ "java/lang/IllegalArgumentException DataSource with name ' ' already exists!_V ? ? ? ?`a java/lang/Exception +com/huawei/gauss200/jdbc/util/PSQLException Failed to setup DataSource.bcdefg ?hi ? ?jkV Invalid timeout ({0}<0).lmnog ?p 6com/huawei/gauss200/jdbc/ds/PGConnectionPoolDataSourceq ?r ? ? ? ? ? ? ? ? ?s ?tu javax/sql/PooledConnection ? ? java/sql/SQLExceptionvw ? ?xyVz^ DataSource has been closed.{g ?| o p}~ Validating connection.????? java/lang/InterruptedException?w ? ? javax/naming/StringRefAddr ????Y????? ??V Cannot unwrap to ? ??? &java/util/concurrent/ConcurrentHashMap 1com/huawei/gauss200/jdbc/ds/common/BaseDataSource javax/sql/DataSource java/lang/Throwable java/sql/Connection javax/naming/Reference javax/naming/NamingException 4(Lcom/huawei/gauss200/jdbc/ds/PGPoolingDataSource;)V "java/util/concurrent/ConcurrentMap get &(Ljava/lang/Object;)Ljava/lang/Object; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString java/lang/String equals (Ljava/lang/Object;)Z putIfAbsent 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; remove initializeFrom 6(Lcom/huawei/gauss200/jdbc/ds/common/BaseDataSource;)V com/huawei/gauss200/jdbc/util/GT tr 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; 'com/huawei/gauss200/jdbc/util/PSQLState UNEXPECTED_ERROR )Lcom/huawei/gauss200/jdbc/util/PSQLState; S(Ljava/lang/String;Lcom/huawei/gauss200/jdbc/util/PSQLState;Ljava/lang/Throwable;)V size ()Ljavax/sql/PooledConnection; push java/lang/Integer valueOf (I)Ljava/lang/Integer; INVALID_PARAMETER_VALUE >(Ljava/lang/String;Lcom/huawei/gauss200/jdbc/util/PSQLState;)V getUser getPassword isEmpty pop ()Ljava/lang/Object; removeConnectionEventListener &(Ljavax/sql/ConnectionEventListener;)V /com/huawei/gauss200/jdbc/util/internal/Nullness castNonNull put CONNECTION_DOES_NOT_EXIST (I)Z java/util/logging/Level FINE Ljava/util/logging/Level; java/util/logging/Logger log C(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V wait (J)V addConnectionEventListener '(Ljava/lang/String;Ljava/lang/String;)V add (Ljavax/naming/RefAddr;)V (I)Ljava/lang/String; getClass ()Ljava/lang/Class; java/lang/Class isAssignableFrom cast getName getLogger .(Ljava/lang/String;)Ljava/util/logging/Logger; ! l m o p q r s t u v w x y x z { | { } x ~ s ? ? s ? ? { ? ? ? ? ? ? # ? ? ? ? K*? *? *? *? *? *?
*? Y? ? *? Y? ? *?
Y? ? *? Y*? ? ? ? *
C N O Q R S T ( U 3 W >? ? K ? ? ? ? ? 7
? *? ? ? ? I ?
? v ? ? ? K !? Y? ? *? ? ? ? ? ? ? ^ ? ! ? ? ? ? ? ` *? ?
? Y? ?*+? !? ? h i l m ? ? ? ? v ? ? ? ? ` *? ?
? Y? ?*+? "? ? v w z { ? ? ? ? v ? ? ? ? ` *? ?
? Y? ?*+? #? ? ? ? ? ? ? ? ? ? v ? ? ? ? ` *? ?
? Y? ?*+? $? ? ? ? ? ? ? ? ? ? v ? ? ? ? ` *? ?
? Y? ?*? %? ? ? ? ? ? ? ? ? ? x ? ? ? ? / *? ? ? ? ? ? ? ? ? ? ` *? ?
? Y? ?*? ? ? ? ? ? ? ? ? ? w x ? ? ? ? / *? ? ? ? ? ? ? ? ? ? ` *? ?
? Y? ?*? ? ? ? ? ? ? ? ? ? y x ? ? ? ? / *? ? ? ? ? ? ? ? ? ? ? t*? ?
? Y? ?*? ? +? +*? ? &? ?? +*? ' ? M,? #? (Y? Y? )? +? *? ? ? +?*? ? ? *? ? , W*+? ? ? 2 ? ? ? ! ? ' ? ( ? 6 ? : ? Z a n s ? t ? ? t u v 6 > ? ? ? ? 1 ? ? ? ^*? YL?*? -M*,? .,*? /? N? 1Y2?
? 3? 4-? 5?*? ? 6*? ? *? ,? 7? 8W???*? +ç
:+??? 0 S V V Z V ? 2 / = L Q! ]" ? ? ? E ? ? ^ ? ? ? * ?
= 0?
?? ? I ? ? ? / *? ? ? % ? ? ? ? ? ? / *? ? ? ) ? ? ? ? ? ? > *? ? ?
- . ? ? ? | { ? ? ? / *?
? ? 1 ? ? ? ? ? ? n %? ? 1Y9?
Y? :S? 3? ;? *?
? ? 5 6 9 $: ? % ? ? % } x ? ? 1 ? ? ? 2 ? =Y? >? ? B ? ? ? ? ? ? ? @+? (+*? ?? &? ",?
*? @? ,? ,*? @? &? *? A?*? ? *? B*+,? C? ? P Q )R .U 5V 9X ? @ ? ? @ ? v @ ? v ?
? I ? ? ? K *? ? *? B*? D? ? c d f ? ? ? ? ? I ? ? ? P k*? YL?*? *? ? E? *? ? F? GM,? H ? N???*? ? E? %*? ? F? GM,*? ? J ,? H ? N???+ç
:+??*? K? ! ' * I M S V I \ _ _ c _ ? J m n o p !r 't *s +u .v 8w Cx Mz S| V{ W} Z~ f j? ? !
? ? C ? ? k ? ? ? = ?
?
G I? ? '
G I? D ?? ? ? ? ? ? *? ? L? , W? ?
? ? ? ? ? ? ? ? D ? +*? M W? ?
? ? ? ? ? u v ? ? ? <