com.zaxxer.hikari.metrics.dropwizard.CodahaleHealthChecker$ConnectivityHealthCheck.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 Z
4 5 6 ??? 7 8
7 9 :
; <
% = > ? @
A B
% C E F pool #Lcom/zaxxer/hikari/pool/HikariPool; checkTimeoutMs J '(Lcom/zaxxer/hikari/pool/HikariPool;J)V Code LineNumberTable LocalVariableTable this ConnectivityHealthCheck InnerClasses TLcom/zaxxer/hikari/metrics/dropwizard/CodahaleHealthChecker$ConnectivityHealthCheck;
StackMapTable E G check H Result 2()Lcom/codahale/metrics/health/HealthCheck$Result;
connection Ljava/sql/Connection; e Ljava/sql/SQLException; I @ H B
Exceptions J
SourceFile CodahaleHealthChecker.java K java/lang/Integer L M N O P G Q R S ' I T K java/lang/Throwable U V java/sql/SQLException W X Y Rcom/zaxxer/hikari/metrics/dropwizard/CodahaleHealthChecker$ConnectivityHealthCheck 'com/codahale/metrics/health/HealthCheck !com/zaxxer/hikari/pool/HikariPool .com/codahale/metrics/health/HealthCheck$Result java/sql/Connection java/lang/Exception ()V java/util/concurrent/TimeUnit SECONDS Ljava/util/concurrent/TimeUnit; toMillis (J)J
getConnection (J)Ljava/sql/Connection; healthy close
addSuppressed (Ljava/lang/Throwable;)V unhealthy G(Ljava/lang/Throwable;)Lcom/codahale/metrics/health/HealthCheck$Result; :com/zaxxer/hikari/metrics/dropwizard/CodahaleHealthChecker ? )*? *+? * ?? ?? ? ? ? ?
? V W X ( Y ) ) ) ! % ? " # "? " # " $ ' X h*? *?
? LM? N+? !,? +?
? :,? ? +?
-?N-M-?:+? !,? +?
? :,? ? +?
?L+? ? # 6 ; E K N 6 = ; 4 b 6 b b " _ ` a 4 ` 6 _ ; a b b c c V ( ) c * + h ! X ? # " , - . -
? " , - -D -? " , - - -
? " / 0 1 2 3 D
% &