com.zaxxer.hikari.HikariConfig.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of HikariCP Show documentation
Show all versions of HikariCP Show documentation
Ultimate JDBC Connection Pool
???? 7?
J
*
??? ! %
"&' ()*
+,
*- 2
3
*4 2
6 % 8
9 : ; <
= >
? @
A
JB
HC
?D EFGHIJGKL N
E&O
HPQ
RST N
EV W X Y Z [\]
T&^
_`
abcde fgh
i j k l m n o pqr Nt
Hu
Hv x y z {
H|
?}
~
??
??
??
??
L? N
??
????G?
??
???
a??G??G???????
?G? ?
? ??
???
??G??? ??G???
????G??
?
??
???????
?/
??
?c?????????????
???$
a? ???
N
??
?
? N
???
?????
?&
???
??
H?
???
??
?
?
??
? N?
???
?& ?
??
???G?
???
?
???
"?
???
?? ? ?
??
?? ??? LOGGER Lorg/slf4j/Logger;
ID_CHARACTERS [C CONNECTION_TIMEOUT J VALIDATION_TIMEOUT SOFT_TIMEOUT_FLOOR IDLE_TIMEOUT MAX_LIFETIME DEFAULT_KEEPALIVE_TIME
ConstantValue DEFAULT_POOL_SIZE I
unitTest Z catalog Ljava/lang/String; connectionTimeout validationTimeout idleTimeout leakDetectionThreshold maxLifetime maxPoolSize minIdle credentials -Ljava/util/concurrent/atomic/AtomicReference; Signature SLjava/util/concurrent/atomic/AtomicReference; initializationFailTimeout connectionInitSql connectionTestQuery dataSourceClassName dataSourceJndiName driverClassName exceptionOverrideClassName exceptionOverride (Lcom/zaxxer/hikari/SQLExceptionOverride; jdbcUrl poolName schema transactionIsolationName isAutoCommit
isReadOnly isIsolateInternalQueries isRegisterMbeans isAllowPoolSuspension
dataSource Ljavax/sql/DataSource; dataSourceProperties Ljava/util/Properties;
threadFactory $Ljava/util/concurrent/ThreadFactory; scheduledExecutor /Ljava/util/concurrent/ScheduledExecutorService; metricsTrackerFactory 1Lcom/zaxxer/hikari/metrics/MetricsTrackerFactory; metricRegistry Ljava/lang/Object; healthCheckRegistry healthCheckProperties
keepaliveTime sealed ()V Code LineNumberTable LocalVariableTable this Lcom/zaxxer/hikari/HikariConfig;
systemProp
StackMapTable (Ljava/util/Properties;)V
properties (Ljava/lang/String;)V propertyFileName
getCatalog ()Ljava/lang/String;
setCatalog getConnectionTimeout ()J setConnectionTimeout (J)V connectionTimeoutMs getIdleTimeout setIdleTimeout
idleTimeoutMs getLeakDetectionThreshold setLeakDetectionThreshold leakDetectionThresholdMs getMaxLifetime setMaxLifetime
maxLifetimeMs getMaximumPoolSize ()I setMaximumPoolSize (I)V getMinimumIdle setMinimumIdle getPassword setPassword password getUsername setUsername username setCredentials '(Lcom/zaxxer/hikari/util/Credentials;)V $Lcom/zaxxer/hikari/util/Credentials; getCredentials &()Lcom/zaxxer/hikari/util/Credentials; getValidationTimeout setValidationTimeout validationTimeoutMs getConnectionTestQuery setConnectionTestQuery getConnectionInitSql setConnectionInitSql
getDataSource ()Ljavax/sql/DataSource;
setDataSource (Ljavax/sql/DataSource;)V getDataSourceClassName setDataSourceClassName className addDataSourceProperty '(Ljava/lang/String;Ljava/lang/Object;)V propertyName value getDataSourceJNDI setDataSourceJNDI jndiDataSource getDataSourceProperties ()Ljava/util/Properties; setDataSourceProperties dsProperties getDriverClassName setDriverClassName e "Ljava/lang/ClassNotFoundException; Ljava/lang/Exception; driverClass Ljava/lang/Class; LocalVariableTypeTable Ljava/lang/Class<*>;
getJdbcUrl
setJdbcUrl ()Z
setAutoCommit (Z)V setAllowPoolSuspension getInitializationFailTimeout setInitializationFailTimeout setIsolateInternalQueries isolate getMetricsTrackerFactory 3()Lcom/zaxxer/hikari/metrics/MetricsTrackerFactory; setMetricsTrackerFactory 4(Lcom/zaxxer/hikari/metrics/MetricsTrackerFactory;)V getMetricRegistry ()Ljava/lang/Object; setMetricRegistry (Ljava/lang/Object;)V getHealthCheckRegistry setHealthCheckRegistry getHealthCheckProperties setHealthCheckProperties addHealthCheckProperty '(Ljava/lang/String;Ljava/lang/String;)V key getKeepaliveTime setKeepaliveTime keepaliveTimeMs setReadOnly readOnly setRegisterMbeans register getPoolName setPoolName getScheduledExecutor 1()Ljava/util/concurrent/ScheduledExecutorService; setScheduledExecutor 2(Ljava/util/concurrent/ScheduledExecutorService;)V executor getTransactionIsolation getSchema setSchema getExceptionOverrideClassName setExceptionOverrideClassName
overrideClass getExceptionOverride *()Lcom/zaxxer/hikari/SQLExceptionOverride; setExceptionOverride +(Lcom/zaxxer/hikari/SQLExceptionOverride;)V setTransactionIsolation isolationLevel getThreadFactory &()Ljava/util/concurrent/ThreadFactory; setThreadFactory '(Ljava/util/concurrent/ThreadFactory;)V seal copyStateTo #(Lcom/zaxxer/hikari/HikariConfig;)V field Ljava/lang/reflect/Field; other?? attemptFromContextLoader %(Ljava/lang/String;)Ljava/lang/Class; threadContextClassLoader Ljava/lang/ClassLoader;? ((Ljava/lang/String;)Ljava/lang/Class<*>; validate validateNumerics
checkIfSealed logConfiguration dsProps prop
propertyNames Ljava/util/TreeSet; 'Ljava/util/TreeSet;? loadProperties props is Ljava/io/InputStream; io Ljava/io/IOException;? openPropertiesInputStream )(Ljava/lang/String;)Ljava/io/InputStream; propFile Ljava/io/File; propertiesInputStream
Exceptions? generatePoolName next i random (Ljava/util/concurrent/ThreadLocalRandom; buf Ljava/lang/StringBuilder; &Ljava/security/AccessControlException; prefix? getObjectOrPerformJndiLookup &(Ljava/lang/Object;)Ljava/lang/Object; initCtx Ljavax/naming/InitialContext; Ljavax/naming/NamingException; object lambda$setUsername$1 \(Ljava/lang/String;Lcom/zaxxer/hikari/util/Credentials;)Lcom/zaxxer/hikari/util/Credentials; current lambda$setPassword$0
SourceFile HikariConfig.java=> +java/util/concurrent/atomic/AtomicReference??=? java/util/Properties/0:0
? (
com/zaxxer/hikari/HikariConfig; hikaricp.configurationFile?? ?H java/lang/Integer "java/lang/IllegalArgumentException BootstrapMethods=H idleTimeout cannot be negative !maxPoolSize cannot be less than 1 minimumIdle cannot be negative? "com/zaxxer/hikari/util/CredentialsaK ?
dK??>-. ??? ? ? >Driver class {} found in the HikariConfig class classloader {} java/lang/ClassNotFoundException EFailed to load driver class {} from HikariConfig class classloader {} java/lang/RuntimeException java/lang/Class!" java/lang/Object#$% java/lang/Exception&='$,
*
5678 java/lang/IllegalStateException Fcannot use setMetricsTrackerFactory() and setMetricRegistry() together Fcannot use setMetricRegistry() and setMetricsTrackerFactory() together?? #com.codahale.metrics.MetricRegistry()* %io.dropwizard.metrics5.MetricRegistry +io.micrometer.core.instrument.MeterRegistry ?Class must be instance of com.codahale.metrics.MetricRegistry, io.dropwizard.metrics5.MetricRegistry, or io.micrometer.core.instrument.MeterRegistry98 /com/codahale/metrics/health/HealthCheckRegistry LClass must be an instance of com.codahale.metrics.health.HealthCheckRegistry+,)
+
%34'&! LSQLExceptionOverride class {} found in the HikariConfig class classloader {} SFailed to load SQLExceptionOverride class {} from HikariConfig class classloader {}- &com/zaxxer/hikari/SQLExceptionOverride./0K12"#12<
345\6789??:;<K=>?@A 0Class {} found in Thread context class loader {} KClass {} not found in Thread context class loader {}, trying classloader {}B?K :CD .poolName cannot contain ':' when used with JMXE 7{} - using dataSource and ignoring dataSourceClassName.F{ A{} - cannot use driverClassName and dataSourceClassName together.{