Brett Wooldridge
5c1592cdb4
Merge branch 'dev'
...
* dev: (77 commits)
Unwrap DataSource test.
Discourage users from turning on metrics until they do something useful.
Add idle fill test.
Reduce the number of filler threads ... 8 threads is too many on a hyper threaded 4-core CPU.
Start implementing [optional] metrics for HikariCP.
Additional connection tests.
Add provided dependency on coda hale metrics.
Merged #48 fix connectionTest validation
Change defaults.
Default minIdle the same as maxPoolSize.
Split out stateless utility functions to reduce the weight of the HikariPool class (increases readability).
Rename idleConnectionBag to connectionBag.
Change connectionTimeout minimum to 250ms.
Fix timing edge case in test.
Check validation error
Improve warnings for invalid configuration
Use the DriverManager to create connections.
Update changes.log.
Update changes.log.
Remove deprecated calls from tests, fix test conditions for new background fill behavior.
...
11 years ago
Brett Wooldridge
b699cbf6e7
Unwrap DataSource test.
11 years ago
Brett Wooldridge
37e26d4092
Discourage users from turning on metrics until they do something useful.
11 years ago
Brett Wooldridge
a10c5e5b17
Add idle fill test.
11 years ago
Brett Wooldridge
d7f7c111ce
Reduce the number of filler threads ... 8 threads is too many on a hyper threaded 4-core CPU.
11 years ago
Brett Wooldridge
eeec5415c6
Start implementing [optional] metrics for HikariCP.
11 years ago
Brett Wooldridge
4b0cca092c
Additional connection tests.
11 years ago
Brett Wooldridge
621dcdf12e
Add provided dependency on coda hale metrics.
11 years ago
Brett Wooldridge
bffb8b93f6
Merged #48 fix connectionTest validation
11 years ago
Brett Wooldridge
84d82b292f
Change defaults.
11 years ago
Brett Wooldridge
49a0187b41
Default minIdle the same as maxPoolSize.
11 years ago
Brett Wooldridge
16dfabbc9e
Split out stateless utility functions to reduce the weight of the HikariPool class (increases readability).
11 years ago
Brett Wooldridge
564a65372f
Rename idleConnectionBag to connectionBag.
11 years ago
Brett Wooldridge
eda6aaddac
Change connectionTimeout minimum to 250ms.
11 years ago
Brett Wooldridge
9ff609b64b
Fix timing edge case in test.
11 years ago
Brett Wooldridge
5ba531c3d4
Check validation error
11 years ago
Brett Wooldridge
0abb916c7c
Improve warnings for invalid configuration
11 years ago
Brett Wooldridge
e1563e46d6
Use the DriverManager to create connections.
11 years ago
Brett Wooldridge
996b4baca1
Update changes.log.
11 years ago
Brett Wooldridge
b51568618e
Update changes.log.
11 years ago
Brett Wooldridge
0ccd39f95f
Remove deprecated calls from tests, fix test conditions for new background fill behavior.
11 years ago
Brett Wooldridge
8daf9d3005
Implement new background adding of connections to maintain a "minimumIdle" level.
11 years ago
Brett Wooldridge
efa2fcc440
Restore former barrow() logic, add getCount() and size)() methods.
11 years ago
Brett Wooldridge
bf2872af53
Add eviction method.
11 years ago
Brett Wooldridge
a32ec77dc9
Remove acquireRetries and acquireRetryDelay
11 years ago
Brett Wooldridge
f2c87b915e
Add a exception log for JavassistProxyFactory static initiaiization.
11 years ago
Brett Wooldridge
91e4729b88
Revert "Use our cascading ClassLoader."
...
This reverts commit 183d036173
.
11 years ago
Brett Wooldridge
183d036173
Use our cascading ClassLoader.
11 years ago
Brett Wooldridge
d8dbad1ed9
Pull additional hibernate properties over.
11 years ago
Brett Wooldridge
0d095fb494
Remove context class loader.
11 years ago
Brett Wooldridge
adeae97f3a
Fix NPE.
11 years ago
Brett Wooldridge
8ec2953efd
Add username and password properties as well as cleanup validation (not complete).
11 years ago
Brett Wooldridge
783bb5ae29
Handle username and password settings, treat the DriverDataSource like other datasources.
11 years ago
Brett Wooldridge
14d72a2b29
Handle username and password settings.
11 years ago
Brett Wooldridge
e43864f626
Pickup additional parameters from Hibernate.
11 years ago
Brett Wooldridge
2dd9c08a3f
Use an object-based key for the multi pool
11 years ago
Brett Wooldridge
38501d74fd
Remove com.sun.tools.attach from OSGi manifest.
11 years ago
Brett Wooldridge
c4469ce58c
Add support for DataSource.getConnection(username, password).
11 years ago
Brett Wooldridge
14a2891ef5
Move configuration validation into the HikariDataSource.
11 years ago
Brett Wooldridge
3a2985541e
Fix unit tests to calculate proper times per retry.
11 years ago
Brett Wooldridge
3d2300adcf
Fix connectionTimeout calculation.
11 years ago
Brett Wooldridge
3c20da2751
DataSource.setLoginTimeout() is in seconds. Make sure the milliseconds passed in to addConnection(timeout) is converted to seconds. Also add a validation to prevent sub-second retries that would be converted to 0 when performing a millisecond to second conversion using TimeUnit.
11 years ago
Brett Wooldridge
27cd322fba
Closes#45 if the PropertyBeanSetter fails to find the setter method via "set" + first property character capitalized, try "set" + property fully capitalized. This handles cases where "url" is used as a property but the setter is setURL() rather than setUrl().
11 years ago
Brett Wooldridge
b46e484bad
Tighten-up code.
11 years ago
Brett Wooldridge
c8c63e8c85
Tighten-up code.
11 years ago
Brett Wooldridge
fb69033eb5
Fix tests to use fail fast initialization
11 years ago
Brett Wooldridge
ecf531d7f3
Minor code reorganization.
11 years ago
Brett Wooldridge
99b2b765ce
closes #44 potential connection leak during connection creation in some failure scenarios.
11 years ago
Brett Wooldridge
079bf9e8c2
Fix assertion.
11 years ago
Brett Wooldridge
bcfcf71721
Don't log every failed connection attempt, it could flood the log during a
...
database restart on a busy server. Log at most 1 per second. Always
log when debug is enabled.
11 years ago