Matt Nelson
471e27ece0
Use orElseGet to delay call until necessary ( #1210 )
7 years ago
Tom Hombergs
7209aabecc
allow to pass in a prometheus CollectorRegistry ( fixes #1181 ) ( #1182 )
...
* allow to pass in a prometheus CollectorRegistry
instead of always using CollectorRegistry.defaultRegistry.
* fixed some spots where the static CollectorRegistry.defaultRegistry was still accessed
* fixes some more spots where CollectorRegistry.defaultRegistry was used
7 years ago
Daniel Trebbien
f9d47e79cb
Add a missing SLF4J formatting anchor ( #1161 )
7 years ago
Jungtaek Lim
74fa2a84e8
Log uncaught error in acquiring connection (+1 squashed commit)
...
Squashed commits:
[7a00d8bd
]
* also respecting fail-fast on uncaught error
7 years ago
Brett Wooldridge
52b3811e4d
Fixes #1186 limit the number of items in the ThreadLocal list in the ConcurrentBag.
7 years ago
Brett Wooldridge
d0cb0f8dab
Update Wall-of-Fame.md
7 years ago
Brett Wooldridge
c1032a06df
Quasi-revert change. Some driver's implementation of isClosed() might attempt TCP, and therefore encounter unacknowledged packets outside of the network timeout protection.
7 years ago
Brett Wooldridge
1ab97870e8
[maven-release-plugin] prepare for next development iteration
7 years ago
Brett Wooldridge
ad827dbb34
[maven-release-plugin] prepare release HikariCP-3.2.0
7 years ago
Brett Wooldridge
0f06b56325
Update pom.xml
7 years ago
Brett Wooldridge
3498a143a5
Update CHANGES
7 years ago
Brett Wooldridge
88b57c3bd7
Check closed condition before attempting to set network timeout.
7 years ago
Brett Wooldridge
6a13980312
Update validation failure message.
7 years ago
Brett Wooldridge
603951febd
Fixes #1126 correct error in JavaDoc for HikariConfig.setInitializationFailTimeout().
7 years ago
Brett Wooldridge
5607d8b913
Fixes #1141 do not throw SQLException when calling isClosed() or close() on a already closed Connection, as per JDBC specification.
7 years ago
Brett Wooldridge
8921bb08c8
Fixes #1137 support changing user/password at runtime for DriverDataSource-wrapped driver connections.
7 years ago
Brett Wooldridge
851e2d4592
Fixes #1137 support changing user/password at runtime for DriverDataSource-wrapped driver connections.
7 years ago
Brett Wooldridge
71e8688ed4
Closes #1114 Remove unneeded code.
7 years ago
Brett Wooldridge
b9b68e4d2f
Update README.md
7 years ago
Brett Wooldridge
95e0b429eb
Fixes #1136 sanitize jdbcUrl for logging.
7 years ago
Sevket Gökay
b36323213f
log loaded driver when using jdbcUrl ( #1136 )
7 years ago
Sevket Gökay
c1ab4c8399
refactor: extract seal check into method and reuse ( #1135 )
...
* refactor: extract seal check into method and reuse
* move method checkIfSealed() to a more appropriate place
7 years ago
Brett Wooldridge
4f41863b14
Update README.md
7 years ago
Brett Wooldridge
9fef225614
Update CHANGES
7 years ago
Brett Wooldridge
aeb235f007
[maven-release-plugin] prepare for next development iteration
7 years ago
Brett Wooldridge
234ba765b4
[maven-release-plugin] prepare release HikariCP-3.1.0
7 years ago
Brett Wooldridge
3695c1025e
Bump middle version number due to new API method (get/setCatalog() on HikariConfigMXBean)
7 years ago
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
07e9e41dca
Update README.md
7 years ago
Brett Wooldridge
cd03cc8912
Update README.md
7 years ago
Brett Wooldridge
8d3f2b9cf0
[maven-release-plugin] prepare for next development iteration
7 years ago
Brett Wooldridge
132683a08f
[maven-release-plugin] prepare release HikariCP-3.0.0
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
Brett Wooldridge
6ead232623
Update ISSUE_TEMPLATE.md
7 years ago
Brett Wooldridge
a265e0ce16
Update CHANGES
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