package pool
Type Members
- class BufferingPool[Req, Rep] extends ServiceFactoryProxy[Req, Rep]
Buffers up to
size
connections and produces/closes new ones beyond that limit.Buffers up to
size
connections and produces/closes new ones beyond that limit.- See also
The user guide for more details.
- class SingletonPool[Req, Rep] extends ServiceFactory[Req, Rep]
A pool that maintains at most one service from the underlying ServiceFactory -- concurrent leases share the same, cached service.
A pool that maintains at most one service from the underlying ServiceFactory -- concurrent leases share the same, cached service. A new Service is established whenever the service factory fails or the current service has become unavailable.
- final class WatermarkPool[Req, Rep] extends ServiceFactory[Req, Rep]
The watermark pool is an object pool with low & high watermarks.
The watermark pool is an object pool with low & high watermarks. It keeps the number of services from a given service factory in a certain range.
This behaves as follows: the pool will persist up to the low watermark number of items (as long as they have been created), and won't start queueing requests until the high watermark has been reached. Put another way: up to
lowWatermark' items may persist indefinitely, while there are at no times more than
highWatermark' items in concurrent existence.- See also
The user guide for more details.