com.zaxxer.hikari.pool.ProxyLeakTask.class Maven / Gradle / Ivy
???? 4 ? $com/zaxxer/hikari/pool/ProxyLeakTask java/lang/Object java/lang/Runnable ProxyLeakTask.java &com/zaxxer/hikari/pool/ProxyLeakTask$1 LOGGER Lorg/slf4j/Logger; NO_LEAK &Lcom/zaxxer/hikari/pool/ProxyLeakTask; scheduledFuture &Ljava/util/concurrent/ScheduledFuture; )Ljava/util/concurrent/ScheduledFuture<*>; connectionName Ljava/lang/String; exception Ljava/lang/Exception;
threadName isLeaked Z %(Lcom/zaxxer/hikari/pool/PoolEntry;)V ()V
java/lang/Exception !Apparent connection leak detected (Ljava/lang/String;)V !
" $ java/lang/Thread &
currentThread ()Ljava/lang/Thread; ( )
' * getName ()Ljava/lang/String; , -
' . 0 com/zaxxer/hikari/pool/PoolEntry 2
connection Ljava/sql/Connection; 4 5 3 6 toString 8 -
9 ; this poolEntry "Lcom/zaxxer/hikari/pool/PoolEntry; schedule 3(Ljava/util/concurrent/ScheduledExecutorService;J)V java/util/concurrent/TimeUnit B MILLISECONDS Ljava/util/concurrent/TimeUnit; D E C F -java/util/concurrent/ScheduledExecutorService H \(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture; @ J I K M executorService /Ljava/util/concurrent/ScheduledExecutorService; leakDetectionThreshold J run T
getStackTrace ()[Ljava/lang/StackTraceElement; V W
X java/lang/StackTraceElement Z java/lang/System \ arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V ^ _
] `
setStackTrace !([Ljava/lang/StackTraceElement;)V b c
d
f LConnection leak detection triggered for {} on thread {}, stack trace follows h org/slf4j/Logger j warn ((Ljava/lang/String;[Ljava/lang/Object;)V l m k n
stackTrace [Ljava/lang/StackTraceElement; trace cancel $java/util/concurrent/ScheduledFuture t (Z)Z s v u w YPreviously reported leaked connection {} on thread {} was returned to the pool (unleaked) y info 9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V { | k } +(Lcom/zaxxer/hikari/pool/ProxyLeakTask$1;)V
x0 (Lcom/zaxxer/hikari/pool/ProxyLeakTask$1; org/slf4j/LoggerFactory ? getLogger %(Ljava/lang/Class;)Lorg/slf4j/Logger; ? ?
? ?
? Signature Code LineNumberTable LocalVariableTable
StackMapTable InnerClasses
SourceFile
? ? k '*? *? Y ? #? %*? +? /? 1*+? 7? :?