Commit Graph

119 Commits (32d6668a6a11a736a0e10ffc47af704703b79cd1)

Author SHA1 Message Date
Brett Wooldridge 76f80fd51f Fix #288 allow explicit definition of driverClassName to override DriverManager.getDriver(url) located driver. 10 years ago
Brett Wooldridge 2cabded7f4 Fix #286 fix regression in Dropwizard runtime dependency 10 years ago
Brett Wooldridge e68bb6e833 Adjust the leak task stacktrace to eliminate HikariCP from the leak stacktrace. 10 years ago
Brett Wooldridge 538546e630 Move LeakTask into pool package 10 years ago
Brett Wooldridge 3ca1d0b3f1 Fix #285 ensure all properties are Strings when passed to driver's connect method 10 years ago
Brett Wooldridge 46b7589026 Improve leak logging 10 years ago
Brett Wooldridge 0e242affc0 Fixes #279 allow Dropwizard MetricTracker and HealthCheckTracker to be set after pool startup (one time). 10 years ago
Brett Wooldridge d3bff837b7 Remove connectionInitSql deprecation. 10 years ago
Brett Wooldridge f82a5afe2d Fixes #280 make logger non-static and use getClass() 10 years ago
Brett Wooldridge f7df7cd0b0 Fixes #275 make global lock non-static 10 years ago
Thies Edeling 59bc166268 #273, special case for when called to unwrap a DataSource, copying the same behavior as the ConnectionProvider implementations by Hibernate. 10 years ago
Brett Wooldridge 6833c25ab6 Merge branch '2.3.x' of github.com-brettwooldridge:brettwooldridge/HikariCP into 2.3.x
# By Brett Wooldridge (1) and johnon (1)
* '2.3.x' of github.com-brettwooldridge:brettwooldridge/HikariCP:
  Fix #269 Guard against drivers that construct an SQLException where the 'cause' is self-referential.  Hopefully the cycle is not multi-layers deep, because this check will only guard against one "loop".
  Allows Hikari to look up an arbitary JNDI resource name for the metric registry
10 years ago
Brett Wooldridge 9804b8602e Fixes #272 Throw a typed exception for pool initialization failures. 10 years ago
Brett Wooldridge a310df95d7 Fix #269 Guard against drivers that construct an SQLException where the 'cause' is self-referential. Hopefully the cycle is not multi-layers deep, because this check will only guard against one "loop". 10 years ago
johnon 701517d3b8 Allows Hikari to look up an arbitary JNDI resource name for the metric registry 10 years ago
Brett Wooldridge 196632b82e Experimental change for #260 to allow looking up Dropwizard MetricRegistry or HealthCheckRegistry via JNDI (for example in Tomcat). 10 years ago
Brett Wooldridge dd87bbde86 fixes #247 add additional check to quietlyCloseConnection(), demote some logging to debug so as not to freakout users 10 years ago
Brett Wooldridge 885b807ebb fixes #242 add message to leak exception. 10 years ago
Brett Wooldridge 66b64153e1 #241 add Dropwizard HealthCheck support. Still needs documentation. 10 years ago
Brett Wooldridge 778ff0650f Remove the Codahale shiim 10 years ago
Brett Wooldridge 0ffb90d97d Add additional debug-level logging. 10 years ago
Brett Wooldridge ea3eb38533 Fix maxIdleTime validation 10 years ago
Brett Wooldridge 6fd7b8a2c8 Fixed#245 allow a maxLifetime of 30 seconds 10 years ago
Brett Wooldridge 317c966e11 Fix #240 correct error message 10 years ago
Brett Wooldridge 2667687180 Fixed#233 shutdown the pool during fail-fast initialisation on failure. 10 years ago
Brett Wooldridge 5e3cb6865b timeoutMs parameter no longer needed with addition of validationTimeout 10 years ago
Brett Wooldridge 80a2442d96 timeoutMs parameter no longer needed with addition of validationTimeout 10 years ago
Brett Wooldridge ddf24ad848 Validation corrections. 10 years ago
Brett Wooldridge 8af2bc551a Fix #236 via workaround for MySQL issue http://bugs.mysql.com/bug.php?id=75615 10 years ago
Brett Wooldridge 34e58dfb2b Minor cleanup. 10 years ago
Brett Wooldridge c24e6d56bb Fix #236 use a synchronous Executor to execute setNetworkConnection() to avoid race conditions. 10 years ago
Brett Wooldridge 2eefb6d4cd Checkpoint check-in, this is not final code at all... 10 years ago
Brett Wooldridge b544c21cf3 Add validationTimeout. 10 years ago
Brett Wooldridge 898206f81c Fix #231 Make the copyState() method public to facilitate wrappers who want to copy/modify the configuration for use in multiple pool instances. 10 years ago
Brett Wooldridge 28438642d8 Make initializationFailFast fail faster. 10 years ago
Brett Wooldridge 1a99e4ca2c We have the driver as member, so let's use it. 10 years ago
Brett Wooldridge 8d58c28077 Remove use of method unsupported by Java 6 10 years ago
Brett Wooldridge 5ea5688db3 Start the housekeeping thread first run after the default interval (30 seconds) rather than hardcoded 10 seconds. 10 years ago
Brett Wooldridge 684d0683e9 Idle fill is now run by the housekeeping thread, rather than as a side-effect of addBagItem(), so for this test we need to set a short housekeeping period. 10 years ago
Brett Wooldridge 3ccddff117 Reset housekeeping period after test. 10 years ago
Brett Wooldridge dc5771e679 Suppress IDE deprecation warnings. 10 years ago
Brett Wooldridge 94be387dcc Clarify boolean order of operations in getConnection() conditional. Run fillPool() on the caller thread. 10 years ago
Brett Wooldridge 8aa2034709 Fixes #222 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. 10 years ago
Brett Wooldridge f6b0ee5ab9 #215 don't return evicted connections ever 10 years ago
Brett Wooldridge fafcd38a56 Fix #220 continue to override isClosed() ... we had removed it but it should reflect HikariCP's understanding of the closed state rather than delegating to the driver. 10 years ago
Brett Wooldridge 6017c8019b Fix #221 handle getResultSet() 10 years ago
Brett Wooldridge 5de373148c Don't throw exceptions that might disrupt executor threads, but do log. Plus, don't trust nanoTime() implementations on all platforms not to go backwards due to NTP adjustments. 10 years ago
Brett Wooldridge 937923666e Don't reset isNetworkTimeoutSupported here, but do log a warning on exception 10 years ago
Brett Wooldridge c3043d8f9d Re-use the assassin executor. 10 years ago
Brett Wooldridge 96a71da526 If tryAcquireSharedNanos() returns false, we timed out, just return immediately. 10 years ago