Commit Graph

305 Commits (c457ca060b035439d5d5dc77fd57562ae632c836)

Author SHA1 Message Date
Brett Wooldridge e6936bf0d2 [maven-release-plugin] prepare for next development iteration
Brett Wooldridge 0cbe6de51b [maven-release-plugin] prepare release HikariCP-2.3.5
Brett Wooldridge d3cfa6cc31 [maven-release-plugin] prepare for next development iteration
Brett Wooldridge 7f574415f2 [maven-release-plugin] prepare release HikariCP-2.3.4
Brett Wooldridge 4c89007aad Modernize dependencies.
Brett Wooldridge 4ce4fb49ae [maven-release-plugin] prepare for next development iteration
Brett Wooldridge b1fde2f9f7 [maven-release-plugin] prepare release HikariCP-2.3.3
Brett Wooldridge c3cda56d92 Update poms
Brett Wooldridge 97a82a6a40 [maven-release-plugin] prepare release HikariCP-2.3.2
Brett Wooldridge 66b64153e1 add Dropwizard HealthCheck support. Still needs documentation.
Brett Wooldridge 778ff0650f Remove the Codahale shiim
Brett Wooldridge a77e88a671 [maven-release-plugin] prepare for next development iteration
Brett Wooldridge 947a9ec1f6 [maven-release-plugin] prepare release HikariCP-2.3.1
Brett Wooldridge 80a2442d96 timeoutMs parameter no longer needed with addition of validationTimeout
Brett Wooldridge 2eefb6d4cd Checkpoint check-in, this is not final code at all...
Brett Wooldridge b544c21cf3 Add validationTimeout.
Brett Wooldridge a6ba914645 [maven-release-plugin] prepare for next development iteration
Brett Wooldridge fa1cff525c [maven-release-plugin] prepare release HikariCP-2.3.0
Brett Wooldridge e3316e8618 Merge pull request into 2.3.0 branch, add support for handling Java 8 default interface methods.
Brett Wooldridge 42a79a772c [maven-release-plugin] prepare for next development iteration
Brett Wooldridge 26afa2baf4 [maven-release-plugin] prepare release HikariCP-2.3.0-rc4
Brett Wooldridge 10762d6403 Tighten-up addBagItem() implementation with cleaner loop.
Brett Wooldridge 8aa2034709 Fixes separate responsibility of maintaining idle connections from addBagItem(). addBagItem() will now add exactly one connection per-invocation (with retry). Create a separate fillPool() method to handle idle connection maintenance.
Brett Wooldridge 467bc2f79a Simple variable rename for clarity
Brett Wooldridge c3043d8f9d Re-use the assassin executor.
Brett Wooldridge ed2fa1b513 [maven-release-plugin] prepare for next development iteration
Brett Wooldridge 873ab10a1c [maven-release-plugin] prepare release HikariCP-2.3.0-rc3
Brett Wooldridge 373c29017a [maven-release-plugin] rollback the release of HikariCP-2.3.0-rc3
Brett Wooldridge e9134aaa8b [maven-release-plugin] prepare release HikariCP-2.3.0-rc3
Brett Wooldridge e3d3adf79a [maven-release-plugin] rollback the release of HikariCP-2.3.0-rc3
Brett Wooldridge 89ddc3f948 [maven-release-plugin] prepare for next development iteration
Brett Wooldridge 8e7d7fddd2 [maven-release-plugin] prepare release HikariCP-2.3.0-rc3
Brett Wooldridge 3fbcbf87b5 When resetting the network timeout to its original value we can avoid an additional call to
getNetworkTimeout() by adding a specialized version of the method.
Brett Wooldridge f7aa730e86 Based on input from other developers, we can be sure that currentTimeMillis() will never retrograde (at the resolution the housekeeper runs).
Brett Wooldridge 6f0659d4e4 Add check to housekeeping thread to handle backward flow of time.
Brett Wooldridge a386815d7e Revert "Use System.nanoTime() instead of System.currentTimeMillis() almost everywhere. System.currentTimeMillis() can go backwards!"
This reverts commit 01bebb5d35.
Brett Wooldridge 01bebb5d35 Use System.nanoTime() instead of System.currentTimeMillis() almost everywhere. System.currentTimeMillis() can go backwards!
Brett Wooldridge ac7268f3c3 Minor cleanup.
Brett Wooldridge 0323a7dacb Let PoolUtilities use its own executor. Sharing executors can lead to deadlocks (not observed, but theoretical)
Brett Wooldridge 7a0b602dd3 [maven-release-plugin] prepare for next development iteration
Brett Wooldridge de1d3da0e1 [maven-release-plugin] prepare release HikariCP-2.3.0-rc2
Brett Wooldridge d178ca063c I like this variant better.
Brett Wooldridge 3261cc87e3 [maven-release-plugin] prepare for next development iteration
Brett Wooldridge b508990e4e [maven-release-plugin] prepare release HikariCP-2.3.0-rc1
Brett Wooldridge c9f6d90ab2 Javadoc fixes
Brett Wooldridge 0dcef448f6 Prepare for 2.3.0-rc1
Brett Wooldridge 590dbf1870 Add some comments. Add evicted check back to housekeeper to cover a rare race condition
where the connection is being released at the same time the maxLifetime eviction shedule is
running.  That could have allowed the bag entry to be marked evicted, but have the check
in releaseConnection() just missing it, which would result in a maxLifetime connection sitting
in the pool for an indefinite amount of time.
Brett Wooldridge fafa5050ad Remove maxLifeTime check from getConnection() and use housekeeping scheduler instead.
Brett Wooldridge a4c6c03ded ConcurrentBag to common code refactor (share code between Java 6/7 and Java 8)
Brett Wooldridge d47d5a7b0e Fix Make PoolUtilities stateful, because using statics causes issues when two pools with different drivers and different capabilities exist in the same JVM. Pull out non-pooly things into a separate utility class.