Brett Wooldridge
fd15648979
Minor performance tuning to avoid excessive connection attempts of downed databases.
11 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
Brett Wooldridge
4b32fa55eb
Fix javadoc.
11 years ago
Brett Wooldridge
cfa8318aa0
More cleanup/tighten-up of the ConcurrentBag.
11 years ago
Brett Wooldridge
1debdcc61b
Fix javadoc.
11 years ago
Brett Wooldridge
8f24990e87
Fix javadoc.
11 years ago
Brett Wooldridge
2bca598c1b
Merge hikaricp changes into hikaricp-java6.
11 years ago
Brett Wooldridge
b5967fc5a1
Significant refactor of pool internals. Connections are now always wrapped in new proxies in getConnection().
11 years ago
Brett Wooldridge
1eb35356c5
Add test to measure barging behavior.
11 years ago
Brett Wooldridge
281c287288
Fix #128 fix accounting issue with totalConnections when aborting connections during shutdown.
11 years ago
Brett Wooldridge
cc3cbdeb04
Merge commit '636a464b27877586f4cd6ef1e271b51d6b0c6ebb' into dev
...
Merge difference synchronization from @ams2990
11 years ago
Brett Wooldridge
5cb1000f47
[maven-release-plugin] prepare for next development iteration
11 years ago
Brett Wooldridge
d3070249f2
[maven-release-plugin] prepare release HikariCP-2.0.1
11 years ago
Andrew Shulman
636a464b27
Sync Java 6/7 and Java 8 versions
11 years ago
Brett Wooldridge
22f86cce82
Fix #125 add java version check around ScheduledThreadPoolExecutor.setRemoveOnCancelPolicy() for Java 6.
11 years ago
Brett Wooldridge
5e75b12a99
[maven-release-plugin] prepare for next development iteration
11 years ago
Brett Wooldridge
376cf6972e
[maven-release-plugin] prepare release HikariCP-2.0.0
11 years ago
Brett Wooldridge
595fc00d69
pom.xml experimentation.
11 years ago
Brett Wooldridge
fd3bda8015
pom cleanup
11 years ago
Brett Wooldridge
2fb08a44cd
Fix race condition that would lead to un-acquired connection and timeout.
11 years ago
Brett Wooldridge
9f65bfb033
Fix indentation.
11 years ago
Brett Wooldridge
24176d8b98
Add version to submodules.
11 years ago
Brett Wooldridge
99f2ebf6db
Use internal flag to determine whether to persist generated proxy classes.
11 years ago
Brett Wooldridge
f4c86f8f40
Fix #116 recursively call isWrapperFor() and unwrap() per spec
11 years ago
Brett Wooldridge
907313c69f
Fix #115 do not call addBagItem() from housekeeping thread if minimumIdle is 0.
11 years ago
Brett Wooldridge
a2c2b28fb0
Synchronize HikariCP-java6 code with HikariCP for pull request #113
11 years ago
Keir Nellyer
39cfa5ab77
Allow a custom ThreadFactory to be defined for each pool, this ThreadFactory will be used to create all threads used in that pool
11 years ago
Brett Wooldridge
5c5b9d009b
Mask password in logging wherever it occurs.
11 years ago
Brett Wooldridge
b01360a3ec
Use switch...case instead of cascading if..else
11 years ago
Brett Wooldridge
a54e50a0ae
Add an MBean function to dump the current state of the pool (via a dump of the ConcurrentBag)
11 years ago
Brett Wooldridge
19eaea93aa
Fix #107 when we grow the original array, use the same Class that was specified during construction.
11 years ago
Brett Wooldridge
2f71270235
Fix JNDI lookup bug where properties were not being passed through.
11 years ago
Brett Wooldridge
dfad68a3a6
Merge branch 'dev' of https://github.com/brettwooldridge/HikariCP into dev
...
* 'dev' of https://github.com/brettwooldridge/HikariCP :
Suppress password in debug property output
11 years ago
Brett Wooldridge
42eeb21c68
Make isolateInternalQueries also cause new ConnectionProxy instances to be created for each getConnection()
11 years ago
Brett Wooldridge
1321d385b2
Suppress password in debug property output
11 years ago
Brett Wooldridge
be786966da
Change shutdown() to close() to avoid IDE warning about unclosed resources.
11 years ago
Brett Wooldridge
82d506f67d
Handle the case where one username is null and the other is not.
11 years ago
Jonas Berlin
d1138e6e5f
Fix not to throw NPE if username or password is null
11 years ago
Brett Wooldridge
614fcd8f47
Merge pull request #96 from NitorCreations/closeable
...
Make HikariDataSource implement Closeable
11 years ago
Jonas Berlin
4c238613b0
Fix timeout calculation when skipping unusable connections from pool
11 years ago
Jonas Berlin
3e1ad09a93
Make HikariDataSource implement Closeable
11 years ago
Brett Wooldridge
ed9c5cad01
#93 Accept the user specified poolName verbatim.
11 years ago
Brett Wooldridge
700e423e89
Better fix for #93 prepend "HikariPool-" to user specified pool names. Don't unconditionally set pool name to generated name.
11 years ago
Cristi Popovici
6b4b6c9bb9
reverted changes for continue statement
11 years ago
Cristi Popovici
22f24f1813
reverted changes for continue statement
11 years ago
Cristi Popovici
9a78982f30
removed cast
11 years ago
Cristi Popovici
0427d48fb6
compare strings with equals
11 years ago
Cristi Popovici
cd808addcc
removed unnecessary return statements
11 years ago
Cristi Popovici
93733cd28b
removed unnecessary continue statement
11 years ago
Brett Wooldridge
2e9b07be84
Fix build timing issue
11 years ago
Brett Wooldridge
89f70f0a4d
Fix build timing issue
11 years ago
Brett Wooldridge
d6ddff7ff5
Minor cleanup.
11 years ago
Brett Wooldridge
3451c37445
Prepare for Java 6/7 to Java 8 split.
11 years ago