Commit Graph

1060 Commits (HikariCP-3.1.0)

Author SHA1 Message Date
Brett Wooldridge 43f21c0fd3 Fix JavaDoc typo 7 years ago
Brett Wooldridge 9d1b13327e Fix JavaDoc typo 7 years ago
Brett Wooldridge 368b3ab692 Fix JavaDoc typo 7 years ago
Brett Wooldridge b5c340eee3 Permit changing the catalog via the HikariConfigMXBean 7 years ago
Brett Wooldridge 4e6bd83fb6
Update HikariConfig.java 7 years ago
Brett Wooldridge 869b114ac6 JavaDoc fixes. 7 years ago
Brett Wooldridge b11eb4084c Merge commit '5e84eeebbf61739314b76e61c7f10b9af7c51759' into dev
* commit '5e84eeebbf61739314b76e61c7f10b9af7c51759':
  Extract Micrometer metric name to public constant and document usage
  Remove hard-coded percentiles from MicrometerMetricsTracker
7 years ago
Brett Wooldridge a11d6a6b39 Prepare for release. 7 years ago
Brett Wooldridge 36ffcafe83 Fixes #1116 Only set readOnly/autoCommit during connection setup if they differ from defaults. 7 years ago
Brett Wooldridge 25f8ab1c1e New MBean test. 7 years ago
Brett Wooldridge 00cd48a7c8 Fixes #1117 Add (currently undocumented) system property to block pool startup until minimumIdle connections exist in the pool. 7 years ago
Manabu Matsuzaki 3b4322eae6 add test case for new metrics (#1115) 7 years ago
Manabu Matsuzaki 3313174891 Add pool metrics (#1110) 7 years ago
Manabu Matsuzaki 4852678a7b `mockMeterRegistry#find(String)` doesn't seem to return null (#1113) 7 years ago
Tommy Ludwig 3a739210ce Maintain strong reference to PoolStats for Micrometer gauges (#1108)
Micrometer's gauges were breaking after the `PoolStats` object they weakly referenced was garbage collected. This change holds a strong reference to the `PoolStats` object in `MicrometerMetricsTracker` to avoid this issue.

See http://micrometer.io/docs/concepts#_why_is_my_gauge_reporting_nan_or_disappearing
7 years ago
Tommy Ludwig 5e84eeebbf Extract Micrometer metric name to public constant and document usage
Hard-coded percentiles were removed in a previous commit. This documents how a user can configure such things in their code and makes it easier to do by providing a public constant for the prefix used by all metric names.
7 years ago
Tommy Ludwig cc36894164 Remove hard-coded percentiles from MicrometerMetricsTracker
Rather than hard-coding a client-side calculated percentile in HikariCP's code, it is best to leave these configuration decisions to HikariCP users in their code. Users can configure percentiles and whether to record a histogram for HikariCP metrics via a `MeterFilter`.

Resolves micrometer-metrics/micrometer#91
7 years ago
Brett Wooldridge b4f25170b3 Setup for a v2.7.8 release. 7 years ago
Brett Wooldridge 7bff6723c1 Fixes #1095 fix breakage caused by sealed configuration with respect to special handling
for the metricsRegistry and metricsTrackerFactory properties, which are allowed to be
altered *once* after the pool has started.
7 years ago
NersesAM 91bd7dfb33 Allowing anonymous subclasses of MetricRegistry. Also changing checks for metrics libraries from classname contains to assignableFrom the metrics class (#1089) 7 years ago
Brett Wooldridge 90f1887b4d Fix bug in sealed configuration. 7 years ago
Brett Wooldridge 64d91e8ea3 Fixes #1060 (Really) support experimental throw-if-suspended functionality. 7 years ago
Brett Wooldridge bef929cc97 Fixes #1060 Support experimental throw-if-suspended functionality. 7 years ago
Brett Wooldridge 1f73e9a005 Fixes #1060 Support experimental throw-if-suspended functionality. 7 years ago
Brett Wooldridge bdfeee96e0 Fixes #1064 do not propagate "sealed" status to the target of copyStateTo(HikariConfig other). 7 years ago
Stanislav Savulchik 18379538fb Enable quantiles calculation in prometheus metrics (#1058) 7 years ago
Brett Wooldridge 5ba71e0e83 Minor cleanup. 7 years ago
stepbeekio a3637fb945 Fixes #1061 HikariProxyStatement.GetGeneratedKeys does not return ProxyResultSet. (#1062) 7 years ago
Brett Wooldridge 2c0c761253 Fix typo. 7 years ago
Brett Wooldridge c3ab0aa0ca Fixes #1053 seal the HikariDataSource after the pool is started. Improve constructor documentation. 7 years ago
Brett Wooldridge c48ccf6e12 Fixes #1053 seal the HikariDataSource after the pool is started. Improve constructor documentation. 7 years ago
oshai a5bdec0ad7 fix documentation (#1055) 7 years ago
znikola 56e978fc65 Added a support for SQL server's specific isolation level (Snapshot) (#1026) 7 years ago
Holger Thurow 4bb67f7612 Issue #928: HikariJNDIFactory should not throw a NamingException when… (#1022)
* Issue #928: HikariJNDIFactory should not throw a NamingException when !"javax.sql.DataSource".equals(ref.getClassName()).

* Issue #928: HikariJNDIFactory should not throw a NamingException when !"javax.sql.DataSource".equals(ref.getClassName()).

* Revert "Issue #928: HikariJNDIFactory should not throw a NamingException when !"javax.sql.DataSource".equals(ref.getClassName())."

This reverts commit d2a5775

* Issue #928: HikariJNDIFactory should not throw a NamingException when !"javax.sql.DataSource".equals(ref.getClassName()).

* Issue #928: HikariJNDIFactory should not throw a NamingException when !"javax.sql.DataSource".equals(ref.getClassName()).
7 years ago
Stephan Schroevers 4a4c139654 Fix Java file permissions (#1015)
Some files were inadvertently marked executable.
7 years ago
checketts 4e0fcb11d1 Update for Micrometer.rc3 (#1016) 7 years ago
Brett Wooldridge ea69484991 Fix javadoc 7 years ago
Brett Wooldridge 0ba37fc796 Fix javadoc 7 years ago
checketts 06e0cf6cf5 Update to match Micrometer updated RC api (#1002) 7 years ago
Brett Wooldridge 4b796b5209 Clean up and better JavaDoc. 7 years ago
Brett Wooldridge 5e508962a0 Fixes #1003 add SQL State 0A000 to eviction list. 8 years ago
testingsavvy 8ec0c63282 test that FastList#clear() sets all elements to null (#1001) 8 years ago
Fred Deschenes 4d484ea635 Rename copyState to copyStateTo (#991)
Fixes #892 and should prevent further confusion.
8 years ago
Brett Wooldridge d6a9cd435c Fixes #983 fix logic that determines how many idle connections can be removed, without violating the minimumIdle contract. 8 years ago
Brett Wooldridge 6735fcfe3a Closes #989 Merged the parts I agree with. 8 years ago
Brett Wooldridge e3ed1350d7 Minor cleanup. 8 years ago
Garrick Olson 8ec60dcde8 Fallback to four digit random pool name and log INFO 8 years ago
r1chl 7cf6673f48 Add the thread name to potential leak detection warnings. (#987)
* Added thread name to leak detection warnings.

* Changed message 'from thread' to 'on thread'.
8 years ago
Brett Wooldridge 2a9e0185e4 Fix NPE caused by merge. 8 years ago
Johno Crawford 43b423cc5a Log better message when connection was evicted or dead. (#977) 8 years ago