All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.zaxxer.hikari.pool.HikariPool.class Maven / Gradle / Ivy

There is a newer version: 6.2.0
Show newest version
????7??
??
??	??	???
??
??
??	??	??	??
??	??
?	??
?	??
?	?
M??
 ?	 ?	?
?	?
?
M?
?
M?
?
M?
?
?
M?
M??
0?	???
4?
??	??
9?
?	
M
=		
A?d
	
M



^
^

M
?	

 
 
W!	W"#	W$
%&'
(	)*+e,-.
c/?0
=1
W2
 3*4
56
78
79?
c;	<=>
?*@ABC
D
^E
F
^GH?I
J
@	K?
M
N
OPQ
?R
?STeU
VW
?XYZ
?[\]^
?_`
Mb
cde
?fg
??i
jk
^lmn
^o
p
n
q
rwxyz?
?|
 }
~
 ?????
??
?
?
???*?e??
?
?
W??
^?
?
?
M?'
??(
???
??
?
W?
M??
??
W???
????	?
?????????
?x?????e???
?
?
?????
?
??
??
??
W?
?
M?
???
?????
??
??
??
??
??
???*?
c?
c???
?
?
?
??	?
|????PoolInitializationExceptionInnerClasses
KeepaliveTaskMaxLifetimeTaskHouseKeeperPoolEntryCreatorloggerLorg/slf4j/Logger;POOL_NORMALI
ConstantValuePOOL_SUSPENDED
POOL_SHUTDOWN	poolStatealiveBypassWindowMsJhousekeepingPeriodMsisRequestBoundariesEnabledZEVICTED_CONNECTION_MESSAGELjava/lang/String;DEAD_CONNECTION_MESSAGEpoolEntryCreator4Lcom/zaxxer/hikari/pool/HikariPool$PoolEntryCreator;postFillPoolEntryCreatoraddConnectionExecutor)Ljava/util/concurrent/ThreadPoolExecutor;closeConnectionExecutor
connectionBag&Lcom/zaxxer/hikari/util/ConcurrentBag;	SignatureJLcom/zaxxer/hikari/util/ConcurrentBag;leakTaskFactory-Lcom/zaxxer/hikari/pool/ProxyLeakTaskFactory;suspendResumeLock*Lcom/zaxxer/hikari/util/SuspendResumeLock;houseKeepingExecutorService/Ljava/util/concurrent/ScheduledExecutorService;houseKeeperTask&Ljava/util/concurrent/ScheduledFuture;)Ljava/util/concurrent/ScheduledFuture<*>;#(Lcom/zaxxer/hikari/HikariConfig;)VCodeLineNumberTableLocalVariableTable	startTimethis#Lcom/zaxxer/hikari/pool/HikariPool;config Lcom/zaxxer/hikari/HikariConfig;
threadFactory$Ljava/util/concurrent/ThreadFactory;maxPoolSizeaddConnectionQueue*Ljava/util/concurrent/LinkedBlockingQueue;LocalVariableTypeTable@Ljava/util/concurrent/LinkedBlockingQueue;
StackMapTable?
getConnection()Ljava/sql/Connection;
Exceptions(J)Ljava/sql/Connection;eLjava/sql/SQLException;	poolEntry"Lcom/zaxxer/hikari/pool/PoolEntry;nowtimeout Ljava/lang/InterruptedException;hardTimeoutshutdown()VstartassassinExecutor?evictConnection(Ljava/sql/Connection;)V
connectionLjava/sql/Connection;proxyConnection(Lcom/zaxxer/hikari/pool/ProxyConnection;?setMetricRegistry(Ljava/lang/Object;)VmetricRegistryLjava/lang/Object;setMetricsTrackerFactory4(Lcom/zaxxer/hikari/metrics/MetricsTrackerFactory;)VmetricsTrackerFactory1Lcom/zaxxer/hikari/metrics/MetricsTrackerFactory;setHealthCheckRegistryhealthCheckRegistry
addBagItem(I)VwaitinggetActiveConnections()IgetIdleConnectionsgetTotalConnectionsgetThreadsAwaitingConnectionsoftEvictConnectionssuspendPool
resumePoollogPoolState([Ljava/lang/String;)Vprefix[Ljava/lang/String;~??recycle%(Lcom/zaxxer/hikari/pool/PoolEntry;)VcloseConnection7(Lcom/zaxxer/hikari/pool/PoolEntry;Ljava/lang/String;)V
closureReasongetPoolStateCounts()[IcreatePoolEntry$()Lcom/zaxxer/hikari/pool/PoolEntry;variancelifetime
heartbeatTimemaxLifetime
keepaliveTimeConnectionSetupException:Lcom/zaxxer/hikari/pool/PoolBase$ConnectionSetupException;Ljava/lang/Exception;fillPool(Z)Vi
countToAdd
isAfterAddidle	shouldAdd?abortActiveConnections)(Ljava/util/concurrent/ExecutorService;)VLjava/lang/Throwable;&Ljava/util/concurrent/ExecutorService;??
checkFailFastinitializationTimeout throwPoolInitializationException(Ljava/lang/Throwable;)VtsoftEvictConnection8(Lcom/zaxxer/hikari/pool/PoolEntry;Ljava/lang/String;Z)Zreasonowner%initializeHouseKeepingExecutorService1()Ljava/util/concurrent/ScheduledExecutorService;executor2Ljava/util/concurrent/ScheduledThreadPoolExecutor;"destroyHouseKeepingExecutorServicegetPoolStats'()Lcom/zaxxer/hikari/metrics/PoolStats;createTimeoutException(J)Ljava/sql/SQLException;sqlState	errorCodeoriginalExceptionconnectionException*Ljava/sql/SQLTransientConnectionException;getUnwrappedDataSource()Ljavax/sql/DataSource;toString()Ljava/lang/String;.lambda$initializeHouseKeepingExecutorService$2&()Ljava/util/concurrent/ThreadFactory;lambda$closeConnection$1*(Ljava/sql/Connection;Ljava/lang/String;)Vlambda$softEvictConnections$0
SourceFileHikariPool.javaNestMembers8com/zaxxer/hikari/util/ConcurrentBag$IConcurrentBagEntryIConcurrentBagEntry;<!com/zaxxer/hikari/pool/HikariPool???%com.zaxxer.hikari.aliveBypassWindowMs?????????? !'com.zaxxer.hikari.housekeeping.periodMs??"!)com.zaxxer.hikari.enableRequestBoundaries???#$2com/zaxxer/hikari/pool/HikariPool$PoolEntryCreator;?()
After adding ;?*)$com/zaxxer/hikari/util/ConcurrentBag;./(com/zaxxer/hikari/util/SuspendResumeLock;[545??67?[jkfgng	
?t(java/util/concurrent/LinkedBlockingQueue;q
&BootstrapMethods5com/zaxxer/hikari/util/UtilityElf$CustomDiscardPolicyCustomDiscardPolicy+,8java/util/concurrent/ThreadPoolExecutor$CallerRunsPolicyCallerRunsPolicy-,+com/zaxxer/hikari/pool/ProxyLeakTaskFactory?;23-com/zaxxer/hikari/pool/HikariPool$HouseKeeper89"com.zaxxer.hikari.blockUntilFilled? t!"#$q%q&'?(?vt)t*+,!NQ-[./ com/zaxxer/hikari/pool/PoolEntry01!(2ab34(connection was evicted)(connection is dead)??5789:;[java/sql/SQLException!beginRequest Failed for: {}, ({})<?=>?@ABC[D+??java/lang/InterruptedExceptionEFGH[I;Jjava/lang/StringAfter shutdown {|K[Before shutdown LMNx[Z[O?PQ9Timed-out waiting for add connection executor to shutdown=R?[CDS??5Timed-out waiting for connection assassin to shutdownT[;Timed-out waiting for close connection executor to shutdown&com/zaxxer/hikari/pool/ProxyConnectionU[V?(connection evicted by user)W??#com.codahale.metrics.MetricRegistryXYBcom/zaxxer/hikari/metrics/dropwizard/CodahaleMetricsTrackerFactory#com/codahale/metrics/MetricRegistry;Z+io.micrometer.core.instrument.MeterRegistryDcom/zaxxer/hikari/metrics/micrometer/MicrometerMetricsTrackerFactory+io/micrometer/core/instrument/MeterRegistry;[6com/zaxxer/hikari/pool/PoolBase$MetricsTrackerDelegateMetricsTrackerDelegate\???]^_;`9com/zaxxer/hikari/pool/PoolBase$NopMetricsTrackerDelegateNopMetricsTrackerDelegate/com/codahale/metrics/health/HealthCheckRegistryabcdefgthijkltmnogp?qrstujava/lang/IllegalStateExceptionv;Rw[??x[y={} - {}stats (total={}/{}, idle={}/{}, active={}, waiting={})java/lang/Objectz{|utstwt}~??[endRequest Failed for: {},({})????KO[????????????????1com/zaxxer/hikari/pool/HikariPool$MaxLifetimeTask;???????/com/zaxxer/hikari/pool/HikariPool$KeepaliveTask??8com/zaxxer/hikari/pool/PoolBase$ConnectionSetupException={} - Error thrown while acquiring connection from data source???>????gjava/lang/Exception/{} - Cannot acquire connection from data source}>L{} - Fill pool skipped, pool has sufficient level or currently being filled.}?m???????java/lang/Throwable$(connection aborted during shutdown)??????{} - Added connection {}?>7(initialization check complete and minimumIdle is zero)????=com/zaxxer/hikari/pool/HikariPool$PoolInitializationException;??[?????????????"java/util/concurrent/ThreadFactory0java/util/concurrent/ScheduledThreadPoolExecutor5java/util/concurrent/ThreadPoolExecutor$DiscardPolicy
DiscardPolicy;??????n#com/zaxxer/hikari/pool/HikariPool$1;?Timeout failure ?[???t(java/sql/SQLTransientConnectionException??;???????6com/zaxxer/hikari/util/UtilityElf$DefaultThreadFactoryDefaultThreadFactory?(connection evicted)com/zaxxer/hikari/pool/PoolBase"com/zaxxer/hikari/HikariPoolMXBean6com/zaxxer/hikari/util/ConcurrentBag$IBagStateListenerIBagStateListenercom/zaxxer/hikari/HikariConfig'java/util/concurrent/ThreadPoolExecutorjava/sql/Connectionorg/slf4j/Logger[Ljava/lang/Object;java/util/concurrent/Callablejava/util/Iterator$java/util/concurrent/ExecutorServiceorg/slf4j/LoggerFactory	getLogger%(Ljava/lang/Class;)Lorg/slf4j/Logger;java/util/concurrent/TimeUnitMILLISECONDSLjava/util/concurrent/TimeUnit;toMillis(J)Jjava/lang/LonggetLong%(Ljava/lang/String;J)Ljava/lang/Long;	longValue()JSECONDSjava/lang/Boolean
getBoolean(Ljava/lang/String;)Z&(Lcom/zaxxer/hikari/pool/HikariPool;)V8(Lcom/zaxxer/hikari/pool/HikariPool;Ljava/lang/String;)V;(Lcom/zaxxer/hikari/util/ConcurrentBag$IBagStateListener;)VisAllowPoolSuspension()Z	FAUX_LOCKgetMetricsTrackerFactory3()Lcom/zaxxer/hikari/metrics/MetricsTrackerFactory;getMetricRegistry()Ljava/lang/Object;getHealthCheckRegistryhandleMBeans'(Lcom/zaxxer/hikari/pool/HikariPool;Z)VgetThreadFactorygetMaximumPoolSizepoolName
?? connection addermakeConcatWithConstants&(Ljava/lang/String;)Ljava/lang/String;!com/zaxxer/hikari/util/UtilityElfcreateThreadPoolExecutor?(Ljava/util/concurrent/BlockingQueue;Ljava/lang/String;Ljava/util/concurrent/ThreadFactory;Ljava/util/concurrent/RejectedExecutionHandler;)Ljava/util/concurrent/ThreadPoolExecutor; connection closer?(ILjava/lang/String;Ljava/util/concurrent/ThreadFactory;Ljava/util/concurrent/RejectedExecutionHandler;)Ljava/util/concurrent/ThreadPoolExecutor;getLeakDetectionThreshold3(JLjava/util/concurrent/ScheduledExecutorService;)V-java/util/concurrent/ScheduledExecutorServicescheduleWithFixedDelay](Ljava/lang/Runnable;JJLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture;getInitializationFailTimeoutjava/lang/Runtime
getRuntime()Ljava/lang/Runtime;availableProcessorsjava/lang/Mathmin(II)IsetMaximumPoolSizesetCorePoolSize"com/zaxxer/hikari/util/ClockSourcecurrentTime
elapsedMillisgetMinimumIdlequietlySleep(J)VconnectionTimeoutacquireborrow\(JLjava/util/concurrent/TimeUnit;)Lcom/zaxxer/hikari/util/ConcurrentBag$IConcurrentBagEntry;isMarkedEvictedlastAccessed(JJ)JisConnectionDead(Ljava/sql/Connection;)ZmetricsTrackerIMetricsTrackerDelegate9Lcom/zaxxer/hikari/pool/PoolBase$IMetricsTrackerDelegate;7com/zaxxer/hikari/pool/PoolBase$IMetricsTrackerDelegaterecordBorrowStats&(Lcom/zaxxer/hikari/pool/PoolEntry;J)VbeginRequest
getMessagewarn9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)VscheduleJ(Lcom/zaxxer/hikari/pool/PoolEntry;)Lcom/zaxxer/hikari/pool/ProxyLeakTask;createProxyConnection=(Lcom/zaxxer/hikari/pool/ProxyLeakTask;)Ljava/sql/Connection;releaserecordBorrowTimeoutStatsjava/lang/Thread
currentThread()Ljava/lang/Thread;	interrupt- - Interrupted during connection acquisition*(Ljava/lang/String;Ljava/lang/Throwable;)Vclose$java/util/concurrent/ScheduledFuturecancel(Z)ZgetLoginTimeoutawaitTermination#(JLjava/util/concurrent/TimeUnit;)Z(Ljava/lang/String;)V connection assassinatorshutdownNetworkTimeoutExecutorcancelLeakTaskgetPoolEntryisClosedsafeIsAssignableFrom'(Ljava/lang/Object;Ljava/lang/String;)Z((Lcom/codahale/metrics/MetricRegistry;)V0(Lio/micrometer/core/instrument/MeterRegistry;)VgetPoolName/com/zaxxer/hikari/metrics/MetricsTrackerFactorycreated(Ljava/lang/String;Lcom/zaxxer/hikari/metrics/PoolStats;)Lcom/zaxxer/hikari/metrics/IMetricsTracker;.(Lcom/zaxxer/hikari/metrics/IMetricsTracker;)V:com/zaxxer/hikari/metrics/dropwizard/CodahaleHealthCheckerregisterHealthChecksw(Lcom/zaxxer/hikari/pool/HikariPool;Lcom/zaxxer/hikari/HikariConfig;Lcom/codahale/metrics/health/HealthCheckRegistry;)VgetQueue&()Ljava/util/concurrent/BlockingQueue;"java/util/concurrent/BlockingQueuesizesubmit>(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/Future;getCount(I)IgetWaitingThreadCountvalues()Ljava/util/List;
??
?acceptB(Lcom/zaxxer/hikari/pool/HikariPool;)Ljava/util/function/Consumer;java/util/ListforEach (Ljava/util/function/Consumer;)V - is not suspendablesuspendresumeisDebugEnabledjava/lang/IntegervalueOf(I)Ljava/lang/Integer;debug((Ljava/lang/String;[Ljava/lang/Object;)VrecordConnectionUsage
endRequestrequite=(Lcom/zaxxer/hikari/util/ConcurrentBag$IConcurrentBagEntry;)Vremove=(Lcom/zaxxer/hikari/util/ConcurrentBag$IConcurrentBagEntry;)Z
?run`(Lcom/zaxxer/hikari/pool/HikariPool;Ljava/sql/Connection;Ljava/lang/String;)Ljava/lang/Runnable;execute(Ljava/lang/Runnable;)VgetStateCountsnewPoolEntrygetMaxLifetime&java/util/concurrent/ThreadLocalRandomcurrent*()Ljava/util/concurrent/ThreadLocalRandom;nextLongH(Lcom/zaxxer/hikari/pool/HikariPool;Lcom/zaxxer/hikari/pool/PoolEntry;)V\(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture;setFutureEol)(Ljava/util/concurrent/ScheduledFuture;)VgetKeepaliveTimesetKeepalivegetCause()Ljava/lang/Throwable;errorlastConnectionFailure-Ljava/util/concurrent/atomic/AtomicReference;+java/util/concurrent/atomic/AtomicReferenceset'(Ljava/lang/String;Ljava/lang/Object;)V(I)Ljava/util/List;iterator()Ljava/util/Iterator;hasNextnextabort"(Ljava/util/concurrent/Executor;)VquietlyCloseConnectionaddinfogetLastConnectionFailure()Ljava/lang/Exception;markEvictedreservegetScheduledExecutorjava/util/Optional
ofNullable((Ljava/lang/Object;)Ljava/util/Optional;
?getB(Lcom/zaxxer/hikari/pool/HikariPool;)Ljava/util/function/Supplier;	orElseGet1(Ljava/util/function/Supplier;)Ljava/lang/Object;W(ILjava/util/concurrent/ThreadFactory;Ljava/util/concurrent/RejectedExecutionHandler;)V1setExecuteExistingDelayedTasksAfterShutdownPolicysetRemoveOnCancelPolicyshutdownNow'(Lcom/zaxxer/hikari/pool/HikariPool;J)VrecordConnectionTimeoutgetSQLStategetErrorCodec - Connection is not available, request timed out after ms (total=, active=, idle=, waiting=)+(Ljava/lang/String;JIIII)Ljava/lang/String;=(Ljava/lang/String;Ljava/lang/String;ILjava/lang/Throwable;)VsetNextException(Ljava/sql/SQLException;)V
 housekeeper???????????$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/LambdaMetafactorymetafactory?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;?%java/lang/invoke/MethodHandles$Lookupjava/lang/invoke/MethodHandles1
A !"!#$%&]'&^()*)+,-,./01234567890:#;<=??*+?*??*??
???
*??
???*??*?Y*??*?Y*??*?Y*??*+??
? Y?!??"?#**?$?%*?&+?'?*+?'?(?*+?)?**+?+?,**?-+?.M+?/>?0Y?1:**?2?3,?4Y?5?6?7**?2?8,?9Y?:?;?<*?=Y+?>*?%???@**?%?AY*?BC*???E?FG??l+?H
??c*?7?I?J?K?L*?7?I?J?K?M?N7?O+?H??*?P+?Q??C?
?R???*?7?M*?7?L?>? \9A#B8CAHMI[^g_a?c?e?f?i?l?n?p?r?s?t?u?w
y,{=|O}af?~????????>f7@!?AB?CD??EF??G??HIJ??HKL@?yM?M  ??M?0&?NO=3	**?S?T?>??	ABPcNQ=f*?#?U?NB7*???V?W:????N7?X?!?Y?Z*?
??/*?[?\?#*?X?]?^?_!?Oe7?T*?`!?a*??'?[?b?:
*?d?[
?e?f*?@?g?h:
*?#?i
?	???G*?`!?j*!?k?:?m?n?cY*?2?o?p?:*?#?i????c??l???l?????>n?????$?'?,?R?g?r?~????????????????????????????????R?RS
?TU,?V!?W!?RXABY!?@!L_??W?*?WW?WWr
_c??lZ?Pc!Z[=?m*?q*?7? *?rYsS?t**?-*?`?u?*?rYvS?t*?F?*?F?wW*?F*?x*?7?y*?7*?z??{?*?|?}*?~*??*???/*?2??*???.?9Y?:?;L?NA*+??*?x*?P? ?O???
????+?y+???{?2*???}?$:+?y+???{?*???}?*??*??+????(?)?6?=?H?M?Q?X?i?t?x????????????????????????????
??!?,?9??HK?Z?`il? ?!\!??],mABL&)#&?0^? ^?????%^? Pl_`=?'+??M,??*,???+??????W?N?	"%c>	"%&? 'AB'ab"cdL:?e?Wr?e?WrFcfg=?D+?+????*??Y+?????(?'+?+????*??Y+?????(?*?(?>
 ",#>&C(?DABDhiLjk=y/+?"*??Y+*????*???????`?*??Y???`?>12#5.7?/AB/lmL#
ng=V+?**??+?????>ABD?ABoiLpq=b*?7?????*?7*???W?>NOP?ABrLst=3	*????>Z?	ABut=3	*????>a?	ABvt=2*????>h?ABwt=2*????>o?ABx[=A*???*?????>
vw?AB!y[=x0*?#?"???Y*?2?????*?q?*?#??*?q?>}
~?#?*?/??0ABL!z[=]*?q?*?q*??*?#???>??
????ABL?{|=x*????n*????Y*?2SY+??	+2??SY*?P??SY*???/??SY*????SY*???Q??SY*????SY*????S???>?? ?1?r?w??xABx}~L<?+?r????r????I??=?K*?`+??+?X?
*+]?_?2*??#+?[???M*??+?[,?e?f*?+???"+.c>*
?
???"?+?.?/?B?J?? /RSKABKTUL	Rc??=} *?+???+??N*?<*-,?????>?????*ab AB TU ?&L??=2*????>??AB??=?
?*??L*????A 	??= Ô??? ?m?ȧ	7 e7+*?%??Y*+???????*????7	??5???m??7e7+*?%??Y*+????E??+?L*?q?*??*?2+?ӹ?*??+?֧L*?q?*??*?2+?????????>V??
??,?2?M?V?]?k?r??????????????????????f
,!?!2?!k$?!r?!?TU
??!V;?!?"R??R??ABL#?)W@"?A??"B?"??='q*??=*?P*???/?*???Q??>?8*???Qd66? *?7?
*??*???W???ߧ?*??*?2???>.$
(3=
TZ]ap?>6$?3'?qABq?$l?$M?$L,?"@?U^?^??	??=6c*??ܹ?M,???N,???WN-??:+??*?-??W?':*??*?-??W?:*?-??W?????'/;?'/Q;EQQSQ>6
!'/$8%; =!E$N%Q$\%_&b'?4=R?'8ab!>TUcABc]?L+???,??We?U??
??[=3?*???H@	????NB*??:?9*???Q?#*???*??*?2?[???*????*???љ**????
?
?R!?O????	??**???>J123689:(;1<H?SBTE^FiIsJ|L?M?O?*ZTU?AB??!x@!L???4W
? ??=E
*?~??Y+???>
YZ?
AB
????=+???*?+??*+,?_??>lmnor?*ABTU?&?$L??=?F*?????7*???.??*??????L??Y+??Y????M,??,??,?*????>~
!?2?7?<?>?? !EF2??FABL>?[=P*?????
*?%??W?>?
???ABL??=:??Y*?
?
???>??AB??=$	|*?rY?S?t*?`??N6*??:?c??c?N?c?6?Y*?2?O*?P*??*??*???-?:?c?
?c??>:?
????!?)?2?<?E?I?g?o?y??>|AB|@!d?&a?![??g??L?<r??<A??=/*??>7?ABA??=/*??>7?AB??=;?Y*?2?	?
?>?AB??=f*+,??*?q?*???>??
??? ABab?&L??=?*+??W?>v?ABTU??????A???	??A????	4??	9^	?a?h?^?	???	*6????J
????:?Lstuv?{s???s???????




© 2015 - 2024 Weber Informatics LLC | Privacy Policy