Liking cljdoc? Tell your friends :D

qbits.alia.policy.reconnection

Policy that decides how often the reconnection to a dead node is attempted.

Policy that decides how often the reconnection to a dead node is
attempted.
raw docstring

constant-reconnection-policyclj

(constant-reconnection-policy constant-delay-ms)

A reconnection policy that waits a constant time between each reconnection attempt.

A reconnection policy that waits a constant time between each reconnection
attempt.
raw docstring

exponential-reconnection-policyclj

(exponential-reconnection-policy base-delay-ms max-delay-ms)

A reconnection policy that waits exponentially longer between each reconnection attempt (but keeps a constant delay once a maximum delay is reached).

A reconnection policy that waits exponentially longer between each
reconnection attempt (but keeps a constant delay once a maximum delay is
reached).
raw docstring

makecljmultimethod


map->constant-reconnection-policyclj

(map->constant-reconnection-policy {:keys [constant-delay-ms]})

map->exponential-reconnection-policyclj

(map->exponential-reconnection-policy {:keys [base-delay-ms max-delay-ms]})

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

× close