Commit Graph

301 Commits (7a3d3e2db3bc2940d6ee2fd5730d053a6d68d729)

Author SHA1 Message Date
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. 11 years ago
Brett Wooldridge 83b2a6939b Expose metrics through the HikariDataSource. 11 years ago
Brett Wooldridge a96ce54349 Fixup OSGi bundle. 11 years ago
Brett Wooldridge 9dd2aeb073 Make members final. 11 years ago
Brett Wooldridge 5f50abe288 Include exception in rethrow. 11 years ago
Brett Wooldridge c6a5329c99 Switch from LinkedList to ArrayList. 11 years ago
Brett Wooldridge f0c3c8d4bf JavaDoc fixes. 11 years ago
Brett Wooldridge 819a7ec144 Simple variable renames for clarity. 11 years ago
Brett Wooldridge 59cd5852d1 Simple variable renames for clarity. 11 years ago
Brett Wooldridge 66c63a13db Fixed #148 remove static ThreadLocal, causes a regression with multiple-pools. 11 years ago
Brett Wooldridge aea005d4ea Fix potential (but never encountered) NPE 11 years ago
Brett Wooldridge 3b7095b477 Fixed #148 revert to using LinkedList rather than FastList in ConcurrentBag due to Tomcat leak detection. 11 years ago
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