Commit Graph

2268 Commits (97057a1696a0e52f7a25098c9d1dfbd54fedc7b5)
 

Author SHA1 Message Date
Brett Wooldridge 09ab4fbfa7 Fixes store unique pool number as a String in the global system properties.
Brett Wooldridge 15037cc156 time-out was too tight and causing sporadic travis-ci failures.
Brett Wooldridge 5c8248732b Paternalistic fix for developers with a weak grasp of resource ownership.
Brett Wooldridge 5eebe56dd1 Fixes Synchronise the track statement method, and clearing of the tracked statement list.
Brett Wooldridge 21357a6b08 Fixes Synchronise the untrack statement method to ensure that Statements are independently thread-safe.
Brett Wooldridge bd96f1cca4 Fixes This is a very common condition rather than an "exceptional" one, so log at information level and do not classify as a "failure".
Matthew Tambara d59771cd16 Add test to demonstrate concurrency problem
Brett Wooldridge a7e0d359b0 [maven-release-plugin] prepare for next development iteration
Brett Wooldridge 0b485eb91a [maven-release-plugin] prepare release HikariCP-2.4.4
Brett Wooldridge 3e933042cf prepare for 2.4.4 release
Brett Wooldridge d4fc39cd03 [maven-release-plugin] prepare for next development iteration
Brett Wooldridge c1e69dcf90 [maven-release-plugin] prepare release HikariCP-2.4.4-RC2
Brett Wooldridge 0aff6b4c84 Merge branch 'dev' of https://github.com/brettwooldridge/HikariCP
Nitin 6ed3b18591 small but important fixes
removed var

removed resetting, delink validationTimeout from connectionTimeout

one less ref per leak task. renamed start() to schedule()

made some fields final

init of leakDetectionThreshold is not required for other instances

toString using elapsedDisplayString

fix: update poolEntry.lastBorrowed in case NopMetricsTrackerDelegate

fix tests.. try1

setting isCommitStateDirty conditionally in setAutoCommit()

again, avoid calling getNextException :)

setting lastAccess in close()

setting lastAccess required only in ctor and close

removed borrowed time from PoolEntry#toString()

now that lastAccess is moved to close(), moved condition too

one less call to System.nanoTime()

fix. using toNanos()

reverted toNanos() change, got too cumbersome

removed two calls to system time

timeout is not clock time :)

only one call saved but precise 'time taken to borrow'

unlink validation of connectionTimeout with maxLifetime

Merge

Revert
Brett Wooldridge fc1aea9609 Merge branch 'dev' of https://github.com/nitincchauhan/HikariCP into dev
Brett Wooldridge bbe692e17a Merge pull request from guidomedina/gm-intellij-inspections-and-dependency-updates
IntelliJ inspections fixes and Maven updates
Brett Wooldridge aaea7a5d3b Merge pull request from kleinron/patch-1
Update README.md
Nitin e4b91287cb simplified call to executeSql()
Nitin c7e3a8f6cc moved validateNumerics(), last in validation and is not throwing any
exception
Guido Medina bf83c624ed IntelliJ inspections fixes, Maven dependencies and plugins updated to latest stable.
Nitin 1b1b63fb3e renamed ProxyLeakTask as it has nothing to do with 'proxy'
Ron Klein 1f5b6c72ec Update README.md
typo
Nitin a6486c6417 fix: set last access even for readonly and set isCommitStateDirty wisely
Nitin 4065283619 better variation
Nitin 9d34443031 bug fix: do not call next exception if delegate == closed
Nitin 1a9494596f test failure fix 3
Nitin 5a41fee89b test failure fix 2
Nitin 5238d2d4c4 fix test failure
Nitin bd3e570192 added, corrected validation and test
Nitin 3095b6dc9e avoid re-setting twice in validation
Nitin 7b1301eeec removed unused import
Nitin 47ac982cc3 create leak task first and reverted long to int change
Nitin 2e5dd85133 replaced volatile long with int and import static TimeUnit.*
Nitin 0f75311732 using UNINITIALIZED
Nitin 2b6da07d26 cleanup
Nitin 82f7c15ace changes as suggested
Nitin 838d929067 using 'Failed' like every where else, instead of 'Unable'.
Nitin 6436870bea separate validationTimeout and connectionTimeout and validation, init
networkTimeout only once.
Brett Wooldridge 6e06620976 I didn't like this change, but missed it in the review. Readability over performance in this case. Not to mention that the JVM is likely to hoist the instanceof check and cast out of the loop because it is final invariant.
Brett Wooldridge 1f244af32f Issue Cleanup and additional logging.
Brett Wooldridge fb09f10298 Log a warning (once) when it is not possible to honor a validation timeout of less than 1 second.
Brett Wooldridge 0e3677afa3 Use same terminology as other validation log messages, ie. "is less than" or "is more than".
Brett Wooldridge 6b535d542d Merge branch 'dev' of github.com:nitincchauhan/HikariCP into dev
Nitin e46034f56d bugfix: calling sValid() with 0 is infinite. made minimum 1sec
Brett Wooldridge 62fdb2c6c3 Merge pull request from nitincchauhan/dev
avoid 'more' exceptions after 'un-recoverable' exception thrown before for the connection
Nitin e7da3f5dc7 reverted as suggested
Brett Wooldridge d75c69a51b [maven-release-plugin] prepare for next development iteration
Brett Wooldridge d2a348aee8 [maven-release-plugin] prepare release HikariCP-2.4.4-RC1
Brett Wooldridge d82663b1ca Prepare RC1
Brett Wooldridge af2546b837 Prepare RC1