Liking cljdoc? Tell your friends :D

biiwide.deepend.alpha.pool


->fixed_controller2022clj

(->fixed_controller2022 max-objects-per-key max-objects-total)

Positional factory function for class biiwide.deepend.alpha.pool.fixed_controller2022.

Positional factory function for class biiwide.deepend.alpha.pool.fixed_controller2022.
sourceraw docstring

->utilization_controller1990clj

(->utilization_controller1990 target-utilization
                              max-objects-per-key
                              max-objects-total)

Positional factory function for class biiwide.deepend.alpha.pool.utilization_controller1990.

Positional factory function for class biiwide.deepend.alpha.pool.utilization_controller1990.
sourceraw docstring

acquire!clj

(acquire! pool key)

Acquire an object from a pool for a key.

Acquire an object from a pool for a key.
sourceraw docstring

acquire-callbackcljmacro

(acquire-callback single-binding & body)
source

async-acquire!clj

(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
sourceraw docstring

callback*clj

(callback* callback-fn)
source

callback?clj

(callback? x)
source

controllerclj

(controller increment? adjust)
source

controller?clj

(controller? x)
source

defcontrollercljmacro

(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]
    ...))
sourceraw docstring

defgeneratorcljmacro

(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]
    ...))
sourceraw docstring

dispose!clj

(dispose! pool key obj)

Dispose of an object for a key from a pool.

Dispose of an object for a key from a pool.
sourceraw docstring

fixed-controllerclj

(fixed-controller max-objects-per-key max-objects-total)
source

generatorclj

(generator generate destroy)
source

generator?clj

(generator? x)
source

map->fixed_controller2022clj

(map->fixed_controller2022 m__7585__auto__)

Factory function for class biiwide.deepend.alpha.pool.fixed_controller2022, taking a map of keywords to field values.

Factory function for class biiwide.deepend.alpha.pool.fixed_controller2022, taking a map of keywords to field values.
sourceraw docstring

map->utilization_controller1990clj

(map->utilization_controller1990 m__7585__auto__)

Factory function for class biiwide.deepend.alpha.pool.utilization_controller1990, taking a map of keywords to field values.

Factory function for class biiwide.deepend.alpha.pool.utilization_controller1990, taking a map of keywords to field values.
sourceraw docstring

poolclj

(pool pool-options)
source

pool?clj

(pool? x)
source

release!clj

(release! pool key obj)

Release an object for a key back to a pool.

Release an object for a key back to a pool.
sourceraw docstring

shutdown!clj

(shutdown! pool)

Shutdown a pool.

Shutdown a pool.
sourceraw docstring

simple-checked-poolclj

(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}})
source

utilization-controllerclj

(utilization-controller target-utilization
                        max-objects-per-key
                        max-objects-total)
source

with-poolcljmacro

(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.
sourceraw docstring

with-resourcecljmacro

(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]
  ...)
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close