Build: #48 was successful Changes by Simon Basle

Build result summary

Details

Completed
Duration
2 minutes
Labels
None
Agent
bamboo-16.af.pivotal.io
Revision
740b55bf3dc1860ea4adf69a4c8e291e312a3048 740b55bf3dc1860ea4adf69a4c8e291e312a3048
Total tests
175
Successful since
#38 ()

Tests

  • 0 New failures
  • 0 Existing failures
  • 0 Fixed

Code commits

Author Commit Message Commit date
Simon Basle Simon Basle 740b55bf3dc1860ea4adf69a4c8e291e312a3048 740b55bf3dc1860ea4adf69a4c8e291e312a3048 fix #51 Expose PoolConfig, rework PoolBuilder with factory (#55)
This commit heavily reworks how the PoolBuilder is producing
a PoolConfig (internally) and then a concrete Pool instance.

The goal is to open the builder for cases where implementations
would be provided by external projects (eg. a netty event-loop
aware implementation for a project that pools netty connections).

One can pass a factory Function to the builder to create such
a custom pool, possibly also switching the builder to a custom
type of configuration beforehand. As a result, the
DefaultPoolConfig has been made public, extracting a PoolConfig
interface.

As a shorthand for the `build(Function)` that produces
reactor-pool vanilla implementations, we now expose `lifo()` and
`fifo()`, which are now the two out-of-the-box provided flavors.
These are explicitly marked as returning an `InstrumentedPool`.