com.zaxxer.hikari.util.SuspendResumeLock.class Maven / Gradle / Ivy
???? 4 S (com/zaxxer/hikari/util/SuspendResumeLock java/lang/Object SuspendResumeLock.java *com/zaxxer/hikari/util/SuspendResumeLock$1 FAUX_LOCK *Lcom/zaxxer/hikari/util/SuspendResumeLock; MAX_PERMITS I ' acquisitionSemaphore Ljava/util/concurrent/Semaphore; ()V (Z)V
this
java/util/concurrent/Semaphore (IZ)V
createSemaphore Z acquire java/sql/SQLException !
tryAcquire ()Z # $
% "com.zaxxer.hikari.throwIfSuspended ' java/lang/Boolean )
getBoolean (Ljava/lang/String;)Z + ,
* - java/sql/SQLTransientException / SThe pool is currently suspended and configured to throw exceptions upon acquisition 1 (Ljava/lang/String;)V 3
0 4 acquireUninterruptibly 6
7 release 9
: suspend (I)V 6 =
> resume 9 =
A 0(ZLcom/zaxxer/hikari/util/SuspendResumeLock$1;)V x0 x1 ,Lcom/zaxxer/hikari/util/SuspendResumeLock$1;
I
ConstantValue Code LineNumberTable LocalVariableTable
StackMapTable
Exceptions InnerClasses
SourceFile !
K
L 4 *? ? M
6 7 N L *? *? ? Y'? ? ? ? O ! ? ? M : ; <