PartitionedConnectionPool
class PartitionedConnectionPool[T <: Connection](factory: ObjectFactory[T], configuration: PoolConfiguration, numberOfPartitions: Int, executionContext: ExecutionContext) extends PartitionedAsyncObjectPool[T] with Connection
trait Connection
class PartitionedAsyncObjectPool[T]
trait AsyncObjectPool[T]
class Object
trait Matchable
class Any
Value members
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