Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Speculative idea to make a pluggable Pool strategy Signed-off-by: Greg Wilkins <gregw@webtide.com> * Speculative idea to make a pluggable Pool strategy + javadoc Signed-off-by: Greg Wilkins <gregw@webtide.com> * Speculative idea to make a pluggable Pool strategy + Added a ThreadLocalStrategy for a single cached item + Tell strategies about newly reserved entries + Fixed multiplexing test that was dependent on the impl of the cache Signed-off-by: Greg Wilkins <gregw@webtide.com> * Speculative idea to make a pluggable Pool strategy + added tests Signed-off-by: Greg Wilkins <gregw@webtide.com> * Feedback from review + Don't have a fallback iteration, instead make a SearchStrategy and DualStrategy * Feedback from review + split strategies into Cache and Strategies * Feedback from review + Added reserve and release * Improved Pool Strategies: + reverted to post notifications for removed, reserved and released. + Added a few more strategies that need to be benchmarked, that use the list iterator. Signed-off-by: Greg Wilkins <gregw@webtide.com> * Testing all the different strategies Signed-off-by: Greg Wilkins <gregw@webtide.com> * More simplifications and made LRU work (ish) Signed-off-by: Greg Wilkins <gregw@webtide.com> * javadoc * More javadoc Signed-off-by: Greg Wilkins <gregw@webtide.com> * JMH Test Signed-off-by: Greg Wilkins <gregw@webtide.com> * one strategy Signed-off-by: gregw <gregw@webtide.com> * test Signed-off-by: gregw <gregw@webtide.com> * Split implementations: + pluggable strategies + hard coded Signed-off-by: Greg Wilkins <gregw@webtide.com> * More benchmarks * Built in strategy * removed strategies version and simplified to single configurable solution. Signed-off-by: Greg Wilkins <gregw@webtide.com> * updates from review Signed-off-by: Greg Wilkins <gregw@webtide.com> * better javadoc Signed-off-by: Greg Wilkins <gregw@webtide.com> * Updated ConnectionPool classes to use Pool strategies * Small javadocs fixes. Signed-off-by: Simone Bordet <simone.bordet@gmail.com> * Updates from review * javadoc Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
- Loading branch information
Showing
11 changed files
with
523 additions
and
315 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
79 changes: 0 additions & 79 deletions
79
jetty-client/src/main/java/org/eclipse/jetty/client/IndexedConnectionPool.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.