KeyPoolBuilder

org.typelevel.keypool.KeyPoolBuilder
See theKeyPoolBuilder companion object
final class KeyPoolBuilder[F[_], A, B]

Attributes

Companion
object
Deprecated
true
Source
KeyPoolBuilder.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def build: Resource[F, KeyPool[F, A, B]]

Attributes

Source
KeyPoolBuilder.scala
def doOnCreate(f: B => F[Unit]): KeyPoolBuilder[F, A, B]

Attributes

Source
KeyPoolBuilder.scala
def doOnDestroy(f: B => F[Unit]): KeyPoolBuilder[F, A, B]

Attributes

Source
KeyPoolBuilder.scala
def withDefaultReuseState(defaultReuseState: Reusable): KeyPoolBuilder[F, A, B]

Attributes

Source
KeyPoolBuilder.scala
def withIdleTimeAllowedInPool(duration: Duration): KeyPoolBuilder[F, A, B]

Attributes

Source
KeyPoolBuilder.scala
def withMaxIdle(maxIdle: Int): KeyPoolBuilder[F, A, B]

Attributes

Source
KeyPoolBuilder.scala
def withMaxPerKey(f: A => Int): KeyPoolBuilder[F, A, B]

Attributes

Source
KeyPoolBuilder.scala
def withMaxTotal(total: Int): KeyPoolBuilder[F, A, B]

Attributes

Source
KeyPoolBuilder.scala
def withOnReaperException(f: Throwable => F[Unit]): KeyPoolBuilder[F, A, B]

Attributes

Source
KeyPoolBuilder.scala

Concrete fields

val idleTimeAllowedInPool: Duration

Attributes

Source
KeyPoolBuilder.scala
val kpCreate: A => F[B]

Attributes

Source
KeyPoolBuilder.scala
val kpDestroy: B => F[Unit]

Attributes

Source
KeyPoolBuilder.scala
val kpMaxIdle: Int

Attributes

Source
KeyPoolBuilder.scala
val kpMaxPerKey: A => Int

Attributes

Source
KeyPoolBuilder.scala
val kpMaxTotal: Int

Attributes

Source
KeyPoolBuilder.scala
val onReaperException: Throwable => F[Unit]

Attributes

Source
KeyPoolBuilder.scala