Pool
skunk.util.Pool$
object Pool
Attributes
- Source:
- Pool.scala
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- Pool.type
A pooled resource (which is itself a managed resource).
A pooled resource (which is itself a managed resource).
a cleanup/health-check to be done before elements are returned to the pool; yielding false here means the element should be freed and removed from the pool.
the underlying resource to be pooled
maximum size of the pool (must be positive)