
org.postgresql.ds.PGPoolingDataSource.class Maven / Gradle / Ivy
The newest version!
???? 4\ ? ? ?
_ ? ? ? ? ?
? ?
? ?
? ? ? ? ? ? ?
? ?
? ? ? ? ?
? ? ?
?
_ ?
_ ?
_ ?
_ ?
_ ?
? ? ? ? ? ? ?
% ? ? ?
? ?
6 ? ? ? ?
? ? ? ?
. ?
6
6 ?
_
@
@
? ?
. ?
@ @
_ f
P
h
j
!
"#
$
B ?%
] ?&' InnerClasses dataSources $Ljava/util/concurrent/ConcurrentMap; Signature _Ljava/util/concurrent/ConcurrentMap; dataSourceName Ljava/lang/String; initialConnections I maxConnections initialized Z available Ljava/util/Stack; /Ljava/util/Stack; used lock Ljava/lang/Object; source .Lorg/postgresql/ds/PGConnectionPoolDataSource; connectionEventListener #Ljavax/sql/ConnectionEventListener; ()V Code LineNumberTable LocalVariableTable this 'Lorg/postgresql/ds/PGPoolingDataSource;
getDataSource ;(Ljava/lang/String;)Lorg/postgresql/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; ? ?(
Exceptions
isInitialized ()Z createConnectionPool 0()Lorg/postgresql/ds/PGConnectionPoolDataSource;
getConnection ;(Ljava/lang/String;Ljava/lang/String;)Ljava/sql/Connection; ()Ljava/sql/Connection; close pci Ljavax/sql/PooledConnection; removeStoredDataSource
addDataSource getPooledConnection pc getReference ()Ljavax/naming/Reference; ref Ljavax/naming/Reference;)* 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 ;(Lorg/postgresql/ds/PGPoolingDataSource;)Ljava/lang/Object; x0
access$100 :(Lorg/postgresql/ds/PGPoolingDataSource;)Ljava/util/Stack;
access$200
SourceFile PGPoolingDataSource.java
Deprecated RuntimeVisibleAnnotations Ljava/lang/Deprecated; p n m n q r w x h i j i k l java/util/Stack java/lang/Object 'org/postgresql/ds/PGPoolingDataSource$1 w+ u v b c,-. %org/postgresql/ds/PGPoolingDataSource java/lang/StringBuilder Pooling DataSource '/0 f g from org/postgresql/util/DriverInfo PostgreSQL JDBC Driver 42.0.01 ? java/lang/IllegalStateException @Cannot set Data Source properties after DataSource has been used w ? ? ? ? ? ? ? ? ? ? ?23456 "java/lang/IllegalArgumentException DataSource with name ' ' already exists!7. ? ? s t89 java/lang/Exception !org/postgresql/util/PSQLException Failed to setup DataSource.:;<=>? w@A ? ?BC. ,org/postgresql/ds/PGConnectionPoolDataSourceD ?E ? ? ? ? x ? ? ? ?F ?GH javax/sql/PooledConnection ? x java/sql/SQLExceptionIJ ? xK6 DataSource has been closed.L? wMNO java/lang/InterruptedExceptionPJ ? ? javax/naming/StringRefAddr wQ)RST1UVWXY ?Z. Cannot unwrap to [ ? &java/util/concurrent/ConcurrentHashMap 'org/postgresql/ds/common/BaseDataSource javax/sql/DataSource java/lang/Throwable javax/naming/Reference javax/naming/NamingException *(Lorg/postgresql/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 ,(Lorg/postgresql/ds/common/BaseDataSource;)V org/postgresql/util/GT tr 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; org/postgresql/util/PSQLState UNEXPECTED_ERROR Lorg/postgresql/util/PSQLState; I(Ljava/lang/String;Lorg/postgresql/util/PSQLState;Ljava/lang/Throwable;)V size ()Ljavax/sql/PooledConnection; push getUser getPassword isEmpty pop ()Ljava/lang/Object; removeConnectionEventListener &(Ljavax/sql/ConnectionEventListener;)V put CONNECTION_DOES_NOT_EXIST 4(Ljava/lang/String;Lorg/postgresql/util/PSQLState;)V wait (J)V addConnectionEventListener '(Ljava/lang/String;Ljava/lang/String;)V add (Ljavax/naming/RefAddr;)V java/lang/Integer (I)Ljava/lang/String; getClass ()Ljava/lang/Class; java/lang/Class isAssignableFrom cast getName ! _ `
b c d e f g h i j i k l m n d o p n d o q r s t u v w x y ? A*? *? *? *? *? Y? ? *? Y? ? *?
Y? ? *? Y*?
? ? z " = G H J K L ) M 4? { A | } ~ y 7
? *? ? ? z B {
? g ? ? y K !? Y? ? *? ? ? ? ? ? z T { ! | } ? ? y ` *? ?
? Y? ?*+? ? z ^ _ b c { | } ? g ? ? ? y ` *? ?
? Y? ?*+? ? z l m p q { | } ? g ? ? ? y ` *? ?
? Y? ?*+? ? z y z } ~ { | } ? g ? ? ? y ` *? ?
? Y? ?*+? !? z ? ? ? ? { | } ? g ? ? ? y ` *? ?
? Y? ?*? "? z ? ? ? ? { | } ? i ? ? ? y / *? ? z ? { | } ? ? y ` *? ?
? Y? ?*? ? z ? ? ? ? { | } h i ? ? ? y / *? ? z ? { | } ? ? y ` *? ?
? Y? ?*? ? z ? ? ? ? { | } j i ? ? ? y / *? ? z ? { | } ? ? y ? t*? ?
? Y? ?*? ? +? +*? ? #? ?? +*? $ ? M,? #? %Y? Y? &? +? '? ? ? (?*? ? ? *? ? ) W*+? ? z 2 ? ? ? ! ? ' ? ( ? 6 ? : ? Z ? a ? n ? s ? { t | } t f g 6 > ? } ? ? 1 ? ? x y ? `*? YL?**? *? +*? +*? ,? M? .Y/?
? 0? 1,? 2?*? ? 3*? ? *? *? +? 4? 5W???*? +ç N+?-?? - W Z Z ] Z z .
0 > P U _ { ? ? ` | } ? ? ? ? ?I ?? ? B ? ? y / *? ? z { | } ? ? y 2 ? 6Y? 7? z # { | } ? ? y ? @+? (+*? 8? #? ",?
*? 9? ,? ,*? 9? #? *? :?*? ? *? ;*+,?