Brett Wooldridge
64b1a82750
[maven-release-plugin] prepare release HikariCP-2.2.4
10 years ago
Brett Wooldridge
1d0879c0ee
Fix #175 add additional SQLFeatureNotSupportedException detection for misbehaved MariaDB driver
10 years ago
Brett Wooldridge
37e24d630a
Fix #176 take the timeout value at face-value
10 years ago
Brett Wooldridge
fe58b4b435
[maven-release-plugin] prepare for next development iteration
10 years ago
Brett Wooldridge
d81e335632
[maven-release-plugin] prepare release HikariCP-2.2.3
10 years ago
Brett Wooldridge
3cc501ee3c
Fix #172 Further shadow runtime dependency on Codahale metrics from reflection performed by Spring and other IoC containers.
10 years ago
Brett Wooldridge
f619fbfb06
Move code from static initializer into invocable static method.
10 years ago
Brett Wooldridge
55fd70c097
Minor cleanup.
10 years ago
Brett Wooldridge
749033e9d4
[maven-release-plugin] prepare for next development iteration
10 years ago
Brett Wooldridge
23c52f46a5
[maven-release-plugin] prepare release HikariCP-2.2.2
10 years ago
Brett Wooldridge
4132322201
Rename metrics.
10 years ago
Brett Wooldridge
8520bc01d5
[maven-release-plugin] prepare for next development iteration
10 years ago
Brett Wooldridge
e8b55507ed
[maven-release-plugin] prepare release HikariCP-2.2.1
10 years ago
Brett Wooldridge
267005cd9d
Fixed #174 . Move pool filling code to after the housekeeping thread has started.
10 years ago
Brett Wooldridge
05fcb3d00d
Log a debug level message when codahale metrics is not found and we generate a stub.
10 years ago
Brett Wooldridge
abe8a8f8af
Fix exclude for testing.
10 years ago
Brett Wooldridge
f03e310a32
[maven-release-plugin] prepare for next development iteration
10 years ago
Brett Wooldridge
5121a13e73
[maven-release-plugin] prepare release HikariCP-2.2.0
10 years ago
Brett Wooldridge
b64dc6fbf0
Revert over-aggressive optimization, and various cleanup.
10 years ago
Brett Wooldridge
3b83896e68
Remove dead code, fix-up excludes.
10 years ago
Brett Wooldridge
b4558ee30e
Log warning for deprecated property.
10 years ago
Brett Wooldridge
35a9e92ff0
Fix sporadic build failure after fillPool() changes.
10 years ago
Brett Wooldridge
ab98b611f8
Initialize the codahale shim in the JNDI factory
10 years ago
Brett Wooldridge
82bb7c118f
Remove (@Deprecate) jdbcConnectionTest property ... auto-detect it. Specification of connection test query overrides it.
10 years ago
Brett Wooldridge
fcec343d4f
Fix transient build failure caused by new asynchronous pool filling.
10 years ago
Brett Wooldridge
cc736bb346
Some additional metrics.
10 years ago
Brett Wooldridge
641c39b442
Add coverage exclude.
10 years ago
Brett Wooldridge
88b2d5da5a
Add coverage exclude.
10 years ago
Brett Wooldridge
7e04d7a422
Improve code coverage.
10 years ago
Brett Wooldridge
017044a5cf
Improve code coverage.
10 years ago
Brett Wooldridge
c2334a96cd
Cleanup metrics more. Add CodaHale metrics tests.
10 years ago
Brett Wooldridge
0aa14d1d9b
Start rework of metrics handling.
10 years ago
Brett Wooldridge
82474b9024
Fix logic error and update tests to accomodate new fill behavior.
10 years ago
Brett Wooldridge
dc7cb59dc7
Code formatting.
10 years ago
Brett Wooldridge
9335e31f12
Only validate the first connection during fillPool() if initializationFailFast is true (which it is now by default).
10 years ago
Brett Wooldridge
7f9734e025
Minor code cleanup.
10 years ago
Brett Wooldridge
7297633894
Minor code cleanup.
10 years ago
Brett Wooldridge
0874952b9c
Fix timeout seconds calculation bug, and minor cleanup.
10 years ago
Brett Wooldridge
1dab1f1be4
If available, apply networkTimeout to addConnection() as well. Plus other minor cleanup.
10 years ago
Brett Wooldridge
da07a6c8b7
Remove debugging code and add coverage test for property setter.
10 years ago
Brett Wooldridge
57ae67a08a
Improve test coverage.
10 years ago
Brett Wooldridge
8b96191726
Improve test coverage.
10 years ago
Brett Wooldridge
68a92e7abd
Fix #165 add ranged version dependency for slf4j
10 years ago
Brett Wooldridge
c5a8e4786e
Fix #167 by added special detection for whether query timeout is supported by the driver.
10 years ago
Brett Wooldridge
9cdcf2fd87
Add a configurable constant for the sleep bypass window. Still undocumented, considred internal.
10 years ago
Brett Wooldridge
073bea9f94
Minor test speedup
10 years ago
Brett Wooldridge
b6eadf4c26
Log actual timeout milliseconds taken.
10 years ago
Brett Wooldridge
94bb1e5443
base DataSource.setLoginTimeout() off of connectionTimeout. Rather not introduce another pool property at this point.
10 years ago
Brett Wooldridge
04b3fe42cd
Minor cleanup. May still change...
10 years ago
Brett Wooldridge
d6652ee53b
Minor cleanup.
10 years ago
Brett Wooldridge
be99efba1d
Fix #163 validation was incorrect
10 years ago
Brett Wooldridge
ca9b82970c
Exploit Connection network timeout if available.
10 years ago
Brett Wooldridge
9ba1f277cc
Minor cleanup.
10 years ago
Brett Wooldridge
0b5dcd9353
Clean-up warnings, add addition check for idleTimeout > maxLifetime.
10 years ago
Brett Wooldridge
f96f515cfe
Fixed#163 do not require driver class name when JDBC URL is specified, newer drivers following the service registration model will be automatically located by the DriverManager.
10 years ago
Brett Wooldridge
89b3ce00ee
Fixed#163 do not require driver class name when JDBC URL is specified, newer drivers following the service registration model will be automatically located by the DriverManager.
10 years ago
Brett Wooldridge
bb33d91e15
Cleaner LeakTask internals.
10 years ago
Brett Wooldridge
50fbad2e8f
Eliminate unnecessary null check.
10 years ago
Brett Wooldridge
f8c0295a50
Cleaner LeakTask internals.
10 years ago
Brett Wooldridge
b4df420781
remove inaccurate comment
10 years ago
Brett Wooldridge
872e9d642a
Logging message correction, additional javadoc.
10 years ago
Brett Wooldridge
6361af4f53
Exclude Javassist modified class.
10 years ago
Brett Wooldridge
ec91bff331
More code coverage tests.
10 years ago
Brett Wooldridge
b140c9ed68
Change rejected handler policy for closeConnectionExecutor to CallRunsPolicy.
10 years ago
Brett Wooldridge
16dbc953d1
Remove unnecessary check.
10 years ago
Brett Wooldridge
2d7ff2e02b
Little by little, more coverage -- up to 86%
10 years ago
Brett Wooldridge
558f18a8e3
ConcurrentBag tests, more correct DriverDataSource.
10 years ago
Brett Wooldridge
548620ad5f
Remove unnecessary connection creation in test.
10 years ago
Brett Wooldridge
264e0bb3ca
Remove redundant code from LeakTask
10 years ago
Brett Wooldridge
586c68b64d
Hibernate test.
10 years ago
Brett Wooldridge
250581cef3
Move logger initialization.
10 years ago
Brett Wooldridge
2e169fafbf
Add assertion message.
10 years ago
Brett Wooldridge
8f24815a4a
Trying to fix travis-ci failure, works locally. Not occasionally fails, seems to be timing sensitive.
10 years ago
Brett Wooldridge
681a7e515f
Trying to fix travis-ci failure, works locally.
10 years ago
Brett Wooldridge
a9bf05f5e1
Trying to fix travis-ci failure, works locally.
10 years ago
Brett Wooldridge
682826efe5
Try alternative class loader.
10 years ago
Brett Wooldridge
ed67c24665
Test leak detection.
10 years ago
Brett Wooldridge
aea7b69e9c
Test leak detection.
10 years ago
Brett Wooldridge
9bd925a885
More coverage tests and redundant code removal.
10 years ago
Brett Wooldridge
b47d1dc105
Remove redundant code.
10 years ago
Brett Wooldridge
cb38844e8a
DataSource unwrap tests.
10 years ago
Brett Wooldridge
14387d258e
Additional shutdown tests.
10 years ago
Brett Wooldridge
bfad871409
Add eviction test.
10 years ago
Brett Wooldridge
49fcd97d41
Add message for debugging sporadic failure
10 years ago
Brett Wooldridge
37182bda9e
Some LeakTask coverage.
10 years ago
Brett Wooldridge
e18feb5357
Add config validation tests (and a fix for an uncovered bug).
10 years ago
Brett Wooldridge
054107cd21
Add copyright header.
10 years ago
Brett Wooldridge
1143d557d4
Relocate initializeDataSource() method.
10 years ago
Brett Wooldridge
559346dc7c
Javadoc
10 years ago
Brett Wooldridge
e6fb2a4e72
Fix shutdown race with connections added to the pool.
10 years ago
Brett Wooldridge
7e2ab6de3e
Lengthen timeout.
10 years ago
Brett Wooldridge
948a88e6d6
More test coverage.
10 years ago
Brett Wooldridge
98cbc3b36d
Don't skip rollback just because nothing is dirty.
10 years ago
Brett Wooldridge
f3e474d209
More test coverage.
10 years ago
Brett Wooldridge
3de6474f37
Implement unwrap in stub.
10 years ago
Brett Wooldridge
1912587bba
Additional unwrap test.
10 years ago
Brett Wooldridge
b000fc23a5
Remove unused methods.
10 years ago
Brett Wooldridge
74e6281a02
Allow the Javassist proxy generator to generate these delegate methods.
10 years ago
Brett Wooldridge
e43c11f7ca
More test coverage.
10 years ago
Brett Wooldridge
7a46803cf5
Remove unused constructor
10 years ago
Brett Wooldridge
09ef9d59c8
Suppress stack trace generation.
10 years ago
Brett Wooldridge
9ce9dc0465
More tests... still need to be merged into the Java 6 branch.
10 years ago
Brett Wooldridge
4c35cedcb1
Special manual test for debugging issue #159
10 years ago
Brett Wooldridge
dac1cfcbeb
Only publish coverage when run from the travis-ci build
10 years ago
Brett Wooldridge
535021df41
Experimenting with code coverage.
10 years ago
Brett Wooldridge
fc9728df8f
Avoid super constructor that fills in the stacktrace.
10 years ago
Brett Wooldridge
e3e006d6ae
Experimenting with code coverage.
10 years ago
Brett Wooldridge
6c8803a368
Use the latest plugin available in the maven central repo.
10 years ago
Brett Wooldridge
6bb632c6f4
Experimenting with code coverage.
10 years ago
Brett Wooldridge
f2e4c5805e
Few more tests.
10 years ago
Brett Wooldridge
bc2defcf11
Remove unused methods.
10 years ago
Brett Wooldridge
e883786cea
Additional safety check to only apply the new conditional when minimumIdle is 0.
10 years ago
Brett Wooldridge
fefe559822
Fixed #159 handle case when async connection attempts are failing but there are no longer threads waiting for connections
10 years ago
Brett Wooldridge
378f8aa794
Make logPoolState() "public" for testing.
10 years ago
Brett Wooldridge
6818783370
Improve accuracy of pool stat reporting (at a slight performance cost).
10 years ago
Brett Wooldridge
e1e4a50f1f
Move LeakTask to util pacakge.
10 years ago
Brett Wooldridge
b959a79dc7
Minor improvements to LeakTask.
10 years ago
Brett Wooldridge
c04f59f3b8
Minor performance tweaks and readability changes.
10 years ago
Brett Wooldridge
00b77f9cd3
Tweak the leak task handling and resetConnection() handling for small performance gains in the *nominal* case. Possibly slower in edge-cases (but who cares).
10 years ago
Brett Wooldridge
cf1109b0a5
Generate classes in the proper protection domain.
10 years ago
Manik Surtani
63faeb81cf
Add pool name to filler and closer threads
10 years ago
Brett Wooldridge
028996b508
Minor optimizations.
10 years ago
Brett Wooldridge
b317b23f5b
[maven-release-plugin] prepare for next development iteration
10 years ago
Brett Wooldridge
fef19c25f7
[maven-release-plugin] prepare release HikariCP-2.1.0
10 years ago
Brett Wooldridge
afe61e51a5
JavaDoc fixes
10 years ago
Brett Wooldridge
3f210301d3
Move the shutdown of the closeConnectionExecution.shutdown(), as it itself is used during the shutdown process.
10 years ago
Brett Wooldridge
efaf86156c
Fix issue with improper initialization of lastAccessTime.
10 years ago
Brett Wooldridge
a3c7b5574f
Change metrics names to omit class name.
10 years ago
Brett Wooldridge
83b2a6939b
Expose metrics through the HikariDataSource.
10 years ago
Brett Wooldridge
a96ce54349
Fixup OSGi bundle.
10 years ago
Brett Wooldridge
9dd2aeb073
Make members final.
10 years ago
Brett Wooldridge
5f50abe288
Include exception in rethrow.
10 years ago
Brett Wooldridge
c6a5329c99
Switch from LinkedList to ArrayList.
10 years ago
Brett Wooldridge
f0c3c8d4bf
JavaDoc fixes.
10 years ago
Brett Wooldridge
819a7ec144
Simple variable renames for clarity.
10 years ago
Brett Wooldridge
59cd5852d1
Simple variable renames for clarity.
10 years ago
Brett Wooldridge
66c63a13db
Fixed #148 remove static ThreadLocal, causes a regression with multiple-pools.
10 years ago
Brett Wooldridge
aea005d4ea
Fix potential (but never encountered) NPE
10 years ago
Brett Wooldridge
3b7095b477
Fixed #148 revert to using LinkedList rather than FastList in ConcurrentBag due to Tomcat leak detection.
10 years ago
Brett Wooldridge
fd15648979
Minor performance tuning to avoid excessive connection attempts of downed databases.
10 years ago
Mihai Chezan
26bbb7cfae
Close connectons async.
...
Why: When db goes down, it can cause HikariCP to block on getConnection
more than the allowed connectionTimeout, depending on jdbc driver
timeout setting. In some cases, this could be a long time.
Added a test that shows this behaviour. The test will fail w/o the
changes to HikariPool.
11 years ago
Brett Wooldridge
bef71f78af
Resolve #145 support ``hikaricp.configurationFile`` system property to define location to load configuration properties file.
11 years ago
Brett Wooldridge
365908a42e
Code cleanup.
11 years ago
Brett Wooldridge
00fb00bb56
Fix regression in code-generation caused by cleanup.
11 years ago
Brett Wooldridge
4f888e8c60
Minor cleanup.
11 years ago
Brett Wooldridge
08a4217c77
Change next release version to 2.1.0 due to large internal refactor.
11 years ago
Brett Wooldridge
aff5c8ef9c
Fix issue #135 make get/setTransactionIsolation() fit proper bean pattern.
11 years ago
Brett Wooldridge
87929a51a1
Declare PoolBagEntry class final.
11 years ago
Brett Wooldridge
5384430119
Javadoc.
11 years ago
Brett Wooldridge
00a1a99ee7
Load properties from file-system or as resource stream. Cleanup property checking.
11 years ago