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

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

There is a newer version: 6.2.0
Show newest version
????4??
??
??	?	?	?
??	?
??	?
??	?
??	?
????
??	?
??
??	?	?	?
??	?
??	?
??	?
??	?
??	??
$?	?
????	??
??
???????
????????
??????
<?
$??
1???
$?	??
?
D?
???
???
???
?
????
?
??????
?	??
W?}?
??
??
????
????
c??
c?
c?
b?????????????M
?
?
?
?
?
?
?	
?




??
?
?

}}
??
	 !?"#
$
%&?'
(???)
*	+
?,
-.
?	/
0
12345
<??6?78
0??9
0:;
?<?=>???@?ABC?DE?FG
?HI
J
KLM
?N
?OPR
?S
TU
WV
WWX???	?Y?
?Z}[\	]^
c_
c`abcd?efInnerClassesgNopMetricsTrackerDelegatehMetricsTrackerDelegateiIMetricsTrackerDelegateSynchronousExecutorConnectionSetupExceptionloggerLorg/slf4j/Logger;config Lcom/zaxxer/hikari/HikariConfig;metricsTracker9Lcom/zaxxer/hikari/pool/PoolBase$IMetricsTrackerDelegate;poolNameLjava/lang/String;cataloglastConnectionFailure-Ljava/util/concurrent/atomic/AtomicReference;	SignatureDLjava/util/concurrent/atomic/AtomicReference;connectionTimeoutJvalidationTimeoutexceptionOverride(Lcom/zaxxer/hikari/SQLExceptionOverride;RESET_STATES[Ljava/lang/String;
UNINITIALIZEDI
ConstantValue????TRUEFALSEnetworkTimeoutisNetworkTimeoutSupportedisQueryTimeoutSupporteddefaultTransactionIsolationtransactionIsolationnetTimeoutExecutorLjava/util/concurrent/Executor;
dataSourceLjavax/sql/DataSource;schema
isReadOnlyZisAutoCommitisUseJdbc4ValidationisIsolateInternalQueriesisValidChecked#(Lcom/zaxxer/hikari/HikariConfig;)VCodeLineNumberTableLocalVariableTablethis!Lcom/zaxxer/hikari/pool/PoolBase;
StackMapTable?jtoString()Ljava/lang/String;recycle%(Lcom/zaxxer/hikari/pool/PoolEntry;)VquietlyCloseConnection*(Ljava/sql/Connection;Ljava/lang/String;)VeLjava/lang/Exception;
connectionLjava/sql/Connection;
closureReason???isConnectionAlive(Ljava/sql/Connection;)Z	statementLjava/sql/Statement;validationSecondsklgetLastConnectionFailure()Ljava/lang/Exception;getUnwrappedDataSource()Ljavax/sql/DataSource;newPoolEntry$()Lcom/zaxxer/hikari/pool/PoolEntry;
ExceptionsresetConnectionStateA(Ljava/sql/Connection;Lcom/zaxxer/hikari/pool/ProxyConnection;I)VproxyConnection(Lcom/zaxxer/hikari/pool/ProxyConnection;	dirtyBits	resetBitsshutdownNetworkTimeoutExecutor()VgetLoginTimeout()JLjava/sql/SQLException;handleMBeans'(Lcom/zaxxer/hikari/pool/HikariPool;Z)VbeanConfigNameLjavax/management/ObjectName;beanPoolNamemBeanServerLjavax/management/MBeanServer;
hikariPool#Lcom/zaxxer/hikari/pool/HikariPool;registerm?noap?initializeDataSourceicLjavax/naming/InitialContext;Ljavax/naming/NamingException;jdbcUrlusernamepassworddsClassNamedriverClassNamedataSourceJNDIdataSourcePropertiesLjava/util/Properties;dsq
newConnection()Ljava/sql/Connection;startsetupConnection(Ljava/sql/Connection;)VcheckDriverSupportcheckValidationSupportLjava/lang/Throwable;checkDefaultIsolationsetQueryTimeout(Ljava/sql/Statement;I)V
timeoutSecgetAndSetNetworkTimeout(Ljava/sql/Connection;J)IoriginalTimeout	timeoutMssetNetworkTimeout(Ljava/sql/Connection;J)V
executeSql+(Ljava/sql/Connection;Ljava/lang/String;Z)VsqlisCommitcreateNetworkTimeoutExecutor=(Ljavax/sql/DataSource;Ljava/lang/String;Ljava/lang/String;)V
threadFactory$Ljava/util/concurrent/ThreadFactory;executor)Ljava/util/concurrent/ThreadPoolExecutor;rsetLoginTimeout(Ljavax/sql/DataSource;)VstringFromResetBits(I)Ljava/lang/String;ndxbitssbLjava/lang/StringBuilder;?
SourceFile
PoolBase.java&com/zaxxer/hikari/pool/ProxyConnection@com/zaxxer/hikari/pool/PoolBasestu?????jv??w?
x
xy&com/zaxxer/hikari/SQLExceptionOverridejava/lang/Objectz{|??}}~???x????B???B??+java/util/concurrent/atomic/AtomicReference??U@{} - Closing connection {}: {}o???????uvl?@java/sql/SQLExceptionjava/lang/Exception!{} - Closing connection {} failed??????@??nok??java/lang/Throwable????`{} - Failed to validate connection {} ({}). Possibly consider using a shorter maxLifetime value.?????
 com/zaxxer/hikari/pool/PoolEntryef??x???x?????????????????x {} - Reset ({}) on connection {}??	'java/util/concurrent/ThreadPoolExecutor??A????x???truehikaricp.jmx.register2.0???javax/management/ObjectNamejava/lang/StringBuilder'com.zaxxer.hikari:type=PoolConfig,name=???!com.zaxxer.hikari:type=Pool,name=#com.zaxxer.hikari:type=PoolConfig ()com.zaxxer.hikari:type=Pool (m????){} - JMX name ({}) is already registered.????#{} - Failed to {} management beans.
unregister?????????5javax/sql/DataSource???'com/zaxxer/hikari/util/DriverDataSource?javax/naming/InitialContext??javax/naming/NamingExceptionn=com/zaxxer/hikari/pool/HikariPool$PoolInitializationExceptionPoolInitializationException???{|??B?f??(java/sql/SQLTransientConnectionException%DataSource returned null unexpectedlyhi??????#(Failed to create/setup connection)!"23*{} - Failed to create/setup connection: {}??qr?xji??wx8com/zaxxer/hikari/pool/PoolBase$ConnectionSetupExceptionkimijava/lang/AbstractMethodError4{} - Failed to execute{} connection test query ({}).$ isValid() for connection, configure??}??{} - Default transaction isolation level detection failed ({}).???08??n?4{} - Failed to set query timeout for statement. ({})????u?J{} - Driver does not support get/set network timeout for connections. ({})p{} - A validationTimeout of less than 1 second cannot be honored on drivers without setNetworkTimeout() support.??}{} - A validationTimeout with fractional second granularity cannot be honored on drivers without setNetworkTimeout() support.?@Mysql??mysql????3com/zaxxer/hikari/pool/PoolBase$SynchronousExecutor???6com/zaxxer/hikari/util/UtilityElf$DefaultThreadFactoryDefaultThreadFactory network timeout executor????????java/lang/Integer??????6{} - Failed to set login timeout for data source. ({})??, ????java/lang/StringreadOnly
autoCommit	isolation
netTimeout!com/zaxxer/hikari/pool/PoolBase$19com/zaxxer/hikari/pool/PoolBase$NopMetricsTrackerDelegate6com/zaxxer/hikari/pool/PoolBase$MetricsTrackerDelegate7com/zaxxer/hikari/pool/PoolBase$IMetricsTrackerDelegatecom/zaxxer/hikari/HikariConfigjava/sql/Statementjava/sql/Connectionjavax/management/MBeanServer!com/zaxxer/hikari/pool/HikariPoolorg/slf4j/Logger[Ljava/lang/Object;java/util/Properties"java/util/concurrent/ThreadFactoryorg/slf4j/LoggerFactory	getLogger%(Ljava/lang/Class;)Lorg/slf4j/Logger;
getCatalog	getSchema()ZgetExceptionOverrideClassName!com/zaxxer/hikari/util/UtilityElfcreateInstanceJ(Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object;getTransactionIsolation(Ljava/lang/String;)IgetConnectionTestQuerygetPoolNamegetConnectionTimeoutgetValidationTimeoutdebug((Ljava/lang/String;[Ljava/lang/Object;)Vjava/util/concurrent/TimeUnitSECONDSLjava/util/concurrent/TimeUnit;toMillis(J)Jclosejava/lang/Mathmax(JJ)JisValid(I)ZrollbackcreateStatement()Ljava/sql/Statement;execute(Ljava/lang/String;)Z
addSuppressed(Ljava/lang/Throwable;)Vset(Ljava/lang/Object;)V
getMessagewarnget()Ljava/lang/Object;;(Ljava/sql/Connection;Lcom/zaxxer/hikari/pool/PoolBase;ZZ)VgetReadOnlyStatesetReadOnly(Z)VgetAutoCommitState
setAutoCommitgetTransactionIsolationState()IsetTransactionIsolation(I)VgetCatalogStateequals(Ljava/lang/Object;)Z
setCatalog(Ljava/lang/String;)VgetNetworkTimeoutStategetSchemaState	setSchemaisDebugEnabledshutdownNow()Ljava/util/List;	toSecondsisRegisterMbeans&java/lang/management/ManagementFactorygetPlatformMBeanServer ()Ljavax/management/MBeanServer;java/lang/SystemgetProperty&(Ljava/lang/String;)Ljava/lang/String;append-(Ljava/lang/String;)Ljava/lang/StringBuilder;isRegistered (Ljavax/management/ObjectName;)Z
registerMBeanR(Ljava/lang/Object;Ljavax/management/ObjectName;)Ljavax/management/ObjectInstance;error9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)VunregisterMBean (Ljavax/management/ObjectName;)V
getJdbcUrlgetUsernamegetPasswordgetDataSourceClassNamegetDriverClassNamegetDataSourceJNDIgetDataSourceProperties()Ljava/util/Properties;
getDataSource"com/zaxxer/hikari/util/PropertyElfsetTargetFromProperties+(Ljava/lang/Object;Ljava/util/Properties;)Va(Ljava/lang/String;Ljava/lang/String;Ljava/util/Properties;Ljava/lang/String;Ljava/lang/String;)Vlookup&(Ljava/lang/String;)Ljava/lang/Object;"com/zaxxer/hikari/util/ClockSourcecurrentTime
getConnection;(Ljava/lang/String;Ljava/lang/String;)Ljava/sql/Connection;
elapsedMillisrecordConnectionCreated(J)V
getAutoCommitgetConnectionInitSqlgetSQLState
startsWithinfogetNetworkTimeout#(Ljava/util/concurrent/Executor;I)V'(Ljava/lang/String;Ljava/lang/Object;)Vcommitcontains(Ljava/lang/CharSequence;)ZgetClass()Ljava/lang/Class;java/lang/ClassgetName&(Lcom/zaxxer/hikari/pool/PoolBase$1;)VgetThreadFactory&()Ljava/util/concurrent/ThreadFactory;(Ljava/lang/String;Z)Vjava/util/concurrent/ExecutorsnewCachedThreadPoolL(Ljava/util/concurrent/ThreadFactory;)Ljava/util/concurrent/ExecutorService;setKeepAliveTime#(JLjava/util/concurrent/TimeUnit;)VallowCoreThreadTimeOutMILLISECONDS(II)Ilength	setLength ????????@????????????????????????????	
?
BI?*?*??*+?*?*+??	*+?
?*+??
*+??*+?????*+???*?*?*+????*+??*+??*+? ?!*+?"?#*?$Y?%?&*?'?R]7
^`ab'c/d7eKfVh[i`jpkxm?n?o?p?r?s????#?l?/*??y !"#q+?o*?(?Y*?SY+SY,S?)*+?*+?-?.+?/?N+?/?:+?/??"N*?2?Y*?SY+SY-S?)?"090"0CCECNQ1:??"?0?6?9?:?@?C?K?N?Q?R?p?*R#$qq%&q'?y(I)
B*+,?	9*+*?#?.3*?#?5??l=*??++?6>*+*???.*??*??	+?7?+?8N:*??	*-?9-*???:W-?X?-?;?J:?=?>-?;?5::?:-?#?-?;?:?=?	-?;?*+*???.*??6*??/+?7?&:*+*???.*??*??	+?7??M*?&,?>*???Y*?SY+SY,?@S?A?
w}?<Rn?<Rn????<???(?H?????F
1H
1v?	?? ?(?2?@?F?H?R?Z?`?n??????????????????
???.?2?7?4Ox-.?/?+#$99%&u?F??0)_)H)H)?10)))?1`)?	1)?1A*235*?&?B?1??45/*?C??67??DY*?E**?
*??F??819:?6~?,?G*?
?+*?
?H?6~?,?I*??+*??J?6~?,?K*??+*??L?6~?)*?	?"*?	,?M?N?+*?	?O?6~?,?P*??*+*???.?6 ~?)*??"*?,?Q?N?+*??R ?6?2*??S?&*?T?Y*?SY*?USY+S?)?Z????$?5???E?V?`?f??????????????????????4%&;<=?>??$  ,",380?@Q*?V?W?*?V?W?XW??
??AB|)*?C?*?C?Y???*Z?\?L?*Z?\?0
#C)	H@(DE],*??]???^N_`?a?N?D?bY?cY?de?f*??f?g?h:?bY?cY?di?f*??f?g?h:?K?bY?cY?dj?f*??fk?f?g?h:?bY?cY?dl?f*??fk?f?g?h:?>-?m?-*??nW-+?nW?4*?o*?*??p?-?m?-?q-?q?,N*?r?Y*?SY?s?tSY-S?A??1R
;]? ?"?#?$?%?'?*?+?,?1/0+2\	;"FGZHG?IJ?~FG?ZHG(#$,,KL,M]
?QN?GOO(?B*?P*QRSS?P*QRSST?	U@?
?*??uL*??vM*??wN*??x:*??y:*??z:*??{:*??|:?"?}???}:?~?M+???Y+,-??:?1?,?'??Y??:		???}:?:	??Y	????*??*+??*?C?????b=>?@!A*B3C<EEFOG_HiJrK?M?O?P?S?Q?R?V?W?X?[?\p?VW	?
#X	??Y??Z??[?!?\?*?]?3?^?<?_`E?a+?i	RRRRRRbcadef????@N*??v:*??w:?*?C???*?C??N-?
??Y????*-??*?&?>-:*???*???????:-?
*-????*???*??*??@??*?&?>?:*???*???????Ul1U?l??^egijl7m;nEqJrRsU?\?islunvrw|y?z?}?~??????>]Z?T[?n5#$??g??%&^	?)1RRL1?#1?1*?*?1)?1)81hiV?*??**+*?#????*+*?#?.+??*?
?
+*?
?H+??*??
+*??J*+??*?*???
+*??L*?	?
+*?	?O*??
+*??R*+*?????*+*???.?
M??Y,??????0R???!?.?8?E?O?T?_?i?p?z??????????????? ?	#C??%&	Y(	8?jid*???*+??*+??*????????%&80kiT*??+?6W?*+*?????4M*???Y*?SY*?????SY,??S??,??"1"?"????"?#?Q?S? #0#lTT%&HB)?1)QRSS?1)QRSST?80mi?G*+????*??**????,M*??*?,????,???,??????,??0&	?
?????1?D?F? (#CGG%&B((80no?8*??3+??*??$N*??*?*??*?-?@???1&	????$7* #$88-.8p?V* qr4?*???+??6+*?V ???*??:*??]*?*??*?????*?#?*
?-??*??*????#*?#?*
?-q	??*??*????"#1"#?: #%-2FUg!x"?(4s?%b#l??%&?t?c)?C)?uvd*??+*?V ????568 %&t?80wx?	?,??+?8::,?:W?]??;?N:?=?B?;?8::?:?%??;?:?=?
?;?*??*???+???	+?7?"),<B<KW^a<BMK.DEGHBEKHwJ?K?L?O?S4k-.??%&?y??zX
?,1R0))I)H)?1R0)))?1R80{|.?,?,????#-?-????+?!+????????*??Y???V?W*???:??!??Y?cY?d*??fĶf?g??:???W:+?*????*?V?.XYZ-[<^E_o`ya?b?c?e>EK}~y???
?\??Y?
??]??"???<*?!ʔ?3+???*?!a?\??Ϲ??M*??*?,?@???$'1np$t'r(s;v (#$<<
g*???>?cY?dM>?Ҿ? x~?,??2?fӶfW????,,??d??,?g?????)?/?9?*
%??>>??6??
?
???@?'??Y?SY?SY?SY?SY?SY?S?ұF???B?????????
???	??Q




© 2015 - 2024 Weber Informatics LLC | Privacy Policy