(->fixed_controller2060 max-objects-per-key max-objects)
Positional factory function for class biiwide.deepend.alpha.pool.fixed_controller2060.
Positional factory function for class biiwide.deepend.alpha.pool.fixed_controller2060.
(->utilization_controller2021 target-utilization
max-objects-per-key
max-objects)
Positional factory function for class biiwide.deepend.alpha.pool.utilization_controller2021.
Positional factory function for class biiwide.deepend.alpha.pool.utilization_controller2021.
(acquire! pool key)
Acquire an object from a pool for a key.
Acquire an object from a pool for a key.
(async-acquire! pool key callback)
Asynchronously acquire and use an object from a pool for a key
Asynchronously acquire and use an object from a pool for a key
(defcontroller name fields & body)
Define Controller class: (defcontroller name [fields] (increment? [key key-objects total-objects] ...) (adjustment [stats-map] ...))
Define Controller class: (defcontroller name [fields] (increment? [key key-objects total-objects] ...) (adjustment [stats-map] ...))
(defgenerator name fields & body)
Define a Generator class: (defgenerator name [fields] (generate [key] ...) (destroy [key obj] ...))
Define a Generator class: (defgenerator name [fields] (generate [key] ...) (destroy [key obj] ...))
(dispose! pool key obj)
Dispose of an object for a key from a pool. Returns the pool.
Dispose of an object for a key from a pool. Returns the pool.
(map->fixed_controller2060 m__7585__auto__)
Factory function for class biiwide.deepend.alpha.pool.fixed_controller2060, taking a map of keywords to field values.
Factory function for class biiwide.deepend.alpha.pool.fixed_controller2060, taking a map of keywords to field values.
(map->utilization_controller2021 m__7585__auto__)
Factory function for class biiwide.deepend.alpha.pool.utilization_controller2021, taking a map of keywords to field values.
Factory function for class biiwide.deepend.alpha.pool.utilization_controller2021, taking a map of keywords to field values.
(release! pool key obj)
Release an object for a key back to a pool. Returns the pool.
Release an object for a key back to a pool. Returns the pool.
(simple-checked-pool
delegate-pool
healthy?
{:keys [check-on-acquire check-on-release max-acquire-attempts]
:or {check-on-acquire true check-on-release true max-acquire-attempts 4}})
(utilization-controller target-utilization max-objects-per-key max-objects)
(with-pool binding & body)
Construct and use a pool within a scope. Shuts down the pool when finished.
Construct and use a pool within a scope. Shuts down the pool when finished.
(with-resource binding & body)
Acquire, Bind, & Release a pooled object within a scope. (with-resource [obj pool key] ...)
Acquire, Bind, & Release a pooled object within a scope. (with-resource [obj pool key] ...)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close