name | Wartości domyślne konstruktora | Wartość domyślna po walidacji. | Reset walidacji |
minIdle | -1 | 10 | minIdle<0 lub minIdle>maxPoolSize jest resetowane do maxPoolSize. |
maxPoolSize | maxPoolSize -1 | 10 | Jeśli maxPoolSize jest mniejszy niż 1, jest resetowany. Gdy minIdle<=0 jest resetowany do DEFAULT_POOL_SIZE, czyli 10; jeśli minIdle>0 jest resetowany do wartości minIdle. |
maxLifetime | MINUTES.toMillis(30) = 1800000 | 1800000 | Jeśli nie jest równy 0 i jest krótszy niż 30 sekund, zostanie zresetowany do 30 minut. |
connectionTimeout | SECONDS.toMillis(30) = 30000 | 30000 | Jeśli mniej niż 250 milisekund, reset z powrotem do 30 sekund |
validationTimeout | SECONDS.toMillis(5) = 5000 | 5000 | Jeśli mniej niż 250 milisekund, jest resetowany z powrotem do 5 sekund |
loginTimeout | 10 | 30 | Math.max(1, (int) MILLISECONDS.toSeconds(500L + connectionTimeout)), zaokrągla w górę do najbliższej sekundy dla connectionTimeout + 500ms i 1 dla 1 |
idleTimeout | MINUTES.toMillis(10) = 600000 | 600000 | Jeśli idleTimeout+1sec > maxLifetime i maxLifetime > 0, zostanie zresetowany do 0. Jeśli idleTimeout!=0 i mniej niż 10sec, zostanie zresetowany do 10sec. |
leakDetectionThreshold | 0 | 0 | Jeśli większa niż 0 i nie jest testem jednostkowym, dalsza ocena: (leakDetectionThreshold < SECONDS.toMillis(2) lub (leakDetectionThreshold > maxLifetime && maxLifetime > ; 0), zostanie zresetowany do 0 . Tzn. aby zadziałał, musi wynosić > 0 i nie może być mniejszy niż 2 sekundy oraz nie może być większy niż maxLifetime, gdy maxLifetime > 0. |
initialisationFailTimeout | 1 | 1 | -isAutoCommit |
isAutoCommit | initialisationFailTimeout | isAutoCommit | -isReadOnly |
isReadOnly | true - isReadOnly | fasle | -isAllowPoolSuspension |
isAllowPoolSuspension | fasle - isAllowPoolSuspension | false | fasle - isAllowPoolSuspension false false |
isIsolateInternalQueries | false - isIsolateInternalQueries | false | -isRegisterMbeans |
isRegisterMbeans | false | false | -false |
zapieczętowany | false | true | Ta flaga ma wartość true, gdy uruchomienie jest rozpoczęte i nie są już uruchamiane żadne modyfikacje. |
poolName | null | HikariPool-1 | HikariPool-1 |
catalog | null | null | HikariPool-1 - katalog null null |
connectionInitSql | null | null | -null |
connectionTestQuery | null | null | connectionTestQuery null null - |
dataSourceClassName | null | null | -null |
schema | null | null | -null |
transactionIsolationName | null | null | -transactionIsolationName null |
transactionIsolationName | null - dataSource | null | -dataSource null null |
dataSourceProperties | {} | {} | null - dataSourceProperties {} {} |
threadFactory | null | null | threadFactory null null - |
scheduledExecutor | null | null | -metricsTrackerFactory |
metricsTrackerFactory | null | null | null - metricsTrackerFactory |
metricRegistry | null | null | null - metricRegistry |
healthCheckRegistry | null | null | -healthCheckRegistry null |
healthCheckProperties | {HealthCheckRegistry null null - healthCheckProperties} | {} | null - healthCheckProperties {} {} |