Yanming Zhou
4bc96d16c2
Improve JavassistProxyFactory ( #2244 )
...
1. use `"target" + File.separator + "classes"` instead of `"target/classes"`
2. print target directory
4 months ago
Brett Wooldridge
d54418061f
"merged" #2126 Added Support For beginRequest and endRequest (new version)
5 months ago
Carl Mastrangelo
4f6b295e14
Make Savepoint rollbacks mark the connection dirty ( #2149 )
...
Addresses https://github.com/brettwooldridge/HikariCP/issues/2142
5 months ago
Thomas Aregger
a671b6e24d
Close connections marked as evicted instead of returning them to the pool ( #2157 )
5 months ago
Brett Wooldridge
aeabea98b7
cherry-picked changes from pull request #2166
5 months ago
benapple
d43c272f3f
add support to get and set db credentials in an atomic operation ( #2189 )
5 months ago
Yanming Zhou
1d173513be
Eliminate network call if state get is called after set ( #2199 )
...
Fix GH-2198
5 months ago
cal
8c202e4554
[cleanup] erefactor/EclipseJdt - Remove trailing whitespace - All lines ( #1752 )
...
EclipseJdt cleanup 'RemoveAllTrailingWhitespace' applied by erefactor.
For EclipseJdt see https://www.eclipse.org/eclipse/news/4.18/jdt.php
For erefactor see https://github.com/cal101/erefactor
Co-authored-by: Leo Bayer <lfbayer@gmail.com>
1 year ago
cal
c37074d465
[cleanup] erefactor/EclipseJdt - Simplify lambda expression and method reference syntax ( #1754 )
...
EclipseJdt cleanup 'SimplifyLambdaExpression' applied by erefactor.
For EclipseJdt see https://www.eclipse.org/eclipse/news/4.18/jdt.php
For erefactor see https://github.com/cal101/erefactor
1 year ago
cal
b5a4373214
[cleanup] erefactor/EclipseJdt - Evaluate without null check ( #1751 )
...
EclipseJdt cleanup 'EvaluateNullable' applied by erefactor.
For EclipseJdt see https://www.eclipse.org/eclipse/news/4.18/jdt.php
For erefactor see https://github.com/cal101/erefactor
1 year ago
Danny Faught
43d5231c96
refactor: fix spelling ( #2046 )
...
Co-authored-by: Bruce Ricard <bricard@vmware.com>
1 year ago
Nicola Isotta
53459ab55a
add support for char[] in PropertyElf ( #2059 )
...
fix #2058
1 year ago
Brett Wooldridge
a050d81004
Cleanup maven build and modify for Java 11+ only.
2 years ago
Leo Bayer
d92b50f1a1
fix test: sleep needs to be guaranteed to be greater than aliveBypassWindowMs, not just equal
2 years ago
Leo Bayer
a7f9a4b2f5
Don't attempt second setNetworkTimeout call if first fails
2 years ago
Martin Steiger
601475192d
Don't log keystore passwords in DriverDataSource ( #1993 )
2 years ago
Martin Steiger
58b87f4be2
Don't log any passwords in JDBC url ( #1979 )
...
Co-authored-by: Martin Steiger <martin.steiger@ruv.de>
2 years ago
Brett Wooldridge
3104292f68
Minor code cleanups.
3 years ago
Brett Wooldridge
c2148006ce
Simplify connection creation.
3 years ago
Brett Wooldridge
3531928780
Update dependencies.
3 years ago
Brett Wooldridge
ed2da5f1f4
Fix idle timeout tests, sleep too tight to idle threshold. (+1 squashed commit)
...
Squashed commits:
[4844f9e1] Fix idle timeout tests, sleep too tight to idle threshold. (+8 squashed commits)
Squashed commits:
[e0ec6b7f] Fix idle timeout tests, sleep too tight to idle threshold.
[c40a690d] Fix idle timeout tests, sleep too tight to idle threshold.
[7a0a1560] Synchronize idleTimeout manipulation methods
[bab9f648] Fix idle timeout tests, sleep too tight to idle threshold.
[4ee5259b] Add missing ) character in message
[e9d49fc2] Enable debug logging for tests.
[89c1ab45] Fix idle timeout tests, sleep too tight to idle threshold.
[aa06bb85] Simplify pool entry last-accessed time handling.
4 years ago
Brett Wooldridge
51bb046201
logging pattern in test (+1 squashed commit)
...
Squashed commits:
[db19b885] plugin version
4 years ago
Brett Wooldridge
6546dd27dd
Shorten test (+3 squashed commits)
...
Squashed commits:
[3b09c167] Javadoc plugin version
[13079b14] Javadoc plugin version
[17a3eb97] Javadoc plugin version
4 years ago
Brett Wooldridge
04919ad540
lint cleanup and Visual Studio Code files
4 years ago
Vladislav Golub
28cb7c0961
Fix prometheus histogram metric tracker for multiple pools ( #1692 )
...
* Add support for multiple prometheus histogram metric trackers
* Add tests
4 years ago
nothing
0561309e32
features: add heartbeat to keepalive connection if configure it ( #1699 )
...
* features: add heartbeat to keepalive connection if configure it
* features: add heartbeat to keepalive connection if configure it
* features: add heartbeat to keepalive connection if configure it
* features: keepalive unit test
* optimize code
* optimize code
4 years ago
freafrea
29eb681cbb
Handle short in PropertyElf ( #1581 )
4 years ago
Yanming Zhou
5efab340e8
Refine JMX ObjectName ( #1681 )
...
fix https://github.com/brettwooldridge/HikariCP/issues/1678
4 years ago
Yanming Zhou
d9983b32c1
Make generated proxy class final ( #1661 )
...
The final modifier is overridden by public modifier before this commit
4 years ago
sullis
99c213efd2
use [testcontainers-java] for Postgres unit test ( #1430 )
4 years ago
Gili Tzabari
d9ee5fab69
Renamed Java9 artifact to Java11.
5 years ago
Brett Wooldridge
a51e6a07e8
Fixes #1489 allow specification of a user supplied exception eviction override class
5 years ago
Brett Wooldridge
f5b650bb7a
Fix regression caused by #1337
6 years ago
Aleksandr Podkutin
086bf18389
Refactor/fix Prometheus metrics for multiple connection pools, add unit tests ( #1331 )
...
* Refactor/fix Prometheus metrics for multiple connection pools
Changes:
* Fix "Collector already registered that provides name:
hikaricp_connection_timeout_total" error
* Register only one HikariCPCollector instance in one CollectorRegistry
instance
* Add ability to remove metrics when connection pool is shutting down
* Add/update unit tests
* Refactor/add unit tests - metrics package
* Re-format curly braces to be inline with the whole code base
6 years ago
Enes Açıkoğlu
c509ec1a3f
#1337 isolation level fix for all values accept string ( #1338 )
...
* #1337 isolation level fix for all values accept string
* #1337 name convension refactor
* #1337 remove unused comment
* review fix for redundant optional
6 years ago
Vincent van Donselaar
efa25c3aaa
Alternative Prometheus metrics Histogram instead of locking Summary. ( #1265 )
...
* Alternative Prometheus metrics Histogram instead of locking Summary.
Add PrometheusHistogramMetricsTracker.java that uses an internal
Histogram instead of Summary. A summary is quite lock heavy.
See: https://github.com/prometheus/client_java/issues/328
* Fix incorrect magnitudes of buckets.
6 years ago
Brett Wooldridge
28a2afd3e6
fixed idle validation test case
6 years ago
Brett Wooldridge
80d382dc93
Fix idle timeout test case.
6 years ago
Brett Wooldridge
239919c33d
Fix unit test breakage.
6 years ago
cyleph
b39141bfd5
Fix for #1226 and unit tests. ( #1227 )
6 years ago
Brett Wooldridge
157b519ca1
Additional unit test.
7 years ago
Kazuhiro Sera
ea0dd602ff
Fix typos detected by github.com/client9/misspell ( #1218 )
7 years ago
fpirson
5d1ed1c678
Capability to instantiate an object based on the String class name ( #1074 )
...
It is usefull when you want to set the MetricsTackerFactory from a
property.
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
71e8688ed4
Closes #1114 Remove unneeded code.
7 years ago
Brett Wooldridge
25f8ab1c1e
New MBean test.
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