com.zaxxer.hikari.HikariDataSource.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of HikariCP Show documentation
Show all versions of HikariCP Show documentation
Ultimate JDBC Connection Pool
???? 4/ ?
P ? ?
? N ? N ?
P ?
P ? N ? ?
P ? ? ?
? N ? ?
N ?
N ? ? ?
? ?
?
? ?
?
?
?
N ?
N ? ?
? ?
?
? Q ? Q ? Q ? Q ?
? ? Q ? ? Q ?
N ?
P ? ? ?
- ?
P ?
?
N ?
P ? ?
P ?
?
N ?
P ? ?
P ?
? ?
? ?
? ? ?
? ?
?
? ?
? ? ? ? ? ?
? ?
? ?
? ? ? ?
? ? ? ? LOGGER Lorg/slf4j/Logger;
isShutdown +Ljava/util/concurrent/atomic/AtomicBoolean; fastPathPool #Lcom/zaxxer/hikari/pool/HikariPool; pool ()V Code LineNumberTable LocalVariableTable this $Lcom/zaxxer/hikari/HikariDataSource; #(Lcom/zaxxer/hikari/HikariConfig;)V
configuration Lcom/zaxxer/hikari/HikariConfig;
getConnection ()Ljava/sql/Connection; pie PoolInitializationException InnerClasses ?Lcom/zaxxer/hikari/pool/HikariPool$PoolInitializationException; result
StackMapTable ? ? ?
Exceptions ;(Ljava/lang/String;Ljava/lang/String;)Ljava/sql/Connection; username Ljava/lang/String; password getLogWriter ()Ljava/io/PrintWriter; p setLogWriter (Ljava/io/PrintWriter;)V out Ljava/io/PrintWriter; setLoginTimeout (I)V seconds I getLoginTimeout ()I getParentLogger ()Ljava/util/logging/Logger; unwrap %(Ljava/lang/Class;)Ljava/lang/Object; unwrappedDataSource Ljavax/sql/DataSource; iface Ljava/lang/Class; LocalVariableTypeTable Ljava/lang/Class; ? Signature 1(Ljava/lang/Class;)TT; isWrapperFor (Ljava/lang/Class;)Z Ljava/lang/Class<*>; (Ljava/lang/Class<*>;)Z setMetricRegistry (Ljava/lang/Object;)V metricRegistry Ljava/lang/Object; isAlreadySet Z setMetricsTrackerFactory 4(Lcom/zaxxer/hikari/metrics/MetricsTrackerFactory;)V metricsTrackerFactory 1Lcom/zaxxer/hikari/metrics/MetricsTrackerFactory; setHealthCheckRegistry healthCheckRegistry isRunning ()Z getHikariPoolMXBean &()Lcom/zaxxer/hikari/HikariPoolMXBean; getHikariConfigMXBean (()Lcom/zaxxer/hikari/HikariConfigMXBean; evictConnection (Ljava/sql/Connection;)V
connection Ljava/sql/Connection; close e Ljava/lang/InterruptedException; ? isClosed toString ()Ljava/lang/String;
SourceFile HikariDataSource.java !com/zaxxer/hikari/pool/HikariPool Z [ )java/util/concurrent/atomic/AtomicBoolean U V W X [ a S T {} - Starting... ? Z a Y X {} - Start completed.
[ ? ? java/sql/SQLException java/lang/StringBuilder HikariDataSource
has been closed. ? ? Z d e =com/zaxxer/hikari/pool/HikariPool$PoolInitializationException (java/sql/SQLFeatureNotSupportedException v w z { ~ ? ? ? ? )Wrapped DataSource is not an instance of ? ? ? ? java/lang/IllegalStateException 'MetricRegistry can only be set one time ? ? .MetricsTrackerFactory can only be set one time ? ? ,HealthCheckRegistry can only be set one time ? ? com.zaxxer.hikari ! ? ?"# {} - Shutdown initiated...$ [ {} - Shutdown completed. java/lang/InterruptedException {} - Interrupted during closing%&'()* [+ ? HikariDataSource ( ) "com/zaxxer/hikari/HikariDataSource,-. com/zaxxer/hikari/HikariConfig javax/sql/DataSource java/io/Closeable java/lang/Object java/lang/Throwable java/io/PrintWriter validate copyStateTo getPoolName org/slf4j/Logger info '(Ljava/lang/String;Ljava/lang/Object;)V seal append -(Ljava/lang/String;)Ljava/lang/StringBuilder; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; (Ljava/lang/String;)V getCause ()Ljava/lang/Throwable; getUnwrappedDataSource ()Ljavax/sql/DataSource; java/lang/Class
isInstance (Ljava/lang/Object;)Z getMetricRegistry ()Ljava/lang/Object; getMetricsTrackerFactory 3()Lcom/zaxxer/hikari/metrics/MetricsTrackerFactory; getHealthCheckRegistry poolState getClass ()Ljava/lang/Class; getName java/lang/String
startsWith (Ljava/lang/String;)Z getAndSet (Z)Z shutdown warn 9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V java/lang/Thread
currentThread ()Ljava/lang/Thread; interrupt get org/slf4j/LoggerFactory getLogger %(Ljava/lang/Class;)Lorg/slf4j/Logger; ! N P Q R S T U V W X B Y X Z [ \ K *? *? Y? ? *? ? ] = , > ? ^ _ ` Z a \ ? J*? *? Y? ? +? +*? ?
+? ? **? Y*?
Z? ? ? +? ? *? ? ] &