File tree Expand file tree Collapse file tree
core/src/main/scala/org/typelevel/keypool Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ import org.typelevel.keypool.internal._
3535 * A background reaper thread is kept alive for the length of the key pool's life.
3636 *
3737 * When resources are taken from the pool they are received as a [[Managed ]]. This [[Managed ]] has a
38- * [[ Ref ]] to a [[Reusable ]] which indicates whether the pool can reuse the resource.
38+ * ` Ref` to a [[Reusable ]] which indicates whether the pool can reuse the resource.
3939 *
4040 * Unlike [[Pool ]], which is a single-key convenience wrapper, `KeyPool` partitions resources by a
4141 * user-provided key type `A` and enforces per-key limits and accounting.
@@ -377,8 +377,8 @@ object KeyPool {
377377
378378 /**
379379 * Set the default [[Reusable ]] state applied when resources are returned to the pool. This
380- * default can be overridden per-resource via [[Managed.canBeReused ]] from [[ KeyPool.take ]]. If
381- * not configured, the default is [[Reusable.Reuse ]].
380+ * default can be overridden per-resource via [[Managed.canBeReused ]] from
381+ * [[ KeyPool.take(k:A)* KeyPool.take ]]. If not configured, the default is [[Reusable.Reuse ]].
382382 *
383383 * @param defaultReuseState
384384 * whether resources returned to the pool should be reused ([[Reusable.Reuse ]]) or destroyed
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ import scala.concurrent.duration._
3333 * A background reaper thread is kept alive for the length of the pool's life.
3434 *
3535 * When resources are taken from the pool they are received as a [[Managed ]]. This [[Managed ]] has a
36- * [[ Ref ]] to a [[Reusable ]] which indicates whether the pool can reuse the resource.
36+ * ` Ref` to a [[Reusable ]] which indicates whether the pool can reuse the resource.
3737 *
3838 * `Pool` is a convenience, single-key specialization of [[KeyPool ]] that does not partition
3939 * resources by key and exposes simpler `take`/`state` APIs.
You can’t perform that action at this time.
0 commit comments