-
Notifications
You must be signed in to change notification settings - Fork 633
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convenience methods to close SimplePool connections #2258
Commits on May 31, 2024
-
new methods to allow closing connection pool connections either immed…
…iately, or as soon as the connection is no longer borrowed
Michael Christoff committedMay 31, 2024 Configuration menu - View commit details
-
Copy full SHA for afec21d - Browse repository at this point
Copy the full SHA afec21dView commit details -
added documentation to make clear that a connection can no longer be …
…borrowed after a call to restoreAndScheduleClose
Michael Christoff committedMay 31, 2024 Configuration menu - View commit details
-
Copy full SHA for 18961c6 - Browse repository at this point
Copy the full SHA 18961c6View commit details -
fixed bug where immediate-close property was not getting set correctly
Michael Christoff committedMay 31, 2024 Configuration menu - View commit details
-
Copy full SHA for 85f4de7 - Browse repository at this point
Copy the full SHA 85f4de7View commit details -
Michael Christoff committed
May 31, 2024 Configuration menu - View commit details
-
Copy full SHA for ce99bb9 - Browse repository at this point
Copy the full SHA ce99bb9View commit details -
simplify parameter passing to test-caller threads in TestRunner
Michael Christoff committedMay 31, 2024 Configuration menu - View commit details
-
Copy full SHA for 0204d83 - Browse repository at this point
Copy the full SHA 0204d83View commit details -
fix the test class used in new tests
Michael Christoff committedMay 31, 2024 Configuration menu - View commit details
-
Copy full SHA for 182f609 - Browse repository at this point
Copy the full SHA 182f609View commit details -
there is no need for a special mock connection class for these tests.…
… The generic MockKeepAliveConnection class is adequate for this test
Michael Christoff committedMay 31, 2024 Configuration menu - View commit details
-
Copy full SHA for 190d3c0 - Browse repository at this point
Copy the full SHA 190d3c0View commit details -
additional reduction of parameter passing in TestRunner
Michael Christoff committedMay 31, 2024 Configuration menu - View commit details
-
Copy full SHA for 9971964 - Browse repository at this point
Copy the full SHA 9971964View commit details -
simplifying testrunner for new tests
Michael Christoff committedMay 31, 2024 Configuration menu - View commit details
-
Copy full SHA for 742d18d - Browse repository at this point
Copy the full SHA 742d18dView commit details -
changed new methods to NO LONGER restore a connection when safeClosin…
…g or scheduling a safeClose
Michael Christoff committedMay 31, 2024 Configuration menu - View commit details
-
Copy full SHA for 55ee472 - Browse repository at this point
Copy the full SHA 55ee472View commit details -
updated test classes to work with new safeClose and schedule-safeClos…
…e methods
Michael Christoff committedMay 31, 2024 Configuration menu - View commit details
-
Copy full SHA for 073b6a6 - Browse repository at this point
Copy the full SHA 073b6a6View commit details -
add warning that safeClosed or scheduled-safeClosed connectionTokens …
…must still be restored to the ppol
Michael Christoff committedMay 31, 2024 Configuration menu - View commit details
-
Copy full SHA for 2cc9bdf - Browse repository at this point
Copy the full SHA 2cc9bdfView commit details -
sheduleSafeClose -> scheduledSafeClose
Michael Christoff committedMay 31, 2024 Configuration menu - View commit details
-
Copy full SHA for 27ed9c1 - Browse repository at this point
Copy the full SHA 27ed9c1View commit details -
standardize on 8 threads for all mock tests
Michael Christoff committedMay 31, 2024 Configuration menu - View commit details
-
Copy full SHA for f9bf849 - Browse repository at this point
Copy the full SHA f9bf849View commit details -
change method names to present-tense verbs for scheduling safeCloses
Michael Christoff committedMay 31, 2024 Configuration menu - View commit details
-
Copy full SHA for 775609c - Browse repository at this point
Copy the full SHA 775609cView commit details -
fixed logging bug where class connection class was logged rather than…
… connection source-port
Michael Christoff committedMay 31, 2024 Configuration menu - View commit details
-
Copy full SHA for b5d9af2 - Browse repository at this point
Copy the full SHA b5d9af2View commit details -
fixed order of logs - said connection closure was about to happen AFT…
…ER it had already happened
Michael Christoff committedMay 31, 2024 Configuration menu - View commit details
-
Copy full SHA for 6566410 - Browse repository at this point
Copy the full SHA 6566410View commit details -
add log for case when thread requests to remove connection-tracking f…
…or a connection that was already-removed by another thread
Michael Christoff committedMay 31, 2024 Configuration menu - View commit details
-
Copy full SHA for 17d93a9 - Browse repository at this point
Copy the full SHA 17d93a9View commit details -
Michael Christoff committed
May 31, 2024 Configuration menu - View commit details
-
Copy full SHA for c33544d - Browse repository at this point
Copy the full SHA c33544dView commit details -
fixed order of log message indicating that a connection was scheduled…
… for closure
Michael Christoff committedMay 31, 2024 Configuration menu - View commit details
-
Copy full SHA for ad71483 - Browse repository at this point
Copy the full SHA ad71483View commit details -
changed spacing in source code
Michael Christoff committedMay 31, 2024 Configuration menu - View commit details
-
Copy full SHA for 677c2b5 - Browse repository at this point
Copy the full SHA 677c2b5View commit details -
added docs explaining that its NOT required to close connections from…
… the connection token: 'It is NOT necessary to use this method to close connections. SimpleConnectionPool and * SimpleURIConnectionPool are specifically designed to handle unexpected connections closures'
Michael Christoff committedMay 31, 2024 Configuration menu - View commit details
-
Copy full SHA for 8eb8a71 - Browse repository at this point
Copy the full SHA 8eb8a71View commit details -
Michael Christoff committed
May 31, 2024 Configuration menu - View commit details
-
Copy full SHA for 5efcee2 - Browse repository at this point
Copy the full SHA 5efcee2View commit details -
emphasis that users should not use this method unless needed
Michael Christoff committedMay 31, 2024 Configuration menu - View commit details
-
Copy full SHA for bfd881c - Browse repository at this point
Copy the full SHA bfd881cView commit details -
added updated and emphasized warning to schedule-close methods as well
Michael Christoff committedMay 31, 2024 Configuration menu - View commit details
-
Copy full SHA for c51f0ef - Browse repository at this point
Copy the full SHA c51f0efView commit details -
Michael Christoff committed
May 31, 2024 Configuration menu - View commit details
-
Copy full SHA for f953613 - Browse repository at this point
Copy the full SHA f953613View commit details -
Michael Christoff committed
May 31, 2024 Configuration menu - View commit details
-
Copy full SHA for fb263d4 - Browse repository at this point
Copy the full SHA fb263d4View commit details -
made order where call to get 'now' time is made more consistent
Michael Christoff committedMay 31, 2024 Configuration menu - View commit details
-
Copy full SHA for 9b0a3f7 - Browse repository at this point
Copy the full SHA 9b0a3f7View commit details -
update docs to be clearer on appropriate use of safeClose() and sched…
…uleSafeClose()
Michael Christoff committedMay 31, 2024 Configuration menu - View commit details
-
Copy full SHA for 6a6c3f9 - Browse repository at this point
Copy the full SHA 6a6c3f9View commit details -
update docs for safeClose: SimpleUndertowConnectionMaker.instance(), …
…not SimpleUndertowConnectionMaker.getInstance()
Michael Christoff committedMay 31, 2024 Configuration menu - View commit details
-
Copy full SHA for be38df9 - Browse repository at this point
Copy the full SHA be38df9View commit details -
update docs for safeClose: fix code example
Michael Christoff committedMay 31, 2024 Configuration menu - View commit details
-
Copy full SHA for 1ab9a15 - Browse repository at this point
Copy the full SHA 1ab9a15View commit details -
additional tweak / simplication of docs for safeClose() and scheduled…
…SafeClose()
Michael Christoff committedMay 31, 2024 Configuration menu - View commit details
-
Copy full SHA for 6087d57 - Browse repository at this point
Copy the full SHA 6087d57View commit details -
additional tweak / simplication of docs for safeClose() and scheduled…
…SafeClose()
Michael Christoff committedMay 31, 2024 Configuration menu - View commit details
-
Copy full SHA for 67c6665 - Browse repository at this point
Copy the full SHA 67c6665View commit details -
correction in scheduleSafeClose() docs
Michael Christoff committedMay 31, 2024 Configuration menu - View commit details
-
Copy full SHA for b259edd - Browse repository at this point
Copy the full SHA b259eddView commit details -
small formatting update to the docs for safeClose() and scheduleSafeC…
…lose()
Michael Christoff committedMay 31, 2024 Configuration menu - View commit details
-
Copy full SHA for 24ed8f5 - Browse repository at this point
Copy the full SHA 24ed8f5View commit details -
changed formatting of docs for safeClose() and scheduleSafeClose(). A…
…lso, clarified / cleaned code for safeClose()
Michael Christoff committedMay 31, 2024 Configuration menu - View commit details
-
Copy full SHA for d187a7f - Browse repository at this point
Copy the full SHA d187a7fView commit details -
capitalized some log messages for consistency
Michael Christoff committedMay 31, 2024 Configuration menu - View commit details
-
Copy full SHA for 235574a - Browse repository at this point
Copy the full SHA 235574aView commit details
Commits on Jun 6, 2024
-
made order where call to get 'now' time is made more consistent in sc…
…heduleSafeClose()
Michael Christoff committedJun 6, 2024 Configuration menu - View commit details
-
Copy full SHA for 30ff58d - Browse repository at this point
Copy the full SHA 30ff58dView commit details
Commits on Jun 12, 2024
-
(1) skip safeClose() and scheduleSafeClose() tests if connectionToken…
… is null, and (2) rename randomReconnectJitterMs -> randomWaitTimeJitterMs for consistency in the wait() method
Michael Christoff committedJun 12, 2024 Configuration menu - View commit details
-
Copy full SHA for 7da1745 - Browse repository at this point
Copy the full SHA 7da1745View commit details