PartitionedAsyncObjectPool
class PartitionedAsyncObjectPool[T](factory: ObjectFactory[T], configuration: PoolConfiguration, numberOfPartitions: Int) extends AsyncObjectPool[T]
Value members
Concrete methods
Inherited methods
Retrieve and use an object from the pool for a single computation, returning it when the operation completes.
Retrieve and use an object from the pool for a single computation, returning it when the operation completes.
- Value Params
- f
function that uses the object
- Returns
f wrapped with take and giveBack
- Inherited from
- AsyncObjectPool