Edit C:\galaxie\jobs\GALAXIE__JOBs\GALAXIE__PCKG_0.5\lib\org\postgresql\ds\PGPoolingDataSource.class
Êþº¾ 4S %org/postgresql/ds/PGPoolingDataSource 'org/postgresql/ds/common/BaseDataSource javax/sql/DataSource PGPoolingDataSource.java Ljava/lang/Deprecated; 'org/postgresql/ds/PGPoolingDataSource$1 dataSources $Ljava/util/concurrent/ConcurrentMap; _Ljava/util/concurrent/ConcurrentMap<Ljava/lang/String;Lorg/postgresql/ds/PGPoolingDataSource;>; dataSourceName Ljava/lang/String; initialConnections I maxConnections initialized Z available Ljava/util/Stack; /Ljava/util/Stack<Ljavax/sql/PooledConnection;>; used lock Ljava/lang/Object; source .Lorg/postgresql/ds/PGConnectionPoolDataSource; connectionEventListener #Ljavax/sql/ConnectionEventListener; <init> ()V ! # % ' java/util/Stack ) * ! , . java/lang/Object 0 1 ! 3 *(Lorg/postgresql/ds/PGPoolingDataSource;)V 5 6 8 this 'Lorg/postgresql/ds/PGPoolingDataSource; getDataSource ;(Ljava/lang/String;)Lorg/postgresql/ds/PGPoolingDataSource; > "java/util/concurrent/ConcurrentMap @ get &(Ljava/lang/Object;)Ljava/lang/Object; B C A D name getDescription ()Ljava/lang/String; java/lang/StringBuilder I J ! Pooling DataSource ' L append -(Ljava/lang/String;)Ljava/lang/StringBuilder; N O J P R from T PostgreSQL JDBC Driver 42.2.9 V toString X H J Y setServerName (Ljava/lang/String;)V java/lang/IllegalStateException ] @Cannot set Data Source properties after DataSource has been used _ \ ^ a [ \ c serverName setDatabaseName f \ g databaseName setUser j \ k user setPassword n \ o password setPortNumber (I)V r s t portNumber getInitialConnections ()I setInitialConnections getMaxConnections setMaxConnections getDataSourceName setDataSourceName java/lang/String ~ equals (Ljava/lang/Object;)Z ? ? ? putIfAbsent 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; ? ? A ? "java/lang/IllegalArgumentException ? DataSource with name ' ? ' already exists! ? ? a remove ? C A ? previous initialize java/sql/SQLException ? java/lang/Exception ? createConnectionPool 0()Lorg/postgresql/ds/PGConnectionPoolDataSource; ? ? ? ? ,org/postgresql/ds/PGConnectionPoolDataSource ? initializeFrom ,(Lorg/postgresql/ds/common/BaseDataSource;)V ¡ ? ¢ !org/postgresql/util/PSQLException ¤ Failed to setup DataSource. ¦ 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 · x * ¸ getPooledConnection ()Ljavax/sql/PooledConnection; º » ? ¼ push ¾ C * ¿ java/lang/Throwable Á e Ljava/lang/Exception; isInitialized ()Z ? ! getConnection ;(Ljava/lang/String;Ljava/lang/String;)Ljava/sql/Connection; getUser Ê H Ë getPassword Í H Î ()Ljava/sql/Connection; È Ð Ñ ? Ó È É Õ º Ð × close isEmpty Ú Æ * Û pop ()Ljava/lang/Object; Ý Þ * ß javax/sql/PooledConnection á Ù â ã removeConnectionEventListener &(Ljavax/sql/ConnectionEventListener;)V å æ â ç removeStoredDataSource é ê pci Ljavax/sql/PooledConnection; addDataSource put ï ? A ð java/lang/InterruptedException ò DataSource has been closed. ô CONNECTION_DOES_NOT_EXIST ö ± ¯ ÷ 4(Ljava/lang/String;Lorg/postgresql/util/PSQLState;)V ù ¥ ú è wait (J)V þ ÿ 1 addConnectionEventListener æ â â Ñ pc getReference ()Ljavax/naming/Reference; javax/naming/NamingException javax/naming/StringRefAddr '(Ljava/lang/String;Ljava/lang/String;)V javax/naming/Reference add (Ljavax/naming/RefAddr;)V java/lang/Integer (I)Ljava/lang/String; X ref Ljavax/naming/Reference; isWrapperFor (Ljava/lang/Class;)Z getClass ()Ljava/lang/Class;$% 1& java/lang/Class( isAssignableFrom*# )+ iface Ljava/lang/Class<*>; Ljava/lang/Class; unwrap %(Ljava/lang/Class;)Ljava/lang/Object; cast2 C )3 Cannot unwrap to 5 getName7 H )8 ? a 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 <clinit> &java/util/concurrent/ConcurrentHashMapC D ! Signature Code LocalVariableTable LineNumberTable StackMapTable Exceptions LocalVariableTypeTable (Ljava/lang/Class<*>;)Z 1<T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;)TT; SourceFile Deprecated InnerClasses RuntimeVisibleAnnotations ! F F F G ? A*· "*µ $*µ &*µ (*» *Y· +µ -*» *Y· +µ /*» 1Y· 2µ 4*» Y*· 7µ 9± H A : ; I "