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??
??
??	?	?	?
?	?
?	?
?	?
?	?
???
??	?
?
??	?	?	?
?	?
?	?
?	?
?	?
?	??
$?	?
??L?	??
??
?-?????
??-?-?-?
?,?,??
<?
$??
1?L?
$?	??
?
D?
?-?
?-?
?-?
?
??-?
?
?-?L??
?	??
W?}?
??
?
????
????
c??
c?
c?
b?????J?J??L?J??I?
?
?
?
?
?
?
?
??
???

??
?
?

	
}}

??
		?

L
-?-
	


?	
 
!"#$%
<?L&-'(
0?L)
0*+
?,,-.L/-0-123L45-67
?89
:
;<=
?>
?@B
?C
DE
WF
WGH???	?I?
?J}KL	MN
cO
cPQRST?UVInnerClassesWNopMetricsTrackerDelegateXMetricsTrackerDelegateYIMetricsTrackerDelegateSynchronousExecutorConnectionSetupExceptionloggerLorg/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;
StackMapTableZtoString()Ljava/lang/String;recycle%(Lcom/zaxxer/hikari/pool/PoolEntry;)VquietlyCloseConnection*(Ljava/sql/Connection;Ljava/lang/String;)VeLjava/lang/Exception;
connectionLjava/sql/Connection;
closureReasonisConnectionAlive(Ljava/sql/Connection;)Z	statementLjava/sql/Statement;validationSeconds[\getLastConnectionFailure()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;register]^_`initializeDataSourceicLjavax/naming/InitialContext;Ljavax/naming/NamingException;jdbcUrlusernamepassworddsClassNamedriverClassNamedataSourceJNDIdataSourcePropertiesLjava/util/Properties;dsa
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;bsetLoginTimeout(Ljavax/sql/DataSource;)VstringFromResetBits(I)Ljava/lang/String;ndxbitssbLjava/lang/StringBuilder;
SourceFile
PoolBase.java&com/zaxxer/hikari/pool/ProxyConnection<com/zaxxer/hikari/pool/PoolBasecde?????f??g?
h
hi&com/zaxxer/hikari/SQLExceptionOverridejava/lang/Objectjkl??mmn???ohp??q>??r>??+java/util/concurrent/atomic/AtomicReference??N<{} - Closing connection {}: {}stuvwxylmz<java/sql/SQLExceptionjava/lang/Exception!{} - Closing connection {} failed{|}~?<??ef??java/lang/Throwable????`{} - Failed to validate connection {} ({}). Possibly consider using a shorter maxLifetime value.??t??
 com/zaxxer/hikari/pool/PoolEntry\]??h???h?????????????????h {} - Reset ({}) on connection {}{|	'java/util/concurrent/ThreadPoolExecutor??=??y?h???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 (????){} - JMX name ({}) is already registered.????#{} - Failed to {} management beans.
unregister?????????1javax/sql/DataSource???'com/zaxxer/hikari/util/DriverDataSource?javax/naming/InitialContext??javax/naming/NamingException=com/zaxxer/hikari/pool/HikariPool$PoolInitializationExceptionPoolInitializationException?yzrs??>?]??(java/sql/SQLTransientConnectionException%DataSource returned null unexpectedly_`???y??#(Failed to create/setup connection) !./*{} - Failed to create/setup connection: {}s?hi?ha`??no8com/zaxxer/hikari/pool/PoolBase$ConnectionSetupExceptionb`d`java/lang/AbstractMethodError4{} - Failed to execute{} connection test query ({}).$ isValid() for connection, configure?tm??{} - Default transaction isolation level detection failed ({}).???08??e?4{} - Failed to set query timeout for statement. ({})????l?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?w|?y?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&?y0I<
B1'(Y*+*?#?.3*?#?5??l=*??++?6>*+*???.*??*??	+?7?+?8N*??	*-?9-*???:W-?'-?;?:-?-?;?:?=?*+*???.*??6*??/+?7?&:*+*???.*??*??	+?7??M*?&,?>*???Y*?SY+SY,?@S?A?Okx<~??<(?H?????F?1H??1r?	?? ?(?2?@?F?H?O?W?]?k?x????????????????????????????4OD)*z+??+"#$%X?F??,Z|)*?C?*?C?Y???*Z?\?L?*Z?\?0
"?)	H@0@A],*??]???^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\	;"BCZDC?EF?~BC?ZDC("#,,GH,I]
?QJ?Gbb(?B1?K1L?MM?K1L?MM?	N<?
?*??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?OP	?
"Q	??R??S??T?!?U?*?V?3?W?<?XYE?Z+?i	??????[}a?\]????@N*??v:*??w:?*?C???*?C??N-?
??Y????*-??*?&?>-:*???*???????:-?
*-????*???*??*??@??*?&?>?:*???*???????Ul1U?l??^egijl7m;nEqJrRsU?\?islunvrw|y?z?}?~??????>]S?TT?n5"#??^??$%^	?)-??L-?#-?-1?1?-EKtuyvw??
?U??R?
?x]x?"yz?<*?!ʔ?3+???*?!a?\??Ϲ??M*??*?,?@???$'1np$t'r(s;v ("#<<
g1{|?>?cY?dM>?Ҿ? x~?,??2?fӶfW????,,??d??,?g?????)?/?9?*
%}?>>~?6?
?
c??<?'??Y?SY?SY?SY?SY?SY?S?ұF???B?????????
???K	??A




© 2015 - 2024 Weber Informatics LLC | Privacy Policy