You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Classes Pool and Pool.Entry are concrete classes and as such difficult to extend/wrap.
In light of #9148, we need to review these classes and possibly make them interfaces, so it would be easier to inject different implementations, or to wrap an implementation with another.
The text was updated successfully, but these errors were encountered:
* Fixes#9210 - Jetty 12 - Review Pool and Pool.Entry
* Extracted interface Pool, renamed implementation to ConcurrentPool.
* Extracted Pool.Entry as interface.
* Moved StrategyType to ConcurrentPool.
* Made Pool.Factory.wrap() work in order to wrap Pool instances.
* Removed constructors that were explicitly taking Pool parameters, replaced by a single Pool.Factory parameter.
* Added javadocs.
Signed-off-by: Simone Bordet <[email protected]>
Jetty version(s)
12+
Description
Classes
Pool
andPool.Entry
are concrete classes and as such difficult to extend/wrap.In light of #9148, we need to review these classes and possibly make them interfaces, so it would be easier to inject different implementations, or to wrap an implementation with another.
The text was updated successfully, but these errors were encountered: