![JAR search and dependency download from the Maven repository](/logo.png)
com.huawei.opengauss.jdbc.Driver$ConnectThread.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of opengaussjdbc Show documentation
Show all versions of opengaussjdbc Show documentation
HuaweiCloud JDBC for GaussDB
The newest version!
???? 4 ? .com/huawei/opengauss/jdbc/Driver$ConnectThread java/lang/Object java/lang/Runnable Driver.java com/huawei/opengauss/jdbc/Driver
ConnectThread url Ljava/lang/String; props Ljava/util/Properties; result Ljava/sql/Connection; resultException Ljava/lang/Throwable; abandoned Z +(Ljava/lang/String;Ljava/util/Properties;)V ()V
this 0Lcom/huawei/opengauss/jdbc/Driver$ConnectThread; run java/lang/Throwable ! java/sql/SQLException #
access$100 ?(Ljava/lang/String;Ljava/util/Properties;)Ljava/sql/Connection; % &
' java/sql/Connection ) + close - * . 0 2 notify 4
5 conn error t getResult (J)Ljava/sql/Connection; java/lang/InterruptedException < java/lang/System > currentTimeMillis ()J @ A
? B fillInStackTrace ()Ljava/lang/Throwable; D E
" F ,com/huawei/opengauss/jdbc/util/PSQLException H XSomething unusual has occured to cause the driver to fail. Please report this exception. J !com/huawei/opengauss/jdbc/util/GT L tr 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; N O
M P (com/huawei/opengauss/jdbc/util/PSQLState R UNEXPECTED_ERROR *Lcom/huawei/opengauss/jdbc/util/PSQLState; T U S V T(Ljava/lang/String;Lcom/huawei/opengauss/jdbc/util/PSQLState;Ljava/lang/Throwable;)V X
I Y Connection attempt timed out. [ CONNECTION_UNABLE_TO_CONNECT ] U S ^ ?(Ljava/lang/String;Lcom/huawei/opengauss/jdbc/util/PSQLState;)V `
I a wait (J)V c d
e java/lang/Thread g
currentThread ()Ljava/lang/Thread; i j
h k interrupt m
h n java/lang/RuntimeException p (Interrupted while attempting to connect. r (Ljava/lang/String;)V t
q u ie Ljava/lang/InterruptedException; delay J timeout expiry Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions
SourceFile InnerClasses
} Y *? *+? *,? ? ~
? ? ? ? } B N*? *? ? (LM? NL-M*YN?*? ,? +? +? / ? :? *+? 1*,? 3*? 6-ç
:-??? " % + . $ C F F J F ~ > 7 8 9 N : 7 8 8 J ? ? ? ? ? ! % + . 0 3 8 =
A M ? . Q "? * "? * " $
D "? : ; } ?
?? CaB*Y:?*? 1? *? 1ð*? 3? 5*? 3? $? *? 3? GW*? 3? $?? IYK? ? Q? W*? 3? Z?!? Ce7 ?? *? ,? IY\? ? Q? _? b?*? f? !:? l? o*? ,? qYs? ? Q? v???j: ? ? z ? ? = ? ? ? ~ 4 ? w x Z G y z ? ? { z ? | z Z " !# +$ 3% ;' E( S/ Z0 a1 f2 z7 ?@ ?8 ?; ?<