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
???? 7/ ?
I ? ?
? G ? G ?
I ?
I ? G ? ?
I ? ? ?
? G ? ?
G ?
G ? ? ?
?
?
G ?
G ? ?
? ?
?
? J ? J ? J ? J ?
? ? J ? ? J ?
G ?
I ? ? ?
' ?
I ?
?
G ?
I ? ?
I ?
?
G ?
I ? ?
I ?
? ?
e ?
? ? ?
? ?
?
? ?
? ? ? ? ? ?
? ?
? ?
? ? ?
? ? ? ? ? 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 S T )java/util/concurrent/atomic/AtomicBoolean N O P Q ? T ? Z L M {} - Starting... ? ? ? ? ? S Z R Q {} - Start completed. ? T ? ? java/sql/SQLException BootstrapMethods ? ? ? S ] ^ =com/zaxxer/hikari/pool/HikariPool$PoolInitializationException (java/sql/SQLFeatureNotSupportedException l m p q t u x y | } ?
? ? ? ? java/lang/IllegalStateException 'MetricRegistry can only be set one time
? ? .MetricsTrackerFactory can only be set one time ? ? ,HealthCheckRegistry can only be set one time w ? com.zaxxer.hikari ? ? {} - Shutdown initiated... T {} - Shutdown completed. java/lang/InterruptedException {} - Interrupted during closing T ?! ?" "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
&' #HikariDataSource has been closed. makeConcatWithConstants 8(Lcom/zaxxer/hikari/HikariDataSource;)Ljava/lang/String; (Ljava/lang/String;)V getCause ()Ljava/lang/Throwable; getUnwrappedDataSource ()Ljavax/sql/DataSource; java/lang/Class
isInstance (Ljava/lang/Object;)Z *Wrapped DataSource is not an instance of %(Ljava/lang/Class;)Ljava/lang/String; 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 HikariDataSource () 7(Lcom/zaxxer/hikari/pool/HikariPool;)Ljava/lang/String; org/slf4j/LoggerFactory getLogger %(Ljava/lang/Class;)Lorg/slf4j/Logger;( ?+ $java/lang/invoke/StringConcatFactory- Lookup ?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;. %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles ! G I J K L M N O P Q B R Q S T U K *? *? Y? ? *? ? V <